summaryrefslogtreecommitdiff
path: root/libavcodec/dpx.c
Commit message (Collapse)AuthorAge
* avcodec/dpx: fix off by 1 in bits_per_color checkMichael Niedermayer2021-06-08
| | | | | | | Fixes: CID1476303 Bad bit shift operation Fixes: 34871/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DPX_fuzzer-6331163028357120 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec: Constify AVCodecsAndreas Rheinhardt2021-04-27
| | | | | | | | | | Given that the AVCodec.next pointer has now been removed, most of the AVCodecs are not modified at all any more and can therefore be made const (as this patch does); the only exceptions are the very few codecs for external libraries that have a init_static_data callback. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dpx: Check bits_per_color earlierMichael Niedermayer2021-04-17
| | | | | | | | Fixes: shift exponent 251 is too large for 32-bit type 'int' Fixes: 32147/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DPX_fuzzer-5519111675314176 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dpx: add support for other single component 8bit filesPaul B Mahol2021-02-12
|
* avcodec/dpx: add float support for single components and rgb(a)Paul B Mahol2021-02-12
|
* avcodec/dpx: fix use of uninitialised valueJames Almer2020-12-18
| | | | | | | Found by Valgrind. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dpx: Fix B&W film scans from Lasergraphics IncHarry Mallon2020-12-17
| | | | Signed-off-by: Harry Mallon <harry.mallon@codex.online>
* avcodec/dpx: Read color information from DPX headerHarry Mallon2020-12-17
| | | | Signed-off-by: Harry Mallon <harry.mallon@codex.online>
* avcodec/dpx: Report color_range from DPX headerHarry Mallon2020-12-17
| | | | Signed-off-by: Harry Mallon <harry.mallon@codex.online>
* avcodec/dpx: Read SMPTE timecode from DPXHarry Mallon2020-12-17
| | | | Signed-off-by: Harry Mallon <harry.mallon@codex.online>
* avcodec/dpx: Read alternative frame rate from television headerHarry Mallon2020-12-17
| | | | Signed-off-by: Harry Mallon <harry.mallon@codex.online>
* avcodec/dpx: fix spotted code style issuesPaul B Mahol2018-12-07
|
* avcodec/dpx: add support for special encodingPaul B Mahol2018-12-07
|
* avcodec/dpx: improve decoding of 10 bit gray imagesPaul B Mahol2018-12-07
|
* avcodec/dpx: add support for another gray10 variantPaul B Mahol2018-12-07
|
* avcodec/dpx: parse input device namePaul B Mahol2018-12-07
|
* avcodec/dpx: parse image creatorPaul B Mahol2018-12-07
|
* avcodec/dpx: check version of format header tooPaul B Mahol2018-12-07
|
* avcodec/dpx: add support for 10bit grayPaul B Mahol2018-12-04
|
* avcodec/dpx: Check elements in 12bps planar pathMichael Niedermayer2018-06-28
| | | | | | | | | Fixes: null pointer dereference Fixes: 8946/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DPX_fuzzer-5078915222601728 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/dpx: Support 10-bit packing method b (msbpad).Carl Eugen Hoyos2018-06-21
|
* lavc/dpx: Support 12-bit packing method b (msbpad).Carl Eugen Hoyos2018-06-21
|
* lavc/dpx: Allow packed 12-bit little-endian images.Carl Eugen Hoyos2018-06-16
| | | | Can be tested with GraphicsMagick.
* lavc/dpx: Reset n_datum for every new line when decoding 12bit.Carl Eugen Hoyos2018-06-15
| | | | | Fixes odd unpacked 12bit decoding. Reported-by: Piotr Bandurski
* avcodec/dpx: Support for RGBA 12-bit packed decodingJérôme Martinez2018-06-01
| | | | | | Limited to widths multiple of 2 due to lack of test files for such corner case This partially fixes ticket #5639
* avcodec/dpx: Support for RGB 12-bit packed decodingJérôme Martinez2018-04-12
| | | | | | | | Limited to widths multiple of 8 (RGB) due to lack of test files for such corner case This partially fixes ticket #5639 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/dpx: Support GRAY12 colourspace.Carl Eugen Hoyos2016-11-14
|
* lavc/dpx: Support decoding 12 bit colourspace with transparency information.Carl Eugen Hoyos2016-06-15
|
* lavc/dpx: Support decoding 10 bit colourspace with transparency information.Carl Eugen Hoyos2016-06-14
| | | | Fixes one sample from ticket #5639.
* avcodec/dpx: Move need_align to act per lineMichael Niedermayer2015-11-14
| | | | | | | | Fixes out of array read Fixes: 61cf123c081ee2bb774d307c75bdb99e/asan_heap-oob_1224f76_5546_bee833ffae73f752b489b9eeaac52db7.dpx Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'def97856de6021965db86c25a732d78689bd6bb0'Michael Niedermayer2015-07-27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'def97856de6021965db86c25a732d78689bd6bb0': lavc: AV-prefix all codec capabilities Conflicts: cmdutils.c ffmpeg.c ffplay.c libavcodec/8svx.c libavcodec/aacenc.c libavcodec/ac3dec.c libavcodec/adpcm.c libavcodec/alac.c libavcodec/atrac3plusdec.c libavcodec/bink.c libavcodec/dnxhddec.c libavcodec/dvdec.c libavcodec/dvenc.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/fic.c libavcodec/flacdec.c libavcodec/flacenc.c libavcodec/flvdec.c libavcodec/fraps.c libavcodec/frwu.c libavcodec/gifdec.c libavcodec/h261dec.c libavcodec/hevc.c libavcodec/iff.c libavcodec/imc.c libavcodec/libopenjpegdec.c libavcodec/libvo-aacenc.c libavcodec/libvorbisenc.c libavcodec/libvpxdec.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/mjpegbdec.c libavcodec/mjpegdec.c libavcodec/mpegaudiodec_float.c libavcodec/msmpeg4dec.c libavcodec/mxpegdec.c libavcodec/nvenc_h264.c libavcodec/nvenc_hevc.c libavcodec/pngdec.c libavcodec/qpeg.c libavcodec/ra288.c libavcodec/rv10.c libavcodec/s302m.c libavcodec/sp5xdec.c libavcodec/takdec.c libavcodec/tiff.c libavcodec/tta.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/vp6.c libavcodec/vp9.c libavcodec/wavpack.c libavcodec/yop.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | | | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Support decoding yuv dpx images.Carl Eugen Hoyos2015-02-08
| |
* | avcodec/dpx: fix framerateMichael Niedermayer2014-10-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dpx: use aligned line startsChristophe Gisquet2014-08-14
| | | | | | | | | | | | | | | | | | | | SMPTE 268M-2003 specifies that each line starts at a 4-bytes boundary. Therefore, modify correspondingly the input buffer strides and size. Partially fixes ticket #3692: DLAD_8b_3c_big.dpx still has inverted colors, which might be related to endianness. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | dpx: warn if encryptedChristophe Gisquet2014-08-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '9e500efdbe0deeff1602500ebc229a0a6b6bb1a2'Michael Niedermayer2014-06-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9e500efdbe0deeff1602500ebc229a0a6b6bb1a2': Add av_image_check_sar() and use it to validate SAR Conflicts: libavcodec/dpx.c libavcodec/dvdec.c libavcodec/ffv1dec.c libavcodec/utils.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add av_image_check_sar() and use it to validate SARJustin Ruggles2014-06-20
| |
* | dpx: use intfloat.h instead of deprecated intfloat_readwrite.h.Reimar Döffinger2014-05-13
| | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | avcodec/dpx: extract frame rateMichael Niedermayer2014-04-25
| | | | | | | | | | | | Fixes part of Ticket3511 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'd6da372984c87fd6288c148c291065d6032ceda3'Michael Niedermayer2013-11-01
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd6da372984c87fd6288c148c291065d6032ceda3': eacmv: stop using deprecated avcodec_set_dimensions dvdsubdec: stop using deprecated avcodec_set_dimensions dvdec: stop using deprecated avcodec_set_dimensions dpx: stop using deprecated avcodec_set_dimensions Conflicts: libavcodec/dpx.c libavcodec/dvdec.c libavcodec/dvdsubdec.c libavcodec/eacmv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dpx: stop using deprecated avcodec_set_dimensionsAnton Khirnov2013-10-31
| |
* | dpx: abgr supportPaul B Mahol2013-10-08
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/dpx: support for 8 and 16 bit luma only filesPaul B Mahol2013-10-07
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/dpx: refactor pixel format selectionPaul B Mahol2013-10-07
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/dpx: return different error code for unsupported depthsPaul B Mahol2013-10-07
| | | | | | | | | | | | Also give better message in such cases. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/dpx: make .long_name more descriptivePaul B Mahol2013-10-06
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/dpx: cosmetics: fix identationPaul B Mahol2013-10-05
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/dpx: reformat avpriv_report_missing_feature messagesPaul B Mahol2013-10-05
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/dpx: return proper error code for unsupported filesPaul B Mahol2013-10-05
| | | | | | | | | | | | Also use avpriv_report_missing_feature(). Signed-off-by: Paul B Mahol <onemda@gmail.com>