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

Unified Diff: cc/quads/yuv_video_draw_quad.h

Issue 92703003: Support videos with JPEG color range in GPU YUV convert path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@yuv_v2
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
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/quads/yuv_video_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/yuv_video_draw_quad.h
diff --git a/cc/quads/yuv_video_draw_quad.h b/cc/quads/yuv_video_draw_quad.h
index aa750fa8ba91a510cfcacd37726eabda3272e2f4..4830d658d29287134ac7d4f819f45f24d425113f 100644
--- a/cc/quads/yuv_video_draw_quad.h
+++ b/cc/quads/yuv_video_draw_quad.h
@@ -26,7 +26,8 @@ class CC_EXPORT YUVVideoDrawQuad : public DrawQuad {
unsigned y_plane_resource_id,
unsigned u_plane_resource_id,
unsigned v_plane_resource_id,
- unsigned a_plane_resource_id);
+ unsigned a_plane_resource_id,
+ bool jpeg_color_range);
danakj 2013/12/03 00:31:47 This change should be represented in cc_messages.h
void SetAll(const SharedQuadState* shared_quad_state,
gfx::Rect rect,
@@ -37,13 +38,15 @@ class CC_EXPORT YUVVideoDrawQuad : public DrawQuad {
unsigned y_plane_resource_id,
unsigned u_plane_resource_id,
unsigned v_plane_resource_id,
- unsigned a_plane_resource_id);
+ unsigned a_plane_resource_id,
+ bool jpeg_color_range);
gfx::SizeF tex_scale;
unsigned y_plane_resource_id;
unsigned u_plane_resource_id;
unsigned v_plane_resource_id;
unsigned a_plane_resource_id;
+ bool jpeg_color_range;
virtual void IterateResources(const ResourceIteratorCallback& callback)
OVERRIDE;
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/quads/yuv_video_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698