android_external_ffmpeg/tests
Leo Izen 784aa09fa8
avcodec/exif: parse additional EXIF IFDs
Most EXIF metadata is in IFD0 and most EXIF payloads only contain
one IFD, but it is possible for there to be more IFDs after the
existing trailing one. exiftool and similar software report these IFDs
as IFD1, IFD2, etc. This commit reads those additional IFDs and attaches
them as dummy entries in the top-level IFD ranging from 0xFFFC down to
0xFFED, which are unused by the EXIF spec. The EXIF API is only able to
return and work with a single IFD, so by attaching it as a subdirectory
this metadata can be preserved.

This is done transparently through the read/write process. Upon parsing
an additional IFD1, it will be attached, but it will be written with
av_exif_write after IFD0 rather than as a subdirectory, as intended.

Existing files without more than one IFD, i.e. most files, will be unaffected
by this change, as well as API clients looking to parse specific fields, but
now more metadata is parsed and written, rather than simply being discarded
as trailing data.

Signed-off-by: Leo Izen <leo.izen@gmail.com>
2025-12-20 11:53:23 -05:00
..
api api-h264-test: indent output 2025-10-25 11:11:41 +02:00
checkasm tests/checkasm/llviddsp: Reindent after the previous commit 2025-12-19 20:55:33 +01:00
fate tests/fate/demux: add a raw JPEG-XS demux test 2025-12-16 10:38:56 -03:00
filtergraphs
maps
ref avcodec/exif: parse additional EXIF IFDs 2025-12-20 11:53:23 -05:00
streamgroups
.gitignore
audiogen.c
audiomatch.c
base64.c
copycooker.sh
extended.ffconcat
fate-run.sh tests: Fix fate-run.sh to handle busybox-w32 absolute paths 2025-12-19 18:38:33 +00:00
fate-valgrind.supp
fate.sh fate.sh: Allow specifying --ar through a separate variable 2025-12-19 18:41:23 +00:00
Makefile tests/fate/demux: add a raw JPEG-XS demux test 2025-12-16 10:38:56 -03:00
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