[Bug 747408] vtdec: vtdec ! glimagesync broken on OS X

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 8 09:04:36 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747408

Ilya Konstantinov <ilya.konstantinov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alessandro.d at gmail.com

--- Comment #2 from Ilya Konstantinov <ilya.konstantinov at gmail.com> ---
Note the following from the Video Toolbox WWDC lecture:

"But let's say you were possessed to add BGRA request to your
PixelBufferAttributes.

So just like before, the decoder inside of our VTDecompressionSession will
decode to a YUV format and will ask whether this CVPixelBuffer is compatible
with the requested output requirements.

And it is OpenGL ES compatible, but it's certainly not BGRA.

So it will need to do an extra buffer copy to convert that YUV data to BGRA
data.

So extra buffer copies are bad.

They decrease efficiency and they can lead to decreased battery life."

Basically, he's saying that the native format is YUV, and specifying BGRA will
cause a conversion and a buffer copy. Therefore, we should strive to have
glimagesink draw YUV rather than ask vtdec to decode to BGRA.

(Ditto in avfvideosrc ! glimagesink, probably.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list