User Tools

Site Tools


ffmpeg:avpicture_get_size

avpicture_get_size

Overview

Defined in avcodec.h

Calculate the size in bytes that a picture of the given width and height would occupy if stored in the given picture format.

int avpicture_get_size(int pix_fmt, int width, int height);

Parameters

pix_fmt

int pix_fmt

The given picture format. The picture format is one of the PixelFormat values.

width

int width

The width of the image.

height

int height

The height of the image.

Return value

Image data size in bytes.


Back to ffmpeg

ffmpeg/avpicture_get_size.txt · Last modified: 2007/11/26 11:39 by deva