[FFmpeg-devel] [PATCH V6 4/6] lavu: add side data AV_FRAME_DATA_BOUNDING_BOXES

Nicolas George george at nsup.org
Wed Apr 7 13:06:06 EEST 2021


Andreas Rheinhardt (12021-04-07):
> Why a backup implementation?

Because:

> And a generic alignment of (say) 8 can be used as a fallback.

I believe using a pointer to VLA is more elegant than reimplementing the
compiler's feature using _Alignof and clumsy arithmetic, but it is
eventually for whoever writes it to decide.

Also, assuming the alignment is the same as the size is rather a safe
assumption for elementary types.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210407/b3ab0ecf/attachment.sig>


More information about the ffmpeg-devel mailing list