summaryrefslogtreecommitdiff
path: root/libavfilter/vf_uspp.c
Commit message (Collapse)AuthorAge
* avfilter: Constify all AVFiltersAndreas Rheinhardt2021-04-27
| | | | | | | This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_uspp: use av_packet_alloc() to allocate packetsJames Almer2021-03-17
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_uspp: Fix leak of packet side dataAndreas Rheinhardt2021-03-12
| | | | | | | | | | | The uspp filter uses a special option ("no_bitstream") of the Snow encoder to suppress it from generating output. The filter therefore did not unref the packet after usage, believing it to be blank. But this is wrong, as the Snow encoder attaches quality stats side data to the packet. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avfilter/vf_uspp: Fix leak of qp-table on errorAndreas Rheinhardt2021-03-12
| | | | | | | Fixes Coverity issue #1473500. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* lavfi/vf_uspp: convert to the video_enc_params APIAnton Khirnov2021-01-01
|
* lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bumpAnton Khirnov2021-01-01
| | | | They are not properly namespaced and not intended for public use.
* fftools, libavcodec, libavfilter: Add const to some AVCodec *Andreas Rheinhardt2020-09-11
| | | | | | | | The user has no business modifying the underlying AVCodec. Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avfilter/vf_uspp: Fix potential leak of dict on errorAndreas Rheinhardt2020-09-11
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* Remove unnecessary use of avcodec_close().Anton Khirnov2020-06-10
| | | | | Replace it with avcodec_free_context() or drop it completely as appropriate.
* avfilter: don't anonymously typedef structsPaul B Mahol2017-05-13
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_uspp: Fix currently unused input frame dimensionsMichael Niedermayer2017-05-10
| | | | | Found-by: Nicolas Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: stop using deprecated codec flagsJames Almer2017-03-25
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_uspp: Check for encoding failureMichael Niedermayer2016-07-13
| | | | | | Fixes CID1363015 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPATDerek Buitenhuis2016-01-27
| | | | | | | | | | Libav, for some reason, merged this as a public API function. This will aid in future merges. A define is left for backwards compat, just in case some person used it, since it is in a public header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avfilter/uspp: use AV_OPT_TYPE_BOOL for use_bframe_qp optionClément Bœsch2015-09-09
|
* Merge commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615'Michael Niedermayer2015-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615': lavc: AV-prefix all codec flags Conflicts: doc/examples/muxing.c ffmpeg.c ffmpeg_opt.c ffplay.c libavcodec/aacdec.c libavcodec/aacenc.c libavcodec/ac3dec.c libavcodec/ac3enc_float.c libavcodec/atrac1.c libavcodec/atrac3.c libavcodec/atrac3plusdec.c libavcodec/dcadec.c libavcodec/ffv1enc.c libavcodec/h264.c libavcodec/h264_loopfilter.c libavcodec/h264_mb.c libavcodec/imc.c libavcodec/libmp3lame.c libavcodec/libtheoraenc.c libavcodec/libtwolame.c libavcodec/libvpxenc.c libavcodec/libxavs.c libavcodec/libxvid.c libavcodec/mpeg12dec.c libavcodec/mpeg12enc.c libavcodec/mpegaudiodec_template.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/mpegvideo_motion.c libavcodec/nellymoserdec.c libavcodec/nellymoserenc.c libavcodec/nvenc.c libavcodec/on2avc.c libavcodec/options_table.h libavcodec/opus_celt.c libavcodec/pngenc.c libavcodec/ra288.c libavcodec/ratecontrol.c libavcodec/twinvq.c libavcodec/vc1_block.c libavcodec/vc1_loopfilter.c libavcodec/vc1_mc.c libavcodec/vc1dec.c libavcodec/vorbisdec.c libavcodec/vp3.c libavcodec/wma.c libavcodec/wmaprodec.c libavcodec/x86/hpeldsp_init.c libavcodec/x86/me_cmp_init.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: handle error in query_formats() in bunch of filtersPaul B Mahol2015-04-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Replace PixelFormats which sneaked in over time or where forgotten by ↵Michael Niedermayer2015-03-18
| | | | | | AVPixelFormats Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: fix gop_sizeMichael Niedermayer2015-01-25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: Use FF_CEIL_RSHIFT() correct rounding of odd w/hMichael Niedermayer2015-01-25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: use ff_norm_qscale(), factorizeStefano Sabatini2015-01-13
|
* avfilter/vf_uspp: clear AVPacket to not leave uninitialized memoryMichael Niedermayer2014-12-30
| | | | | | Fixes CID1260707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: use av_malloc_array()Michael Niedermayer2014-12-23
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: fix gray pixfmt handlingMichael Niedermayer2014-12-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: fix used chroma subsampling factorsMichael Niedermayer2014-12-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: fix used pix_fmtMichael Niedermayer2014-12-13
| | | | | Found-by: carl Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: Add grayscale supportMichael Niedermayer2014-12-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: assert that the qp_type is validMichael Niedermayer2014-12-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: fix integer overflow in intermediateMichael Niedermayer2014-12-12
| | | | | | Fixes Ticket3596 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: remove YUV 411/422/440Michael Niedermayer2014-12-12
| | | | | | snow doesnt support 422/411/440 currently, so these do not work yet Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: use the average QP instead of QP[0]Michael Niedermayer2014-12-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: The qp array width is qp_stride not stride/16Michael Niedermayer2014-12-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/vf_uspp: Allocate qp storage after qp_stride is knownMichael Niedermayer2014-12-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avfilter/uspp: use AVFILTER_DEFINE_CLASS()Clément Bœsch2014-12-12
|
* avfilter/uspp: make src const in store_slice_c()Clément Bœsch2014-12-12
|
* avfilter/uspp: misc style fixesClément Bœsch2014-12-12
|
* lavfi: USPP FilterArwa Arif2014-12-12
Previous version reviewed by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>