Lines Matching defs:img
24 void Add(const vpx_image_t *img) {
26 const uint8_t *buf = img->planes[plane];
32 (img->fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? 2 : 1;
33 const int h = plane ? (img->d_h + img->y_chroma_shift) >>
34 img->y_chroma_shift : img->d_h;
35 const int w = (plane ? (img->d_w + img->x_chroma_shift) >>
36 img->x_chroma_shift : img->d_w) * bytes_per_sample;
40 buf += img->stride[plane];