>> In between the two calls above, I have to convert the image data from
>> myFrameDecode to image data in myFrameEncode. That's what I'm having
>> trouble
>> with. Right now I have lots of row/col loops and they do things differently
>> for different pixel formats. Is there a single subroutine I can that can
>> convert the image data from myFrameDecode to the image data in
>> myFrameEncode?
>
>You can use same one if you enable reference counting, then you do not need to
>copy it every time you need it. Just when going to modify it (if it is
>referenced by something else it will be copied otherwise reused....).
What do you mean by 'reference counting'? Is this memory reference counting in
the context of what some people do to implement smarter memory management in
C so they don't delete segments of memory that is being used by elsewhere?
Or is it something else?
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user