summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1enc.c
Commit message (Collapse)AuthorAge
...
* | avcodec/ffv1enc: Ensure that bits per raw sample is validMichael Niedermayer2015-04-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6a85dfc830f51f1f5c2d36d4182d265c1ea3ba25'Michael Niedermayer2015-04-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6a85dfc830f51f1f5c2d36d4182d265c1ea3ba25': lavc: Replace av_dlog and tprintf with internal macros Conflicts: libavcodec/aacdec.c libavcodec/audio_frame_queue.c libavcodec/bitstream.c libavcodec/dcadec.c libavcodec/dnxhddec.c libavcodec/dvbsubdec.c libavcodec/dvdec.c libavcodec/dvdsubdec.c libavcodec/get_bits.h libavcodec/gifdec.c libavcodec/h264.h libavcodec/h264_cabac.c libavcodec/h264_cavlc.c libavcodec/h264_loopfilter.c libavcodec/h264_refs.c libavcodec/imc.c libavcodec/interplayvideo.c libavcodec/jpeglsdec.c libavcodec/libopencore-amr.c libavcodec/mjpegdec.c libavcodec/mpeg12dec.c libavcodec/mpegvideo_enc.c libavcodec/mpegvideo_parser.c libavcodec/pngdec.c libavcodec/ratecontrol.c libavcodec/rv10.c libavcodec/svq1dec.c libavcodec/vqavideo.c libavcodec/wmadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
| |
* | lavc/ffv1enc: Auto-select -coder 1 for >8bit also for yuv.Carl Eugen Hoyos2015-03-09
| | | | | | | | Reported-by: Christoph Gerstbauer
* | avcodec/ffv1enc: Use av_clip_uint8()Michael Niedermayer2015-02-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ffv1enc: Fix incompatible pointer type warningMichael Niedermayer2015-01-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '0352ff102d62ee94e79e0baaf64d5ad4e66f907b'Michael Niedermayer2015-01-06
|\| | | | | | | | | | | | | | | | | | | * commit '0352ff102d62ee94e79e0baaf64d5ad4e66f907b': ffv1: const correctness for encode_rgb_frame() Conflicts: libavcodec/ffv1enc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ffv1: const correctness for encode_rgb_frame()Diego Biurrun2015-01-05
| | | | | | | | libavcodec/ffv1enc.c:922:53: warning: passing argument 5 of ‘encode_rgb_frame’ discards ‘const’ qualifier from pointer target type
* | Merge commit '6abe7edabb7d57e82d7ea6312d30cf05d2192c5b'Michael Niedermayer2014-11-13
|\| | | | | | | | | | | | | | | | | | | * commit '6abe7edabb7d57e82d7ea6312d30cf05d2192c5b': ffv1: fix out-of-bounds read The change should be harmless but theres no out of array access before the change Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ffv1: fix out-of-bounds readVittorio Giovara2014-11-13
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 1047234
* | ffv1enc: reduce stack usage.Reimar Döffinger2014-09-03
| | | | | | | | | | | | | | | | A bit more complex than e.g. adding it to the context, but using the context for something that will be used only during initialization seemed a bit wasteful. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* | avcodec/ffv1enc: allocate padding for extradataMichael Niedermayer2014-05-18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/ffv1enc: add const to silent warningLukasz Marek2014-02-15
| | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ffv1enc: choose 1.2 by default for higher resolutions to ensure ↵Michael Niedermayer2014-01-08
| | | | | | | | | | | | | | multi-threaded decodability Reviewed-by: "Peter B." <pb@das-werkstatt.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1.4: use 2 coefficients for calculating the Y plane in the RCTMichael Niedermayer2013-12-10
| | | | | | | | | | | | 0-0.7% improved compression Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ffv1enc: fix use of uninitalized variable in choose_rct_params()Michael Niedermayer2013-12-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ffv1enc: support forcing experimental 1.4 versionMichael Niedermayer2013-12-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ffv1: support adjusting the g vs r + b coefficient in the RCTMichael Niedermayer2013-12-09
| | | | | | | | | | | | about 1% better compression Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-11-17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpegvideo_enc: use the AVFrame API properly. ffv1: use the AVFrame API properly. jpegls: use the AVFrame API properly. huffyuv: use the AVFrame API properly. Conflicts: libavcodec/ffv1.c libavcodec/ffv1.h libavcodec/ffv1dec.c libavcodec/ffv1enc.c Changes to ffv1 are more redone than merged due to them being based on an ancient codebase and a good part of that having being done already as well. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ffv1: use the AVFrame API properly.Anton Khirnov2013-11-16
| |
* | avcodec/ffv1enc: Check high bpp RGB against coder type tooMichael Niedermayer2013-11-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1enc: store 2pass statistics at the endMichael Niedermayer2013-11-02
| | | | | | | | | | | | | | | | This reduces their size from O(n) to O(1) Fixes Ticket3078 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ffv1enc: pass through ptsMichael Niedermayer2013-11-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1enc: use 64bit in maxsize calculationMichael Niedermayer2013-10-19
| | | | | | | | | | | | | | | | This isnt needed but it cant hurt, its also more consistent with how its calculated a few lines before. See: CID1108593 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b2bed9325dbd6be0da1d91ffed3f513c40274fd2'Michael Niedermayer2013-10-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b2bed9325dbd6be0da1d91ffed3f513c40274fd2': cosmetics: Group .name and .long_name together in codec/format declarations Conflicts: libavcodec/8svx.c libavcodec/alac.c libavcodec/cljr.c libavcodec/dnxhddec.c libavcodec/dnxhdenc.c libavcodec/dpxenc.c libavcodec/dvdec.c libavcodec/dvdsubdec.c libavcodec/dvdsubenc.c libavcodec/ffv1dec.c libavcodec/flacdec.c libavcodec/flvdec.c libavcodec/fraps.c libavcodec/frwu.c libavcodec/g726.c libavcodec/gif.c libavcodec/gifdec.c libavcodec/h261dec.c libavcodec/h263dec.c libavcodec/iff.c libavcodec/imc.c libavcodec/libopencore-amr.c libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libspeexenc.c libavcodec/libvo-amrwbenc.c libavcodec/libvorbisenc.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/libxavs.c libavcodec/libxvid.c libavcodec/ljpegenc.c libavcodec/mjpegbdec.c libavcodec/mjpegdec.c libavcodec/mpeg12dec.c libavcodec/mpeg4videodec.c libavcodec/msmpeg4dec.c libavcodec/pgssubdec.c libavcodec/pngdec.c libavcodec/pngenc.c libavcodec/proresdec_lgpl.c libavcodec/proresenc_kostya.c libavcodec/ra144enc.c libavcodec/rawdec.c libavcodec/rv10.c libavcodec/sp5xdec.c libavcodec/takdec.c libavcodec/tta.c libavcodec/v210dec.c libavcodec/vp6.c libavcodec/wavpack.c libavcodec/xbmenc.c libavcodec/yop.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
| |
| * pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*Anton Khirnov2013-05-15
| |
* | avcodec/ffv1: YUVA(444,422,420) 9, 10 and 16 bit supportPaul B Mahol2013-09-09
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/ffv1enc: encode slice as raw PCM in 1.4 when the buffer is too small.Michael Niedermayer2013-09-09
| | | | | | | | | | | | This limits the maximum size of encoded slices more tightly Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ffv1enc: check encode_line()s return codeMichael Niedermayer2013-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ffv1enc: update buffer check for 16bpsMichael Niedermayer2013-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ffv1enc: fix size used for ff_alloc_packet2()Michael Niedermayer2013-09-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1enc: Make ffv1.3 non experimentalMichael Niedermayer2013-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The fate tests change as they used 1.2 previously The increased size is due to: 32bit CRCs per slice by default (can be disabled), it adds slice headers to allow decoding one slice without the others an additional slice size field is added to make it possible to find slices within corrupted surroundings. these add up to about 57bit per slice more at 50 frames and 4 slices thats 1425 byte Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: rename minor to micro versionMichael Niedermayer2013-08-20
| | | | | | | | | | | | the version is 1.3.4 which makes 4 micro and not minor Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: update years in headerMichael Niedermayer2013-08-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1enc: propagate error code from write_extradata()Michael Niedermayer2013-08-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1enc: check for malloc failureMichael Niedermayer2013-08-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ffv1enc: bump minor_version for the chroma_plane fixMichael Niedermayer2013-08-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ffv1enc: fix chroma_plane for rgb/rgbaMichael Niedermayer2013-08-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: fix plane_count at version 1.4Michael Niedermayer2013-08-15
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Rename "AVClass class" as "AVClass component_class".Carl Eugen Hoyos2013-06-30
| | | | | | | | The aix header math.h defines "extern int class()" for C.
* | ffv1enc: Check return value of av_frame_ref()Michael Niedermayer2013-06-03
| | | | | | | | | | Fixes CID1026740 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1enc: fix 1000l typoMichael Niedermayer2013-05-11
| | | | | | | | | | Thanks to ubitux for spotting that Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1enc: Fix memleakMichael Niedermayer2013-05-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1enc: dont set coded_frameMichael Niedermayer2013-05-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1enc: Check the return value of ffv1_common_init()Michael Niedermayer2013-05-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ffv1: Switch to ThreadFrameMichael Niedermayer2013-05-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu: add FF_CEIL_RSHIFT and use it in various places.Clément Bœsch2013-05-09
| |
* | Merge commit '6fee1b90ce3bf4fbdfde7016e0890057c9000487'Michael Niedermayer2013-05-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6fee1b90ce3bf4fbdfde7016e0890057c9000487': avcodec: Add av_cold attributes to init functions missing them Conflicts: libavcodec/aacpsy.c libavcodec/atrac3.c libavcodec/dvdsubdec.c libavcodec/ffv1.c libavcodec/ffv1enc.c libavcodec/h261enc.c libavcodec/h264_parser.c libavcodec/h264dsp.c libavcodec/h264pred.c libavcodec/libschroedingerenc.c libavcodec/libxvid_rc.c libavcodec/mpeg12.c libavcodec/mpeg12enc.c libavcodec/proresdsp.c libavcodec/rangecoder.c libavcodec/videodsp.c libavcodec/x86/proresdsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
| |