Lines Matching defs:width

79     int width, height;
125 /* NOTE: we try to construct a good looking image at each pass. width
126 * is the original image width. We also do pixel format conversion at
128 static void png_put_interlaced_row(uint8_t *dst, int width,
142 for (x = 0; x < width; x++) {
155 for (x = 0; x < width; x++) {
169 for (x = 0; x < width; x++) {
185 for (x = 0; x < width; x++) {
586 s->width = s->cur_w = bytestream2_get_be32(gb);
588 if (av_image_check_size(s->width, s->height, 0, avctx)) {
589 s->cur_w = s->cur_h = s->width = s->height = 0;
609 av_log(avctx, AV_LOG_DEBUG, "width=%d height=%d depth=%d color_type=%d "
611 s->width, s->height, s->bit_depth, s->color_type,
616 s->cur_w = s->cur_h = s->width = s->height = 0;
651 ret = ff_set_dimensions(avctx, s->width, s->height);
920 i = s->width / 8;
922 if ((s->width&7) >= k)
940 i = s->width / 4;
942 if ((s->width&3) >= 3) pd[4*i + 2]= (pd[i] >> 2) & 3;
943 if ((s->width&3) >= 2) pd[4*i + 1]= (pd[i] >> 4) & 3;
944 if ((s->width&3) >= 1) pd[4*i + 0]= pd[i] >> 6;
952 if ((s->width&3) >= 3) pd[4*i + 2]= ((pd[i]>>2) & 3)*0x55;
953 if ((s->width&3) >= 2) pd[4*i + 1]= ((pd[i]>>4) & 3)*0x55;
954 if ((s->width&3) >= 1) pd[4*i + 0]= ( pd[i]>>6 )*0x55;
968 i = s->width/2;
970 if (s->width&1) pd[2*i+0]= pd[i]>>4;
976 if (s->width & 1) pd[2*i + 0]= (pd[i] >> 4) * 0x11;
1016 (cur_w != s->width ||
1022 cur_w > s->width - x_offset|| cur_h > s->height - y_offset)
1063 int ls = av_image_get_linesize(p->format, s->width, 0);
1065 ls = FFMIN(ls, s->width * s->bpp);
1103 memcpy(dst + y * dst_stride, src + y * src_stride, p->width * bpp);
1108 (p->width - s->cur_w - s->x_offset) * bpp);
1111 memcpy(dst + y * dst_stride, src + y * src_stride, p->width * bpp);
1381 for (int x = s->width - 1; x >= 0; x--) {
1404 uint8_t *pixel = &row[2 * s->width - 1];
1405 uint8_t *rowp = &row[1 * s->width - 1];
1407 for (x = s->width; x > 0; --x) {
1412 uint8_t *pixel = &row[4 * s->width - 1];
1413 uint8_t *rowp = &row[3 * s->width - 1];
1415 for (x = s->width; x > 0; --x) {
1423 for (x = s->width; x > 0; --x) {
1440 && s->last_picture.f->width == p->width
1653 pdst->width = psrc->width;