> However, the decoded frameYUV->data is of type uint8_t, and I would expect
> to get something able to store 10bit values like a uint16_t. So, what is
> returned in this 8bit array in this case? How can I proceed to get the 10bit
> values?

Just cast the buffer.

uint16_t* planes[3] = {(uint16_t*)frameYUV->data[0],
(uint16_t*)frameYUV->data[1], (uint16_t*)frameYUV->data[2]};

--Michael
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to