diff options
author | Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> | 2017-10-04 21:04:16 +0200 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-10-04 23:14:37 +0100 |
commit | 44188993a1865e6a4e204908319f06cec39d5ee9 (patch) | |
tree | 19fbbcc172424004a78a6395f368b3453caec978 /MAINTAINERS | |
parent | 8da5af258423db4e24832b4a880cf6b78d410262 (diff) | |
download | ffmpeg-44188993a1865e6a4e204908319f06cec39d5ee9.tar.gz |
avcodec/v4l2: set sizeimage param for non-raw buffers [fixes #6716]
Some V4L2 drivers fail to allocate buffers when sizeimage is not set
to a max value. This is indeed the case for s5p-mfc [1]
Most drivers should be able to calculate this value from the frame
dimensions and format - or at least have their own default.
However since this work around should not impact those drivers doing
the "right thing" this commit just provides such a default.
The calculations were extracted from the v4l2 driver used to develop
the ffmpeg v4l2_m2m support [2]. See venc.c and vdec.c
[1] linux.git/drivers/media/platform/s5p-mfc
[2] linux.git/drivers/media/platform/qcom/venus/
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions