Lines Matching defs:par
79 static void calculate_height(AVCodecParameters *par, uint64_t fsize)
81 par->height = (fsize / ((par->width>>3)*2)) << 4;
124 static void predict_width(AVCodecParameters *par, uint64_t fsize, int got_width)
128 par->width = fsize > 4000 ? (160<<3) : (80<<3);
145 AVCodecParameters par;
147 par.width = par.height = 0;
151 predict_width(&par, p->buf_size, got_width);
152 if (par.width < 8)
154 calculate_height(&par, p->buf_size);
155 if (par.height <= 0)
158 if (par.width * par.height * 2 / (8*16) == p->buf_size)