ffmpeg/tests
Andreas Rheinhardt 518bbe9eac h264_mp4toannexb: Try to avoid four byte startcodes
According to the H.264 specifications, the only NAL units that need to
have four byte startcodes in H.264 Annex B format are SPS/PPS units and
units that start a new access unit. Before af7e953a, the first of these
conditions wasn't upheld as already existing in-band parameter sets
would not automatically be written with a four byte startcode, but only
when they already were at the beginning of their input packets. But it
made four byte startcodes be used too often as every unit that is written
together with a parameter set that is inserted from extradata received a
four byte startcode although a three byte start code would suffice
unless the unit itself were a parameter set.

FATE has been updated to reflect the changes. Although the patch leaves
the extradata unchanged, the size of the extradata according to the FATE
reports changes. This is due to a quirk in ff_h2645_packet_split which
is used by extract_extradata: If the input is Annex B, the first zero of
a four byte startcode is considered a part of the last unit (if any).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-03-06 00:58:31 +01:00
..
api
checkasm checkasm: sbrdsp: Fix a spurious test failure by calculating a better epsilon for sum_square 2020-02-08 23:00:21 +02:00
dnn dnn: add tf.nn.conv2d support for native model 2019-10-30 10:31:55 -03:00
fate fate/adpcm: add adpcm_ima_apm tests 2020-02-22 20:45:45 +01:00
filtergraphs
ref h264_mp4toannexb: Try to avoid four byte startcodes 2020-03-06 00:58:31 +01:00
.gitignore
Makefile fate: Add an option for disabling the 2k/4k tests 2019-12-17 10:22:29 +02:00
audiogen.c
audiomatch.c
base64.c
copycooker.sh
extended.ffconcat
fate-run.sh fate: Don't use depreceated keepside option 2020-01-10 12:28:18 -03:00
fate-valgrind.supp
fate.sh
md5.sh
refcmp-metadata.awk
reference.pnm
rotozoom.c
simple1.ffconcat
simple2.ffconcat
test.ffmeta
tiny_psnr.c
tiny_ssim.c
utils.c
videogen.c