Lines Matching defs:width

207     int width;                          /* image width */
213 /* reduced width when using a color indexing transform with <= 16 colors (pixel packing)
214 * before pixels are unpacked, or same as width otherwise. */
450 for (x = 0; x < img->frame->width; x++) {
519 s->reduced_width = (s->width + ((1 << width_bits) - 1)) >> width_bits;
523 for (x = 4; x < img->frame->width * 4; x++, ct++)
557 int i, j, ret, x, y, width;
569 img->frame->width = w;
624 width = img->frame->width;
626 width = s->reduced_width;
647 if (x == width) {
682 distance = FFMAX(1, xi + yi * width);
695 while (distance >= width) {
697 distance -= width;
700 ref_x = width - distance;
718 if (x == width) {
722 if (ref_x == width) {
745 if (x == width) {
910 if (x == frame->width - 1)
1024 for (x = 0; x < img->frame->width; x++) {
1035 s->reduced_width = s->width; // we are back to full size
1039 if (img->frame->height * img->frame->width > 300) {
1041 const int size = pal->frame->width * 4;
1047 for (x = 0; x < img->frame->width; x++) {
1055 for (x = 0; x < img->frame->width; x++) {
1058 if (i >= pal->frame->width) {
1074 if (s->width && s->width != w) {
1076 s->width, w);
1078 s->width = w;
1113 ret = ff_set_dimensions(avctx, s->width, s->height);
1124 if (!s->width || !s->height)
1126 w = s->width;
1132 s->reduced_width = s->width;
1208 for (x = 1; x < frame->width; x++, dec++)
1221 for (x = 1; x < frame->width; x++, dec++)
1228 for (x = 1; x < frame->width; x++, dec++)
1235 for (x = 1; x < frame->width; x++, dec++)
1255 s->width);
1279 for (x = 0; x < s->width; x++) {
1326 update_canvas_size(avctx, avctx->width, avctx->height);
1347 s->width = 0;
1410 if (s->width || s->height || *got_frame) {
1416 s->width = bytestream2_get_le24(&gb) + 1;
1418 ret = av_image_check_size(s->width, s->height, 0, avctx);