[Libav-user] Macroblock pixel's values

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Apr 9 16:23:19 EEST 2019


2019-04-08 14:40 GMT+02:00, NDJORE BORIS <ndjoreboris at gmail.com>:
> Hello all,
>
> I want to know if it is possible to have YUV value for a
> given macroblock in a
> yuv420p frame. If yes, please tells me how we can do it.
>
> In details what I want to do is the following :
> I have an AVFrame F1.
> In this frame F1, I have macroblocks MB1, MB2 and ...
> I want to have the Y, u and v value of MB1, Y, u and v for MB2 and ...

Why would macroblocks have y, u and v values?
Only pixels have these values (in case of u and v,
several pixels share the value), no?

Carl Eugen


More information about the Libav-user mailing list