ffmpeg/tests
Anton Khirnov 9200514ad8 lavf: replace AVStream.codec with AVStream.codecpar
Currently, AVStream contains an embedded AVCodecContext instance, which
is used by demuxers to export stream parameters to the caller and by
muxers to receive stream parameters from the caller. It is also used
internally as the codec context that is passed to parsers.

In addition, it is also widely used by the callers as the decoding (when
demuxer) or encoding (when muxing) context, though this has been
officially discouraged since Libav 11.

There are multiple important problems with this approach:
    - the fields in AVCodecContext are in general one of
        * stream parameters
        * codec options
        * codec state
      However, it's not clear which ones are which. It is consequently
      unclear which fields are a demuxer allowed to set or a muxer allowed to
      read. This leads to erratic behaviour depending on whether decoding or
      encoding is being performed or not (and whether it uses the AVStream
      embedded codec context).
    - various synchronization issues arising from the fact that the same
      context is used by several different APIs (muxers/demuxers,
      parsers, bitstream filters and encoders/decoders) simultaneously, with
      there being no clear rules for who can modify what and the different
      processes being typically delayed with respect to each other.
    - avformat_find_stream_info() making it necessary to support opening
      and closing a single codec context multiple times, thus
      complicating the semantics of freeing various allocated objects in the
      codec context.

Those problems are resolved by replacing the AVStream embedded codec
context with a newly added AVCodecParameters instance, which stores only
the stream parameters exported by the demuxers or read by the muxers.
2016-02-23 17:01:58 +01:00
..
checkasm checkasm: Use standard multiple inclusion guards 2016-02-18 15:35:44 +01:00
fate lavc: Move prediction_method to codec private options 2016-01-21 15:33:19 -05:00
filtergraphs FATE: add a test for the ONE_STR mapping mode of the channelmap filter 2014-03-16 07:44:03 +01:00
ref lavf: replace AVStream.codec with AVStream.codecpar 2016-02-23 17:01:58 +01:00
audiogen.c cosmetics: Write NULL pointer inequality checks more compactly 2014-08-15 05:34:13 -07:00
base64.c tests: K&R formatting cosmetics for test programs 2012-01-18 21:07:17 +01:00
fate-run.sh fate: Reduce the number of frames used to test video filters 2015-05-10 13:49:30 +02:00
fate.sh fate: Ignore errors from concatenating report files 2016-02-23 11:45:37 +01:00
lavf-regression.sh Remove avserver. 2014-06-18 14:55:28 +02:00
Makefile fate: add checkasm target 2015-07-18 01:06:45 +02:00
md5.sh fate: improve md5sum utility selection 2012-10-15 21:40:08 +01:00
reference.pnm Replace lena.pnm 2014-11-28 17:55:27 -05:00
regression-funcs.sh lavf: add AVFMT_FLAG_BITEXACT. 2014-05-15 07:42:07 +02:00
rotozoom.c fate: avoid freopen(NULL) in videogen/rotozoom 2012-06-07 11:28:39 +01:00
tiny_psnr.c tiny_psnr: Support large files 2016-02-09 20:03:34 +01:00
utils.c fate: teach videogen/rotozoom to output a single raw video stream 2012-05-29 08:27:19 +01:00
videogen.c fate: avoid freopen(NULL) in videogen/rotozoom 2012-06-07 11:28:39 +01:00