avpicture_layout

Copy pixel data from an AVPicture into a buffer.

avpicture_get_size() can be used to compute the required size for the buffer to fill.

@param src source picture with filled data @param pix_fmt picture pixel format @param width picture width @param height picture height @param dest destination buffer @param dest_size destination buffer size in bytes @return the number of bytes written to dest, or a negative value (error code) on error, for example if the destination buffer is not big enough

@see av_image_copy_to_buffer()

extern (C)
int
avpicture_layout

Meta