Lines Matching defs:width
304 int len, nb_components, i, width, height, bits, ret, size_change;
337 width = get_bits(&s->gb, 16);
340 if (s->interlaced && s->width == width && s->height == height + 1)
343 av_log(s->avctx, AV_LOG_DEBUG, "sof0: picture: %dx%d\n", width, height);
344 if (av_image_check_size(width, height, 0, s->avctx) < 0)
346 if (s->buf_size && (width + 7) / 8 * ((height + 7) / 8) > s->buf_size * 4LL)
415 width stored in their SOF3 markers is the width of each one. We only output
416 a single component, therefore we need to adjust the output image width. We
418 width *= 2;
420 /* They can also contain 1 component, which is double the width and half the height
426 if (width != s->width || height != s->height || bits != s->bits ||
431 s->width = width;
451 ret = ff_set_dimensions(s->avctx, width, height);
746 s->width, s->height, s->linesize[0], s->linesize[1],
761 int bw = (width + s->h_max * 8 - 1) / (s->h_max * 8);
1078 unsigned width;
1107 width = s->mb_width / nb_components; /* Interleaved, width stored is the total so need to divide */
1109 width = s->mb_width;
1111 av_fast_malloc(&s->ljpeg_buffer, &s->ljpeg_buffer_size, width * 4 * sizeof(s->ljpeg_buffer[0][0]));
1129 if ((mb_y * s->width) % s->restart_interval == 0) {
1134 for (mb_x = 0; mb_x < width; mb_x++) {
1219 for (mb_x = 0; mb_x < width; mb_x++)
1222 for (mb_x = 0; mb_x < width; mb_x++) {
1295 if ( h * mb_x + x >= s->width
1366 if ( h * mb_x + x >= s->width
1456 chroma_width = AV_CEIL_RSHIFT(s->width, chroma_h_shift);
1495 if ( 8*(h * mb_x + x) < ((c == 1) || (c == 2) ? chroma_width : s->width)
1620 int mb_width = (s->width + h * block_size - 1) / (h * block_size);
1658 if (reference->width != s->picture_ptr->width ||
1726 s->mb_width = (s->width + s->h_max * block_size - 1) / (s->h_max * block_size);
1731 s->mb_width = (s->width + h * block_size - 1) / (h * block_size);
2372 frame->width = avctx->coded_width;
2690 int w = s->width;
2752 int w = s->width;
2783 int w = s->picture_ptr->width;
2801 int w = s->picture_ptr->width;
2824 int w = s->picture_ptr->width;