<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 9 avr. 2019 à 15:23, Carl Eugen Hoyos <<a href="mailto:ceffmpeg@gmail.com">ceffmpeg@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">2019-04-08 14:40 GMT+02:00, NDJORE BORIS <<a href="mailto:ndjoreboris@gmail.com" target="_blank">ndjoreboris@gmail.com</a>>:<br>
> Hello all,<br>
><br>
> I want to know if it is possible to have YUV value for a<br>
> given macroblock in a<br>
> yuv420p frame. If yes, please tells me how we can do it.<br>
><br>
> In details what I want to do is the following :<br>
> I have an AVFrame F1.<br>
> In this frame F1, I have macroblocks MB1, MB2 and ...<br>
> I want to have the Y, u and v value of MB1, Y, u and v for MB2 and ...<br>
<br>
Why would macroblocks have y, u and v values?<br>
Only pixels have these values (in case of u and v,<br>
several pixels share the value), no?<br>
<br>
Carl Eugen<br></blockquote><div><br></div><div> Yes several pixels share the value.</div><div><br></div><div>What I want to obtain is the value of all pixels in a given block (macroblock) in a frame .</div><div>If for exemple I have two macroblocks in my frame, I want to know the set of pixel's value that </div><div>belong to macroblock 1 and the other pixel's value that belong to macroblock 2.</div><div>In sum, I want to obtain y1, u1,v1 belong to macroblock 1 and y2, u2; v2 belong to macroblock 2 in the same </div><div>frame.</div><div><br></div><div>Regards</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".</blockquote></div></div>