Lines Matching defs:pixdesc
909 const AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(picref->format);
913 r_w = FFALIGN((test->w + 6) / 7, 1 << pixdesc->log2_chroma_w);
914 r_h = FFALIGN(test->h * 2 / 3, 1 << pixdesc->log2_chroma_h);
915 w_h = FFALIGN(test->h * 3 / 4 - r_h, 1 << pixdesc->log2_chroma_h);
916 p_w = FFALIGN(r_w * 5 / 4, 1 << pixdesc->log2_chroma_w);
931 tmp = FFALIGN(5 * r_w - x, 1 << pixdesc->log2_chroma_w);
934 tmp = FFALIGN(r_w / 3, 1 << pixdesc->log2_chroma_w);
976 const AVPixFmtDescriptor *pixdesc = av_pix_fmt_desc_get(picref->format);
980 d_w = FFALIGN(test->w / 8, 1 << pixdesc->log2_chroma_w);
981 r_h = FFALIGN(test->h * 7 / 12, 1 << pixdesc->log2_chroma_h);
985 r_w = FFALIGN((((test->w + 3) / 4) * 3) / 7, 1 << pixdesc->log2_chroma_w);
992 r_h = FFALIGN(test->h / 12, 1 << pixdesc->log2_chroma_h);
1008 for (i = 0; i < tmp; i += 1 << pixdesc->log2_chroma_w) {
1016 draw_bar(test, yramp, x, y, 1 << pixdesc->log2_chroma_w, r_h, picref);
1017 x += 1 << pixdesc->log2_chroma_w;
1023 tmp = FFALIGN(r_w * 3 / 2, 1 << pixdesc->log2_chroma_w);
1026 tmp = FFALIGN(r_w * 2, 1 << pixdesc->log2_chroma_w);
1029 tmp = FFALIGN(r_w * 5 / 6, 1 << pixdesc->log2_chroma_w);
1032 tmp = FFALIGN(r_w / 3, 1 << pixdesc->log2_chroma_w);