summaryrefslogtreecommitdiff
path: root/libavcodec/proresenc_anatoliy.c
Commit message (Collapse)AuthorAge
* lavu: move LOCAL_ALIGNED from internal.h to mem_internal.hAnton Khirnov2021-01-01
| | | | That is a more appropriate place for it.
* avcodec/proresenc: infer array lengthsMichael Bradshaw2020-08-21
| | | | Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
* avcodec/proresenc: add support for PQ and HLGMichael Bradshaw2020-08-21
| | | | Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
* avcodec: deprecate Lossless and Intra Only encoder capabilitesJames Almer2020-05-21
| | | | | | | Both are codec properties and not encoder capabilities. The relevant AVCodecDescriptor.props flags exist for this purpose. Signed-off-by: James Almer <jamrial@gmail.com>
* Revert "avcodec/proresenc_anatoliy: support for more color matrix for proresenc"Limin Wang2020-05-04
| | | | This reverts commit e0eed1fd523ec5d0cc390a08c468dbc57316378a.
* avcodec/proresenc_anatoliy: support for more color matrix for proresencLimin Wang2020-05-03
| | | | | | | | | | | | | | | | | | | | Please tested with below command: ./ffmpeg -i ../fate-suite/mpeg2/t.mpg -c:v prores_aw -color_primaries bt2020 -colorspace bt2020_ncl -color_trc smpte2084 -an output.mov mediainfo outout.mov ... Color primaries : BT.2020 Transfer characteristics : PQ Matrix coefficients : BT.2020 non-constant ./ffmpeg -i ../fate-suite/mpeg2/t.mpg -c:v prores_aw -color_primaries bt2020 -colorspace bt2020_ncl -color_trc arib-std-b67 -an output.mov mediainfo outout.mov ... Color primaries : BT.2020 Transfer characteristics : HLG Matrix coefficients : BT.2020 non-constant Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* remove CHAR_MIN/CHAR_MAX usagePaul B Mahol2020-03-17
| | | | It is not needed at all.
* avcodec/proresenc_anatoliy: Fix invalid left shift of negative numberAndreas Rheinhardt2020-01-08
| | | | | | | | | | | | This fixes ticket #7997 as well as the vsynth*-prores_# FATE-tests (where * ranges over { 1, 2, 3, _lena } and # over { , _int, _444, _444_int }). (Given that prev_dc is in the range -0xC000..0x3FFF, no overflow can happen upon multiplication with 2.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/proresenc_aw : fix interlace encoding for unsafe heightMartin Vignali2019-03-09
| | | | | fix the call of the unsafe version of slice encoding in interlace mode fix padding line count in sub image with fill in interlace mode
* avcodec/proresenc_aw : fix sub_image_with_fill for interlaced encodingMartin Vignali2019-02-27
| | | | used when width and/or height, not multiple of sclice dim
* avcodec/proresenc_aw : indent after prev commitMartin Vignali2019-02-23
|
* avcodec/proresenc_aw : add interlace encodingMartin Vignali2019-02-23
|
* avcodec/proresenc_aw : merge funcs subimage_with_fill and ↵Martin Vignali2019-02-23
| | | | subimage_alpha_with_fill
* avcodec/proresenc_aw : move scantable to prores contextMartin Vignali2019-02-23
|
* avcodec/proresenc_aw : move picture encoding after frame header writeMartin Vignali2019-02-23
|
* avcodec/proresenc_aw : simplify frame flagsMartin Vignali2019-02-23
|
* avcodec/prores_aw : add 4444 xq supportMartin Vignali2018-12-04
|
* avcodec/prores_aw : only set color prim, trc, space values if supportedMartin Vignali2018-12-04
| | | | set to unspecified if frame have another value
* avcodec/prores_aw : add vendor optionMartin Vignali2018-12-04
| | | | code come from prores_ks
* avcodec/prores_aw : add support for prores 444 with alphaMartin Vignali2018-11-08
| | | | | | | | | | | | | | only 16b alpha is supported (not 8 bits) following official encoder, alpha data doesn't impact yuv plane quality. So the alpha data encoding is done after the yuv part. It's also avoid to loose quality in yuv part when alpha is not uniform. the alpha encoding funcs is mainly take from prores_ks encoder, except for the alpha data reorganization
* avcodec/prores_aw : cosmetic indent and add comment to describe frame header ↵Martin Vignali2018-11-08
| | | | | | value description are based on multimedia wiki documentation
* avcodec/prores_aw : change src pix_fmt and alpha descriptionMartin Vignali2018-11-08
| | | | | use b64a as src pix fmt (doesn't seems to have an impact on decoding) but it's the value use by official encoder
* prores: Use profile names in the various encoders and decodersVittorio Giovara2018-11-05
| | | | Export FF_PROFILE_PRORES_* symbols publicly, add a missing one.
* proresenc_anatoliy: Rename a profile name with the correct oneVittorio Giovara2018-11-05
| | | | In all Apple documentation, this profile is called Prores 4444.
* avcodec/proresenc_aw : use for frame flag in the header the same value than ↵Martin Vignali2018-10-18
| | | | the official encoder
* avcodec/proresenc_aw : add support for prores 444Martin Vignali2018-10-18
|
* avcodec/prores_enc : not calculate dct a each quantif search stepMartin Vignali2018-10-18
| | | | Improve encoding speed by 2% (using prores input)
* avcodec/proresenc_aw : use qp close to the official encoderMartin Vignali2018-10-18
|
* avcodec/proresenc_aw : use AVframe primaries, transfert, colorspace for ↵Martin Vignali2018-10-18
| | | | | | frame header instead of default (unknown, unknown, Rec601) avoid color shift, on some decoding software
* avcodec/proresenc_aw : use scan table from prores_data fileMartin Vignali2018-10-18
| | | | Doesn't seems to make speed loss
* avcodec/proresenc_anatoliy: remove coded_frame useMichael Niedermayer2015-07-29
| | | | | | coded_frame.key_frame should be set by the core already Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba'Michael Niedermayer2015-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '059a934806d61f7af9ab3fd9f74994b838ea5eba': lavc: Consistently prefix input buffer defines Conflicts: doc/examples/decoding_encoding.c libavcodec/4xm.c libavcodec/aac_adtstoasc_bsf.c libavcodec/aacdec.c libavcodec/aacenc.c libavcodec/ac3dec.h libavcodec/asvenc.c libavcodec/avcodec.h libavcodec/avpacket.c libavcodec/dvdec.c libavcodec/ffv1enc.c libavcodec/g2meet.c libavcodec/gif.c libavcodec/h264.c libavcodec/h264_mp4toannexb_bsf.c libavcodec/huffyuvdec.c libavcodec/huffyuvenc.c libavcodec/jpeglsenc.c libavcodec/libxvid.c libavcodec/mdec.c libavcodec/motionpixels.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/noise_bsf.c libavcodec/nuv.c libavcodec/nvenc.c libavcodec/options.c libavcodec/parser.c libavcodec/pngenc.c libavcodec/proresenc_kostya.c libavcodec/qsvdec.c libavcodec/svq1enc.c libavcodec/tiffenc.c libavcodec/truemotion2.c libavcodec/utils.c libavcodec/utvideoenc.c libavcodec/vc1dec.c libavcodec/wmalosslessdec.c libavformat/adxdec.c libavformat/aiffdec.c libavformat/apc.c libavformat/apetag.c libavformat/avidec.c libavformat/bink.c libavformat/cafdec.c libavformat/flvdec.c libavformat/id3v2.c libavformat/isom.c libavformat/matroskadec.c libavformat/mov.c libavformat/mpc.c libavformat/mpc8.c libavformat/mpegts.c libavformat/mvi.c libavformat/mxfdec.c libavformat/mxg.c libavformat/nutdec.c libavformat/oggdec.c libavformat/oggparsecelt.c libavformat/oggparseflac.c libavformat/oggparseopus.c libavformat/oggparsespeex.c libavformat/omadec.c libavformat/rawdec.c libavformat/riffdec.c libavformat/rl2.c libavformat/rmdec.c libavformat/rtpdec_latm.c libavformat/rtpdec_mpeg4.c libavformat/rtpdec_qdm2.c libavformat/rtpdec_svq3.c libavformat/sierravmd.c libavformat/smacker.c libavformat/smush.c libavformat/spdifenc.c libavformat/takdec.c libavformat/tta.c libavformat/utils.c libavformat/vqf.c libavformat/westwood_vqa.c libavformat/xmv.c libavformat/xwma.c libavformat/yop.c Merged-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>
* 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>
* avcodec: Add a min size parameter to ff_alloc_packet2()Michael Niedermayer2015-07-27
| | | | | | | | This parameter can be used to inform the allocation code about how much downsizing might occur, and can be used to optimize how to allocate the packet Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'd6604b29ef544793479d7fb4e05ef6622bb3e534'Michael Niedermayer2015-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd6604b29ef544793479d7fb4e05ef6622bb3e534': Gather all coded_frame allocations and free functions to a single place Conflicts: libavcodec/a64multienc.c libavcodec/asvenc.c libavcodec/cljrenc.c libavcodec/dpxenc.c libavcodec/dvenc.c libavcodec/gif.c libavcodec/huffyuvenc.c libavcodec/jpeglsenc.c libavcodec/libopenjpegenc.c libavcodec/libtheoraenc.c libavcodec/libvpxenc.c libavcodec/mpegvideo_enc.c libavcodec/nvenc.c libavcodec/pngenc.c libavcodec/proresenc_kostya.c libavcodec/sunrastenc.c libavcodec/tiffenc.c libavcodec/utils.c libavcodec/utvideoenc.c libavcodec/v210enc.c libavcodec/v410enc.c libavcodec/xbmenc.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/proresenc_anatoliy: Use more specific error codesMichael Niedermayer2015-06-04
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/proresenc_anatoliy: Check av_frame_alloc() return codeMichael Niedermayer2015-06-02
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* proresenc_anatoliy: use put_sbits()James Almer2015-04-18
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* lavc: use LOCAL_ALIGNED instead of DECLARE_ALIGNEDChristophe Gisquet2015-03-14
| | | | | | The later may yield incorrect code for on-stack variables. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec: use av_frame_free() for coded_frameClément Bœsch2015-03-02
|
* Fix buffer_size argument to init_put_bits() in multiple encoders.Dyami Caliri2015-02-26
| | | | | | | Several encoders were multiplying the buffer size by 8, in order to get a bit size. However, the buffer_size argument is for the byte size of the buffer. We had experienced crashes encoding prores (Anatoliy) at size 4096x4096.
* Merge commit '2d60444331fca1910510038dd3817bea885c2367'Michael Niedermayer2014-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | * commit '2d60444331fca1910510038dd3817bea885c2367': dsputil: Split motion estimation compare bits off into their own context Conflicts: configure libavcodec/Makefile libavcodec/arm/Makefile libavcodec/dvenc.c libavcodec/error_resilience.c libavcodec/h264.h libavcodec/h264_slice.c libavcodec/me_cmp.c libavcodec/me_cmp.h libavcodec/motion_est.c libavcodec/motion_est_template.c libavcodec/mpeg4videoenc.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/x86/Makefile libavcodec/x86/me_cmp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/proresenc_anatoliy: check against maximum dimensionsMichael Niedermayer2014-07-08
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'a9aee08d900f686e966c64afec5d88a7d9d130a3'Michael Niedermayer2014-07-08
| | | | | | | | | | | | | | | | | | * commit 'a9aee08d900f686e966c64afec5d88a7d9d130a3': dsputil: Split off FDCT bits into their own context Conflicts: configure libavcodec/Makefile libavcodec/asvenc.c libavcodec/dnxhdenc.c libavcodec/dsputil.c libavcodec/mpegvideo.h libavcodec/mpegvideo_enc.c libavcodec/x86/Makefile libavcodec/x86/dsputilenc_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/proresenc_anatoliy: simplify get()Michael Niedermayer2014-05-30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/proresenc_anatoliy: load 4 samples at a time in get()Michael Niedermayer2014-05-30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/proresenc_anatoliy: Use fdct from DSPContext instead of direct call.Michael Niedermayer2014-05-30
| | | | | Based-on: a55546f48d55e3d1155840541b2be5f4f8cf18ab by Diego Biurrun Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/proresenc_anatoliy: Set bits_per_raw_sampleMichael Niedermayer2014-05-30
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/proresenc_anatoliy: Fix () in macrosMichael Niedermayer2014-05-25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>