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

Unified Diff: cc/output/shader.h

Issue 1008493002: Increase YUV video clamping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/renderer_pixeltest.cc ('k') | cc/output/shader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/shader.h
diff --git a/cc/output/shader.h b/cc/output/shader.h
index 561fe28d1049224634025531f857c3e9a52b4fa5..dcc01e2aec4b4b6ef69b12a821d3756271b4bf00 100644
--- a/cc/output/shader.h
+++ b/cc/output/shader.h
@@ -774,7 +774,8 @@ class FragmentShaderYUVVideo : public FragmentTexBlendMode {
int alpha_location() const { return alpha_location_; }
int yuv_matrix_location() const { return yuv_matrix_location_; }
int yuv_adj_location() const { return yuv_adj_location_; }
- int clamp_rect_location() const { return clamp_rect_location_; }
+ int ya_clamp_rect_location() const { return ya_clamp_rect_location_; }
+ int uv_clamp_rect_location() const { return uv_clamp_rect_location_; }
private:
int y_texture_location_;
@@ -783,7 +784,8 @@ class FragmentShaderYUVVideo : public FragmentTexBlendMode {
int alpha_location_;
int yuv_matrix_location_;
int yuv_adj_location_;
- int clamp_rect_location_;
+ int ya_clamp_rect_location_;
+ int uv_clamp_rect_location_;
DISALLOW_COPY_AND_ASSIGN(FragmentShaderYUVVideo);
};
@@ -807,7 +809,8 @@ class FragmentShaderYUVAVideo : public FragmentTexBlendMode {
int alpha_location() const { return alpha_location_; }
int yuv_matrix_location() const { return yuv_matrix_location_; }
int yuv_adj_location() const { return yuv_adj_location_; }
- int clamp_rect_location() const { return clamp_rect_location_; }
+ int ya_clamp_rect_location() const { return ya_clamp_rect_location_; }
+ int uv_clamp_rect_location() const { return uv_clamp_rect_location_; }
private:
int y_texture_location_;
@@ -817,7 +820,8 @@ class FragmentShaderYUVAVideo : public FragmentTexBlendMode {
int alpha_location_;
int yuv_matrix_location_;
int yuv_adj_location_;
- int clamp_rect_location_;
+ int ya_clamp_rect_location_;
+ int uv_clamp_rect_location_;
DISALLOW_COPY_AND_ASSIGN(FragmentShaderYUVAVideo);
};
« no previous file with comments | « cc/output/renderer_pixeltest.cc ('k') | cc/output/shader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698