Lines Matching defs:width

94     int width;
118 int width;
796 rect->w = region->width;
800 rect->linesize[0] = region->width;
909 if ((*buf!=0xf0 && x_pos >= region->width) || y_pos >= region->height) {
910 av_log(avctx, AV_LOG_ERROR, "Invalid object location! %d-%d %d-%d %02x\n", x_pos, region->width, y_pos, region->height, *buf);
923 x_pos = dvbsub_read_2bit_string(avctx, pbuf + (y_pos * region->width),
924 region->width, &buf, buf_end - buf,
938 x_pos = dvbsub_read_4bit_string(avctx, pbuf + (y_pos * region->width),
939 region->width, &buf, buf_end - buf,
948 x_pos = dvbsub_read_8bit_string(avctx, pbuf + (y_pos * region->width),
949 region->width, &buf, buf_end - buf,
1178 region->width = AV_RB16(buf);
1183 ret = av_image_check_size2(region->width, region->height, avctx->max_pixels, AV_PIX_FMT_PAL8, 0, avctx);
1184 if (ret >= 0 && region->width * region->height * 2 > 320 * 1024 * 8) {
1189 region->width= region->height= 0;
1193 if (region->width * region->height != region->buf_size) {
1196 region->buf_size = region->width * region->height;
1201 region->width =
1229 ff_dlog(avctx, "Region %d, (%dx%d)\n", region_id, region->width, region->height);
1268 if (display->x_pos >= region->width ||
1410 display_def->width = bytestream_get_be16(&buf) + 1;
1412 if (!avctx->width || !avctx->height) {
1413 int ret = ff_set_dimensions(avctx, display_def->width, display_def->height);
1423 display_def->width = bytestream_get_be16(&buf) - display_def->x + 1;
1521 if (got_segment == 15 && !got_dds && !avctx->width && !avctx->height) {
1523 avctx->width = 720;