[FFmpeg-devel] [PATCH 1/2 v2] avutil: add a Tile Grid API
Anton Khirnov
anton at khirnov.net
Sun Jan 21 08:27:00 EET 2024
Quoting James Almer (2024-01-20 23:04:06)
> This includes a struct and helpers. It will be used to support container level
> cropping and tiled image formats, but should be generic enough for general
> usage.
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> Extended to include fields used for cropping. Should make the struct reusable
> even for non tiled images, e.g. setting both rows and tiles to 1, in which case
> tile width and height would become analogous to coded_{witdh,height}.
But why? What does cropping have to do with tiling? What advantage is
there to handling them in one struct?
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list