android_external_ffmpeg/tests/ref
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
..
acodec avcodec/adpcm: improve decooding output for 4-bit ADPCM IMA WAV 2025-09-22 23:46:29 +00:00
fate avcodec/exif: parse additional EXIF IFDs 2025-12-20 11:53:23 -05:00
lavf swscale/range_convert: fix truncation bias in range conversion 2025-11-06 20:36:08 +00:00
lavf-fate Revert "avformat/rawdec: set framerate in codec parameters" 2025-12-04 01:59:04 +00:00
pixfmt swscale/range_convert: fix truncation bias in range conversion 2025-11-06 20:36:08 +00:00
seek swscale/range_convert: fix truncation bias in range conversion 2025-11-06 20:36:08 +00:00
vsynth fate/vcodec: Test median prediction in ffvhuff,huffyuv 2025-12-14 10:13:29 +01:00