[FFmpeg-devel] [PATCH v3] avcodec/videotoolbox: add AV1 hardware acceleration

Cameron Gutman aicommander at gmail.com
Sat Sep 28 07:53:02 EEST 2024


On Thu, Sep 26, 2024 at 4:25 PM Martin Storsjö <martin at martin.st> wrote:
>
> From: Jan Ekström <jeebjp at gmail.com>
>
> Use AV1DecContext's current_obu to access the original OBUs, and
> feed them to videotoolbox, rather than the bare slice data passed
> via decode_slice.
>
> This requires a small addition to AV1DecContext, for keeping track
> of the current range of OBUs that belong to the current frame.
>
> Co-authored-by: Ruslan Chernenko <ractyfree at gmail.com>
> Co-authored-by: Martin Storsjö <martin at martin.st>
> ---
> v3: Adjust where nb_unit/start_unit are set, add code comments explaining
> the roles of nb_unit/start_unit.
> ---

I've got 3 positive reports from folks testing this version, so LGTM.


More information about the ffmpeg-devel mailing list