avcodec_align_dimensions2

Modify width and height values so that they will result in a memory buffer that is acceptable for the codec if you also ensure that all line sizes are a multiple of the respective linesize_aligni.

May only be used if a codec with AV_CODEC_CAP_DR1 has been opened.

extern (C) @nogc nothrow
void
avcodec_align_dimensions2
(,
int* width
,
int* height
,
ref int[AV_NUM_DATA_POINTERS] linesize_align
)

Meta