Lines Matching defs:width
49 * @param[in] width Width of this buffer
53 static void decode_rowskip(uint8_t* plane, int width, int height, int stride,
60 memset(plane, 0, width);
62 for (x = 0; x < width; x++)
70 * @param[in] width Width of this buffer
75 static void decode_colskip(uint8_t* plane, int width, int height, int stride,
80 for (x = 0; x < width; x++) {
104 int width, height, stride;
106 width = v->s.mb_width;
120 if ((height * width) & 1) {
123 if (offset == width) {
125 planep += stride - width;
131 for (; y < height * width; y += 2) {
135 if (offset == width) {
137 planep += stride - width;
141 if (offset == width) {
143 planep += stride - width;
149 if (!(height % 3) && (width % 3)) { // use 2x3 decoding
151 for (x = width & 1; x < width; x += 2) {
166 if (width & 1)
171 for (x = width % 3; x < width; x += 3) {
186 x = width % 3;
190 decode_rowskip(data + x, width - x, 1, stride, &v->s.gb);
194 decode_rowskip(data, width, height, stride, &v->s.gb);
197 decode_colskip(data, width, height, stride, &v->s.gb);
207 for (x = 1; x < width; x++)
212 for (x = 1; x < width; x++) {
455 if (v->s.avctx->width > v->max_coded_width ||
462 v->s.avctx->width * h,