openh264 icon indicating copy to clipboard operation
openh264 copied to clipboard

Buffer for a decoder

Open octalflow opened this issue 11 years ago • 2 comments

Is it possible to set output yuv buffers for a decoder ? There is no need to copy yuv to my own buffer if I can set the yuv buffer. BTW, Why the openh264 preserve 3 yuv buffers for a decoder ? thank you.

octalflow avatar May 05 '15 07:05 octalflow

Not sure if I completely got what you mean. I assume you want to give a buffer yourself for the decoder. However, it is not supported. A copy operation is must whatever in outer decoder (current implementation) or inner decoder (your assumption?). for 3 yuv buffers, it was designed that YUV components can be independently stored, and also it is reserved for possible RGB or other color space formats.

huili2 avatar May 06 '15 00:05 huili2

Thank you for answer.

octalflow avatar May 06 '15 00:05 octalflow