Lines Matching defs:width
79 uint8_t col, row, width, height;
153 b->width = (col < s->cols - 1) ?
165 encbuf += b->width * b->height * 3;
166 databuf = databuf ? databuf + b->width * b->height * 6 : NULL;
226 if ((avctx->width > 4095) || (avctx->height > 4095)) {
231 if ((avctx->width < 16) || (avctx->height < 16)) {
237 if ((ret = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 0)
245 s->image_width = avctx->width;
416 memcpy(ptr + i * b->width * 3, src + i * stride, b->width * 3);
417 b->sl_begin = ptr + i * b->width * 3;
419 memcpy(ptr + i * b->width * 3, src + i * stride, b->width * 3);
420 b->sl_end = ptr + i * b->width * 3;
422 memcpy(ptr + i * b->width * 3, src + i * stride, b->width * 3);
423 b->enc_size = ptr + i * b->width * 3 - b->enc;
539 int width, int height, int stride)
546 const uint8_t * src, int width, int dist)
549 for (x = 0; x < width; x++) {
561 ptr += encode_15_7_sl(palette, ptr, src + i * stride, b->width, dist);
564 ptr += encode_15_7_sl(palette, ptr, src + i * stride, b->width, dist);
567 ptr += encode_15_7_sl(palette, ptr, src + i * stride, b->width, dist);
576 unsigned buf_size = b->width * b->height * 6;
612 if (memcmp(src, frame, b->width * 3) != 0) {
614 memcpy(frame, src, b->width * 3);
619 if (memcmp(src, key, b->width * 3) != 0) {
766 double width = block_size_fraction * sqrt(0.5 * save * s->rows * s->cols) * s->image_width;
767 int pwidth = ((int) width);