Dana 3. 9. 2015. 03:13 osoba "Mehdi Hosseini"
napisala je:
>
> Hello,
>
> I want to do some pixel operations on a decoded frame (AVFrame structure)
> in function "ff_thread_decode_frame" of the file
> "ffmpeg/libavcodec/pthread.c".
>
> For example. I wrote a simple code to get y,u,v of the pixel(0
Hello,
I want to do some pixel operations on a decoded frame (AVFrame structure)
in function "ff_thread_decode_frame" of the file
"ffmpeg/libavcodec/pthread.c".
For example. I wrote a simple code to get y,u,v of the pixel(0,0) :
int x= 0;
int y= 0;
unsigned char y = picture->data[0][picture->li