[FFmpeg-devel] [PATCH] Add av_picture_data_copy and reimplement av_picture_copy as a wrapper
S.N. Hemanth Meenakshisundaram
smeenaks
Thu Aug 5 07:23:51 CEST 2010
This patch goes on top of "Separate video specific BufferRef properties
into VideoProps" and is required for lavfi audio changes since
vsrc_buffer.c uses av_picture_copy but AVFilterBufferRef's data pointer
and linesize arrays need to be resized to 8 and shared with audio.
I can move av_picture_data_copy to libavcore/imgutils.c if necessary.
Also, I did not separate out the src picture into data and linesize
pointers since the name says 'avfilter_picture...'.
This is on top of mainline SVN and passes make lavfitest and make test.
---
libavcodec/avcodec.h | 8 +++++++-
libavcodec/imgconvert.c | 16 +++++++++++-----
2 files changed, 18 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-av_picture_data_copy-and-reimplement-av_picture_.patch
Type: text/x-patch
Size: 2631 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100804/5b7280d5/attachment.bin>
More information about the ffmpeg-devel
mailing list