mpv/video
wm4 202b9e8069 mp_image: create AVBuffers for all planes when converting to AVFrame
It appears the API requires you to cover all plane data with AVBuffers
(that is, one AVBuffer per plane in the most general case), because
certain code can make certain assumptions about this. (Insert rant
about how this is barely useful and increases complexity and potential
bugs.) I don't know any cases where the current code actually fails,
but we want to follow the API, so do it anyway.

Note that we don't really know whether or not planes are from a single
memory allocation, so we have to assume the most general case and create
an AVBuffer for each plane. We simply assume that the data is padded to
the full stride in the last image line. All these extra dummy references
are stupid, but the code might become much simpler once we only support
libavcodec versions with refcounting and can use AVFrame directly.
2013-07-24 19:47:05 +02:00
..
decode Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
filter Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
out Fix some -Wshadow warnings 2013-07-23 00:45:23 +02:00
csputils.c sd_add: add terrible hack for (xy-)vsfilter compatibility 2013-07-15 02:01:37 +02:00
csputils.h sd_add: add terrible hack for (xy-)vsfilter compatibility 2013-07-15 02:01:37 +02:00
fmt-conversion.c Fix compilation with Libav 2013-05-01 17:02:06 +02:00
fmt-conversion.h
image_writer.c sws_utils: make hq swscale flags available with mp_sws_hq_flags 2013-07-18 13:48:57 +02:00
image_writer.h image_writer: Add PNG filter option (default "mixed") 2013-06-15 15:48:52 +02:00
img_format.c img_format: fix broken condition 2013-05-06 23:11:10 +02:00
img_format.h img_format: comment on some pixel formats 2013-07-18 13:49:33 +02:00
img_fourcc.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
memcpy_pic.h vf_expand: support more image formats 2013-01-13 20:04:13 +01:00
mp_image.c mp_image: create AVBuffers for all planes when converting to AVFrame 2013-07-24 19:47:05 +02:00
mp_image.h img_format: add a mask for color class 2013-07-18 13:49:28 +02:00
mp_image_pool.c mp_image_pool: add pool to avoid frequent image reallocations 2013-01-13 17:39:32 +01:00
mp_image_pool.h mp_image_pool: add pool to avoid frequent image reallocations 2013-01-13 17:39:32 +01:00
sws_utils.c vf_scale: actually respect param and param2 suboptions 2013-07-22 14:41:33 +02:00
sws_utils.h vf_scale: actually respect param and param2 suboptions 2013-07-22 14:41:33 +02:00
vfcap.h core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00