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

Unified Diff: media/base/simd/convert_yuv_to_rgb.h

Issue 88403004: Add plumbing for video pixel formats with JPEG color range. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: \ Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: media/base/simd/convert_yuv_to_rgb.h
diff --git a/media/base/simd/convert_yuv_to_rgb.h b/media/base/simd/convert_yuv_to_rgb.h
index 2991d562af088558a2de510bd2ed13c078b35df8..ec54cfc3be4ac7eb053df753f2131e03c9b71fdb 100644
--- a/media/base/simd/convert_yuv_to_rgb.h
+++ b/media/base/simd/convert_yuv_to_rgb.h
@@ -22,7 +22,8 @@ MEDIA_EXPORT void ConvertYUVToRGB32_C(const uint8* yplane,
int ystride,
int uvstride,
int rgbstride,
- YUVType yuv_type);
+ YUVType yuv_type,
+ YUVRange yuv_range);
MEDIA_EXPORT void ConvertYUVToRGB32Row_C(const uint8* yplane,
const uint8* uplane,
@@ -41,7 +42,8 @@ MEDIA_EXPORT void ConvertYUVAToARGB_C(const uint8* yplane,
int uvstride,
int avstride,
int rgbstride,
- YUVType yuv_type);
+ YUVType yuv_type,
+ YUVRange yuv_range);
MEDIA_EXPORT void ConvertYUVAToARGBRow_C(const uint8* yplane,
const uint8* uplane,
@@ -59,7 +61,8 @@ MEDIA_EXPORT void ConvertYUVToRGB32_SSE(const uint8* yplane,
int ystride,
int uvstride,
int rgbstride,
- YUVType yuv_type);
+ YUVType yuv_type,
+ YUVRange yuv_range);
MEDIA_EXPORT void ConvertYUVToRGB32_MMX(const uint8* yplane,
const uint8* uplane,
@@ -70,7 +73,8 @@ MEDIA_EXPORT void ConvertYUVToRGB32_MMX(const uint8* yplane,
int ystride,
int uvstride,
int rgbstride,
- YUVType yuv_type);
+ YUVType yuv_type,
+ YUVRange yuv_range);
MEDIA_EXPORT void ConvertYUVAToARGB_MMX(const uint8* yplane,
const uint8* uplane,
@@ -83,7 +87,8 @@ MEDIA_EXPORT void ConvertYUVAToARGB_MMX(const uint8* yplane,
int uvstride,
int avstride,
int rgbstride,
- YUVType yuv_type);
+ YUVType yuv_type,
+ YUVRange yuv_range);
MEDIA_EXPORT void ScaleYUVToRGB32Row_C(const uint8* y_buf,
const uint8* u_buf,

Powered by Google App Engine
This is Rietveld 408576698