Sorry about the toppost . Im afraid my phone and me had a slight accident.

What I was trying to add was how I index the the source pixels, hoping it
can shed light on the offset error im experiencing.

uint64_t src_i = (xx+(yy*src_camera_width))*3;
r = f->pAVFrame->data[0][src_i+0];
g = f->pAVFrame->data[0][src_i+1];
b = f->pAVFrame->data[0][src_i+2];

Kind regards

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

Reply via email to