Go to the documentation of this file.
32 for (
i = 0;
i <
desc->nb_components;
i++) {
38 w = (
w +
img->x_chroma_shift) >>
img->x_chroma_shift;
39 h = (
h +
img->y_chroma_shift) >>
img->y_chroma_shift;
42 for (y = 0; y <
h; y++) {
43 uint16_t *
src = (uint16_t *)(
img->planes[
i] + y *
img->stride[
i]);
45 for (x = 0; x <
w; x++)
const AVPixFmtDescriptor * av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
This structure describes decoded (raw) audio or video data.
uint8_t * data[AV_NUM_DATA_POINTERS]
pointer to the picture/channel planes.
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
int format
format of the frame, -1 if unknown or unset Values correspond to enum AVPixelFormat for video frames,...
#define i(width, name, range_min, range_max)
Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes...
void ff_aom_image_copy_16_to_8(AVFrame *pic, struct aom_image *img)
int linesize[AV_NUM_DATA_POINTERS]
For video, a positive or negative value, which is typically indicating the size in bytes of each pict...