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

Side by Side Diff: media/base/simd/convert_rgb_to_yuv.h

Issue 2694113002: Delete media/base/yuv_convert and dependents. Prefer libyuv. (Closed)
Patch Set: Fix media_unittests. Created 3 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 | « media/base/media.cc ('k') | media/base/simd/convert_rgb_to_yuv_c.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_BASE_SIMD_CONVERT_RGB_TO_YUV_H_
6 #define MEDIA_BASE_SIMD_CONVERT_RGB_TO_YUV_H_
7
8 #include <stdint.h>
9
10 #include "media/base/yuv_convert.h"
11
12 namespace media {
13
14 // These methods are exported for testing purposes only. Library users should
15 // only call the methods listed in yuv_convert.h.
16
17 MEDIA_EXPORT void ConvertRGB32ToYUV_SSSE3(const uint8_t* rgbframe,
18 uint8_t* yplane,
19 uint8_t* uplane,
20 uint8_t* vplane,
21 int width,
22 int height,
23 int rgbstride,
24 int ystride,
25 int uvstride);
26
27 MEDIA_EXPORT void ConvertRGB24ToYUV_SSSE3(const uint8_t* rgbframe,
28 uint8_t* yplane,
29 uint8_t* uplane,
30 uint8_t* vplane,
31 int width,
32 int height,
33 int rgbstride,
34 int ystride,
35 int uvstride);
36
37 MEDIA_EXPORT void ConvertRGB32ToYUV_SSE2(const uint8_t* rgbframe,
38 uint8_t* yplane,
39 uint8_t* uplane,
40 uint8_t* vplane,
41 int width,
42 int height,
43 int rgbstride,
44 int ystride,
45 int uvstride);
46
47 MEDIA_EXPORT void ConvertRGB32ToYUV_SSE2_Reference(const uint8_t* rgbframe,
48 uint8_t* yplane,
49 uint8_t* uplane,
50 uint8_t* vplane,
51 int width,
52 int height,
53 int rgbstride,
54 int ystride,
55 int uvstride);
56
57 MEDIA_EXPORT void ConvertRGB32ToYUV_C(const uint8_t* rgbframe,
58 uint8_t* yplane,
59 uint8_t* uplane,
60 uint8_t* vplane,
61 int width,
62 int height,
63 int rgbstride,
64 int ystride,
65 int uvstride);
66
67 MEDIA_EXPORT void ConvertRGB24ToYUV_C(const uint8_t* rgbframe,
68 uint8_t* yplane,
69 uint8_t* uplane,
70 uint8_t* vplane,
71 int width,
72 int height,
73 int rgbstride,
74 int ystride,
75 int uvstride);
76
77 } // namespace media
78
79 #endif // MEDIA_BASE_SIMD_CONVERT_RGB_TO_YUV_H_
OLDNEW
« no previous file with comments | « media/base/media.cc ('k') | media/base/simd/convert_rgb_to_yuv_c.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698