Anton Khirnov
c584409643
lavc: add a flag for exporting AVVideoEncParams from decoders
5 years ago
Paul B Mahol
d64cbd4fda
remove CHAR_MIN/CHAR_MAX usage
...
It is not needed at all.
5 years ago
James Almer
d005a7cdfd
avcodec: add an AVCodecContext flag to export PRFT side data on demand
...
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
James Almer
c666689491
avcodec: add an AVCodecContext field to signal types of packet, frame, and coded stream side data to export
...
Add an initial mvs flag to is, analog to the export_mvs flags2 one.
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Michael Niedermayer
4cfc563c57
avcodec/options_table: err_detect compliant and aggressive should also enable the weaker checks
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Jun Zhao
d9bb12ee39
lavc/options_table: Correct the flags for AVCodecContext.flags2
...
Correct the flags for AVCodecContext.flags2.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
5 years ago
Michael Niedermayer
f8406ab4b9
avcodec: add max_samples
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years ago
Raphaël Zumer
a12b629ae1
avcodec: Support EBU Tech. 3213-E primaries values
...
Signed-off-by: Raphaël Zumer <rzumer@tebako.net>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Gyan Doshi
3153a6502a
avcodec: add AV_CODEC_FLAG_DROPCHANGED to flags
...
Discard decoded frames which differ from first decoded frame in stream.
6 years ago
Michael Niedermayer
5bcefceec8
avcodec: Add discard_sample_percentage
...
Suggested-by: BBB
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
6 years ago
Jun Zhao
90c4534206
lavc/options_table: Change some options location in opt table.
...
Change the some options location in avcodec_options to make code more
readable. And update the fate test with this change.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
wm4
b7d0d912ef
avcodec: add a subcharenc mode that disables UTF-8 check
...
This is for applications which want to explicitly check for invalid
UTF-8 manually, and take actions that are better than dropping invalid
subtitles silently. (It's pretty much silent because sporadic avcodec
error messages are so common that you can't reasonably display them in a
prominent and meaningful way in a application GUI.)
7 years ago
Aurelien Jacobs
ff4600d954
sbc: implement SBC encoder (low-complexity subband codec)
...
This was originally based on libsbc, and was fully integrated into ffmpeg.
7 years ago
Mark Thompson
5b145290df
lavc: Add support for increasing hardware frame pool sizes
...
AVCodecContext.extra_hw_frames is added to the size of hardware frame
pools created by libavcodec for APIs which require fixed-size pools.
This allows the user to keep references to a greater number of frames
after decode, which may be necessary for some use-cases.
It is also added to the initial_pool_size value returned by
avcodec_get_hw_frames_parameters() if a fixed-size pool is required.
7 years ago
James Almer
eb5f846339
avcodec: drop deprecated vismv option
...
Deprecated in 08/2014.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Jun Zhao
71e2ec017a
lavc: enable hwaccel_flags option
...
Enable per-stream hwaccel_flags.
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
7 years ago
James Almer
8a0954dd51
avcodec: add missing FF_API_DEBUG_MV wrappers
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Vittorio Giovara
0648dec19d
lavc: Drop deprecated stream codec tag
...
Deprecated in 07/2015.
8 years ago
Vittorio Giovara
94eed68ace
lavc: Drop deprecated options moved to private contexts
...
Deprecated in 10/2014 and 07/2015.
8 years ago
Vittorio Giovara
5182a28b5d
lavc: Drop deprecated global afd field
...
Deprecated in 08/2014.
8 years ago
Vittorio Giovara
bb45d11282
lavc: Drop deprecated codec flags
...
Deprecated between 04/2014 - 05/2015.
8 years ago
Vittorio Giovara
302554835e
lavc: Drop deprecated unused public members
...
Deprecated in 07/2014.
8 years ago
Vittorio Giovara
b3739599bd
lavc: Drop deprecated emu edge functionality
...
Deprecated in 01/2014.
8 years ago
Vittorio Giovara
cbebc3251b
lavc: Drop deprecated public symbols
...
qscale types and maximum number of bframes deprecated in 10/2013.
Negative linesizes deprecated in 11/2013.
xvidmmx deprecated in 08/2014.
8 years ago
Vittorio Giovara
72dc7ddd18
lavc: Drop deprecated error rate option
...
Deprecated in 10/2013.
8 years ago
Diego Biurrun
dcc39ee10e
lavc: Remove deprecated XvMC support hacks
...
Deprecated in 11/2013.
8 years ago
Vittorio Giovara
0871e23377
lavc: Drop deprecated architectures symbols
...
Alpha deprecated in 11/2013.
Sh4 and sparc deprecated in 01/2014.
8 years ago
Vittorio Giovara
0c7986df44
lavc: Drop deprecated workaround bugs options
...
Illegal ac_vlc and old msmpeg4 detection deprecated in 10/2013.
8 years ago
Vittorio Giovara
8933ac2079
lavc: Drop deprecated debug mv functionality
...
Deprecated in 10/2013.
8 years ago
Anton Khirnov
019ab88a95
lavc: add an option for exporting cropping information to the caller
...
Also, add generic code for handling cropping, so the decoders can export
just the cropping size and not bother with the rest.
8 years ago
Michael Niedermayer
2f07830e69
avcodec: Add max_pixels options
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Vittorio Giovara
5168026a05
options_table: Do not rely on enum size as option bound
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Michael Niedermayer
69f7dd3524
avcodec/options_table: make channel_layouts uint64
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Andreas Cadhalpun
7289aa2d71
options_table: limit codec parameters to sane values
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years ago
Michael Niedermayer
2c9106257f
avcodec/mpeg4videodec: Workaround interlaced mpeg4 edge MC bug
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Vittorio Giovara
bed2c4b265
lavc: Add hevc main10 profile to avconv cli
8 years ago
Vittorio Giovara
17dac56b8f
lavu: Rename ycgco color space appropriately
...
Planes are ordered as the name suggests now.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Martin Storsjö
1a469a5e42
options_table: Remove a now unnecessary include of config.h
...
The include of config.h was added in 2012 in 1d9c2dc8
, due to
the use of CONFIG_SNOW_ENCODER ifdefs within options_table.h.
When the snow codec was dropped later (in a0c5917f8
in 2013),
this include no longer served any purpose.
options_table.h is included in builds for the host as well, when
building documentation. config.h should not be included in code
that is built for the host, since it can contain workarounds
for the target compiler/environment, like adding a missing define
of restrict, defining getenv(x) to NULL for environments that lack
getenv.
The seemingly innocent include reordering in 2025d37871
broke
builds that have getenv(x) defined to NULL in config.h (Windows CE
and Windows Phone/RT), since libavcodec/options_table.h include
config.h, while libavformat/options_table.h end up bringing in
more system headers, and those system headers can contain a proper
definition of getenv, which clash with the getenv define in config.h.
This was avoided earlier as long as libavformat/options_table.h (or
avformat.h) was included before libavcodec/options_table.h.
This fixes builds for Windows Phone/RT and CE.
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Vittorio Giovara
271afd632f
lavc: Add hevc main10 profile to ffmpeg cli
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Vittorio Giovara
0d9b9bd37f
lavu: Add JEDEC P22 color primaries
8 years ago
Stanislav Dolganov
4edd74bd7c
avcodec/me_cmp: add median SAD compare function
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vittorio Giovara
7a745f014f
options_table: Add aliases for color properties
...
All option names now match the ones provided by the av_color_*_name().
9 years ago
Vittorio Giovara
f172e22d6a
pixdesc: Add aliases to SMPTE color properties
...
Drop ST from names and symbols, it does not add anything distinctive or
descriptive.
9 years ago
Vittorio Giovara
a816432337
pixdesc: Add new SMPTE 431, 432, and 2085 color properties
...
Appeared in H.264 2016/02.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Neil Birkbeck
5d560d38de
pixfmt: Add ARIB STD-B76 color transfer characteristic
...
Adding hybrid log-gamma (https://en.wikipedia.org/wiki/Hybrid_Log-Gamma )
based on the standardization in ARIB STD-B67:
http://www.arib.or.jp/english/html/overview/doc/2-STD-B67v1_0.pdf
The choice of enum value of 18 is consistent with HEVC:
http://phenix.it-sudparis.eu/jct/doc_end_user/current_document.php?id=10481
And also with latest proposal for color format in mkv:
https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&q=Colour+Format+proposal
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Andrey Utkin
abb69a2f2b
avcodec: Add "sar" alias to "aspect" option of video encoders
...
It is impossible to pass "aspect" parameter to encoder from ffmpeg CLI
because option from lavc/options_table.h is eclipsed by option with same
name in ffmpeg_opt.c, which has different meaning (DAR, not SAR).
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vittorio Giovara
41ed7ab45f
cosmetics: Fix spelling mistakes
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years ago
Michael Niedermayer
9fcb59c9bc
avcodec/options_table: fix strict compliance constant flags to match the strict field
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Clément Bœsch
22ebbda637
lavc: deprecate decoded ass subtitles with timings
9 years ago
Clément Bœsch
30e7685360
lavc/options: add ass_ro_flush_noop to flags2
9 years ago