RESOLVED WONTFIX 47283
[Chromium] Use RGBA instead of Luminance textures for YUV2RGB conversion
https://bugs.webkit.org/show_bug.cgi?id=47283
Summary [Chromium] Use RGBA instead of Luminance textures for YUV2RGB conversion
Victoria Kirst
Reported 2010-10-06 11:09:14 PDT
Use RGBA instead of Luminance textures for YUV2RGB conversion
Attachments
Patch (15.77 KB, patch)
2010-10-06 11:19 PDT, Victoria Kirst
no flags
Patch (15.84 KB, patch)
2010-10-06 14:56 PDT, Victoria Kirst
no flags
Victoria Kirst
Comment 1 2010-10-06 11:19:53 PDT
Kenneth Russell
Comment 2 2010-10-06 11:42:16 PDT
Comment on attachment 69965 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=69965&action=review > WebCore/platform/graphics/chromium/VideoLayerChromium.cpp:113 > + " vec4 attrib_y = attrib_matrix[y_index]; \n" FYI, this indexing operation is not guaranteed to work on OpenGL ES 2.0 hardware. If you look at http://www.khronos.org/registry/gles/specs/2.0/GLSL_ES_Specification_1.0.17.pdf , Appendix A, Section 5, you will see that the only requirement is to support indexing expressions involving constants and loop indices. Is it possible to rephrase this logic (tersely) to work within this restriction?
Victoria Kirst
Comment 3 2010-10-06 14:54:54 PDT
(In reply to comment #2) > FYI, this indexing operation is not guaranteed to work on OpenGL ES 2.0 hardware. Thanks for the info! I have figured out a terse way to do it using only vectors and math, but it is pretty mathy :) I can upload the patch!
Victoria Kirst
Comment 4 2010-10-06 14:56:49 PDT
Hin-Chung Lam
Comment 5 2010-10-06 16:40:18 PDT
Comment on attachment 69995 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=69995&action=review > WebKit/chromium/src/VideoFrameChromiumImpl.cpp:119 > + unsigned packedWidth = (stride(plane) + 3) / 4; Do so will affect the code path for rendering textures directly. I think this method is more getting the properties of a video frame, the logic for getting the texture width should really be in VideoLayerChromium.
Kenneth Russell
Comment 6 2010-12-29 18:23:50 PST
Victoria, is this patch still current and are you still looking for review?
Adam Barth
Comment 7 2011-01-12 16:33:14 PST
Comment on attachment 69995 [details] Patch Clearing the review flag while we wait for a response to kbr's question above. Please feel free to re-nominate this patch if you'd like it reviewed.
Victoria Kirst
Comment 8 2011-01-12 18:02:29 PST
No need to review! Patch no longer relevant. Thanks for the reminder!
Note You need to log in before you can comment on or make changes to this bug.