Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Side by Side Diff: talk/session/media/planarfunctions_unittest.cc

Issue 1587193006: Move talk/media to webrtc/media (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased to b647aca12a884a13c1728118586245399b55fa3d (#11493) Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « talk/session/media/mediasession_unittest.cc ('k') | talk/session/media/rtcpmuxfilter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 14 matching lines...) Expand all
25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #include <string> 28 #include <string>
29 29
30 #include "libyuv/convert.h" 30 #include "libyuv/convert.h"
31 #include "libyuv/convert_from.h" 31 #include "libyuv/convert_from.h"
32 #include "libyuv/convert_from_argb.h" 32 #include "libyuv/convert_from_argb.h"
33 #include "libyuv/mjpeg_decoder.h" 33 #include "libyuv/mjpeg_decoder.h"
34 #include "libyuv/planar_functions.h" 34 #include "libyuv/planar_functions.h"
35 #include "talk/media/base/testutils.h"
36 #include "talk/media/base/videocommon.h"
37 #include "webrtc/base/flags.h" 35 #include "webrtc/base/flags.h"
38 #include "webrtc/base/gunit.h" 36 #include "webrtc/base/gunit.h"
39 #include "webrtc/base/scoped_ptr.h" 37 #include "webrtc/base/scoped_ptr.h"
38 #include "webrtc/media/base/testutils.h"
39 #include "webrtc/media/base/videocommon.h"
40 40
41 // Undefine macros for the windows build. 41 // Undefine macros for the windows build.
42 #undef max 42 #undef max
43 #undef min 43 #undef min
44 44
45 using cricket::DumpPlanarYuvTestImage; 45 using cricket::DumpPlanarYuvTestImage;
46 46
47 DEFINE_bool(planarfunctions_dump, false, 47 DEFINE_bool(planarfunctions_dump, false,
48 "whether to write out scaled images for inspection"); 48 "whether to write out scaled images for inspection");
49 DEFINE_int(planarfunctions_repeat, 1, 49 DEFINE_int(planarfunctions_repeat, 1,
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 // Parameter Test: The parameter is the unalignment offset. 933 // Parameter Test: The parameter is the unalignment offset.
934 // Aligned data for testing assembly versions. 934 // Aligned data for testing assembly versions.
935 INSTANTIATE_TEST_CASE_P(PlanarFunctionsAligned, PlanarFunctionsTest, 935 INSTANTIATE_TEST_CASE_P(PlanarFunctionsAligned, PlanarFunctionsTest,
936 ::testing::Values(0)); 936 ::testing::Values(0));
937 937
938 // Purposely unalign the output argb pointer to test slow path (C version). 938 // Purposely unalign the output argb pointer to test slow path (C version).
939 INSTANTIATE_TEST_CASE_P(PlanarFunctionsMisaligned, PlanarFunctionsTest, 939 INSTANTIATE_TEST_CASE_P(PlanarFunctionsMisaligned, PlanarFunctionsTest,
940 ::testing::Values(1)); 940 ::testing::Values(1));
941 941
942 } // namespace cricket 942 } // namespace cricket
OLDNEW
« no previous file with comments | « talk/session/media/mediasession_unittest.cc ('k') | talk/session/media/rtcpmuxfilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698