diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-11-18 00:48:24 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-11-18 00:48:24 +0000 |
commit | 56fe4dc391b78c93c63c41052ec0a12f718c55da (patch) | |
tree | 89607d2bf3bd682f9f5a01e6c5827f1fda09ef4f /src | |
parent | a4e65d69dc745a78fb3dbcbb0ee194e1b6877c5d (diff) |
fix comments about Cr==V, Cb==U
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/texformat_tmp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texformat_tmp.h b/src/mesa/main/texformat_tmp.h index b0af8b879b..14eb0463ab 100644 --- a/src/mesa/main/texformat_tmp.h +++ b/src/mesa/main/texformat_tmp.h @@ -337,9 +337,9 @@ static void FETCH(ycbcr_rev)( const struct gl_texture_image *texImage, const GLushort *src0 = USHORT_SRC( texImage, (i & ~1), j, k ); /* even */ const GLushort *src1 = src0 + 1; /* odd */ const GLubyte y0 = *src0 & 0xff; /* luminance */ - const GLubyte cr = (*src0 >> 8) & 0xff; /* chroma U */ + const GLubyte cr = (*src0 >> 8) & 0xff; /* chroma V */ const GLubyte y1 = *src1 & 0xff; /* luminance */ - const GLubyte cb = (*src1 >> 8) & 0xff; /* chroma V */ + const GLubyte cb = (*src1 >> 8) & 0xff; /* chroma U */ GLchan *rgba = (GLchan *) texel; GLint r, g, b; if (i & 1) { |