1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
FFmpeg/tests/ref/vsynth
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
..
vsynth1-asv1
vsynth1-asv2
vsynth1-cljr
vsynth1-dnxhd-720p
vsynth1-dnxhd-720p-10bit dnxhddata: Fix 10-bit DNxHD quant matrices 2015-10-02 13:11:57 +02:00
vsynth1-dnxhd-720p-rd
vsynth1-dnxhd-1080i
vsynth1-dv
vsynth1-dv-50
vsynth1-dv-411
vsynth1-ffv1
vsynth1-ffvhuff
vsynth1-flashsv lavf: replace AVStream.codec with AVStream.codecpar 2016-02-23 17:01:58 +01:00
vsynth1-flv lavf: replace AVStream.codec with AVStream.codecpar 2016-02-23 17:01:58 +01:00
vsynth1-h261 h261: Signal freeze picture release for intra frames 2015-07-07 15:11:15 +02:00
vsynth1-h263
vsynth1-h263-obmc
vsynth1-h263p
vsynth1-huffyuv
vsynth1-jpegls
vsynth1-ljpeg
vsynth1-mjpeg
vsynth1-mpeg1
vsynth1-mpeg1b
vsynth1-mpeg2
vsynth1-mpeg2-422
vsynth1-mpeg2-idct-int
vsynth1-mpeg2-ilace
vsynth1-mpeg2-ivlc-qprd
vsynth1-mpeg2-thread
vsynth1-mpeg2-thread-ivlc
vsynth1-mpeg4 mov: Preserve the metadata even when bit-exactness is requested 2015-06-30 15:34:38 +02:00
vsynth1-mpeg4-adap
vsynth1-mpeg4-adv
vsynth1-mpeg4-error
vsynth1-mpeg4-nr
vsynth1-mpeg4-qpel
vsynth1-mpeg4-qprd
vsynth1-mpeg4-rc
vsynth1-mpeg4-thread
vsynth1-msmpeg4
vsynth1-msmpeg4v2
vsynth1-prores
vsynth1-qtrle
vsynth1-rgb
vsynth1-roqvideo
vsynth1-rv10
vsynth1-rv20
vsynth1-svq1
vsynth1-v210 v210enc: Add SIMD optimised 8-bit and 10-bit encoders 2014-12-05 13:03:49 +00:00
vsynth1-v210-10 fate: add 10-bit v210 encoder tests 2016-01-21 11:18:42 +01:00
vsynth1-wmv1
vsynth1-wmv2
vsynth1-yuv
vsynth2-asv1 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-asv2 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-cljr Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-dnxhd-720p Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-dnxhd-720p-10bit dnxhddata: Fix 10-bit DNxHD quant matrices 2015-10-02 13:11:57 +02:00
vsynth2-dnxhd-720p-rd Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-dnxhd-1080i Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-dv Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-dv-50 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-dv-411 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-ffv1 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-ffvhuff Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-flashsv lavf: replace AVStream.codec with AVStream.codecpar 2016-02-23 17:01:58 +01:00
vsynth2-flv lavf: replace AVStream.codec with AVStream.codecpar 2016-02-23 17:01:58 +01:00
vsynth2-h261 h261: Signal freeze picture release for intra frames 2015-07-07 15:11:15 +02:00
vsynth2-h263 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-h263-obmc Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-h263p Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-huffyuv Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-jpegls Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-ljpeg Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mjpeg Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg1 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg1b Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg2 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg2-422 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg2-idct-int Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg2-ilace Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg2-ivlc-qprd Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg2-thread Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg2-thread-ivlc Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg4 mov: Preserve the metadata even when bit-exactness is requested 2015-06-30 15:34:38 +02:00
vsynth2-mpeg4-adap Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg4-adv Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg4-error Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg4-nr Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg4-qpel Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg4-qprd Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg4-rc Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-mpeg4-thread Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-msmpeg4 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-msmpeg4v2 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-prores Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-qtrle Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-rgb Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-roqvideo Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-rv10 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-rv20 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-svq1 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-v210 v210enc: Add SIMD optimised 8-bit and 10-bit encoders 2014-12-05 13:03:49 +00:00
vsynth2-v210-10 fate: add 10-bit v210 encoder tests 2016-01-21 11:18:42 +01:00
vsynth2-wmv1 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-wmv2 Replace lena.pnm 2014-11-28 17:55:27 -05:00
vsynth2-yuv Replace lena.pnm 2014-11-28 17:55:27 -05:00