Lines Matching defs:width
432 if ((err = av_image_check_size(avctx->width, avctx->height, 0, avctx)))
434 s->planesize = FFALIGN(avctx->width, 16) >> 3; // Align plane size in bits to word-boundary
442 s->video_size = FFALIGN(avctx->width, 2) * avctx->height * s->bpp;
445 s->video[0] = av_calloc(FFALIGN(avctx->width, 2) * avctx->height, s->bpp);
446 s->video[1] = av_calloc(FFALIGN(avctx->width, 2) * avctx->height, s->bpp);
539 const uint32_t *const pal, unsigned width)
543 } while (--width);
664 if (x >= width) { \
675 * @param width Width of destination buffer (pixels)
679 static void decode_rgb8(GetByteContext *gb, uint8_t *dst, int width, int height, int linesize)
692 * @param width Width of destination buffer (pixels)
696 static void decode_rgbn(GetByteContext *gb, uint8_t *dst, int width, int height, int linesize)
712 * @param width Width of destination buffer (pixels)
716 static void decode_deep_rle32(uint8_t *dst, const uint8_t *src, int src_size, int width, int height, int linesize)
726 int length = FFMIN(size - i, width - x);
733 if (x >= width) {
746 if (x >= width) {
763 * @param width Width of destination buffer (pixels)
768 static void decode_deep_tvdc32(uint8_t *dst, const uint8_t *src, int src_size, int width, int height, int linesize, const int16_t *tvdc)
787 d = FFMIN(d, width - x);
793 if (x >= width) {
1596 int raw_width = avctx->width * (av_get_bits_per_pixel(desc) >> 3);
1603 for (x = 0; x < avctx->width; x++)
1614 memset(row, 0, avctx->width);
1633 memset(row, 0, avctx->width << 2);
1645 memcpy(row, buf, FFMIN(avctx->width, buf_end - buf));
1646 buf += avctx->width + (avctx->width % 2); // padding if odd
1651 memcpy(s->ham_buf, buf, FFMIN(avctx->width, buf_end - buf));
1652 buf += avctx->width + (avctx->width & 1); // padding if odd
1669 memset(row, 0, avctx->width);
1682 memset(s->mask_buf, 0, avctx->width * sizeof(uint32_t));
1687 lookup_pal_indicies((uint32_t *)row, s->mask_buf, s->mask_palbuf, avctx->width);
1707 memset(row, 0, avctx->width << 2);
1718 buf += decode_byterun(row, avctx->width, gb);
1723 buf += decode_byterun(s->ham_buf, avctx->width, gb);
1730 decode_deep_rle32(frame->data[0], buf, buf_size, avctx->width, avctx->height, frame->linesize[0]);
1778 decode_rgb8(gb, frame->data[0], avctx->width, avctx->height, frame->linesize[0]);
1780 decode_rgbn(gb, frame->data[0], avctx->width, avctx->height, frame->linesize[0]);
1787 decode_deep_tvdc32(frame->data[0], buf, buf_size, avctx->width, avctx->height, frame->linesize[0], s->tvdc);
1795 decode_short_horizontal_delta(s->video[0], buf, buf_end, avctx->width, s->bpp, s->video_size);
1799 decode_byte_vertical_delta(s->video[0], buf, buf_end, avctx->width, s->is_brush, s->bpp, s->video_size);
1804 decode_short_vertical_delta(s->video[0], buf, buf_end, avctx->width, s->bpp, s->video_size);
1806 decode_long_vertical_delta(s->video[0], buf, buf_end, avctx->width, s->bpp, s->video_size);
1811 decode_short_vertical_delta2(s->video[0], buf, buf_end, avctx->width, s->bpp, s->video_size);
1813 decode_long_vertical_delta2(s->video[0], buf, buf_end, avctx->width, s->bpp, s->video_size);
1817 decode_delta_j(s->video[0], buf, buf_end, avctx->width, avctx->height, s->bpp, s->video_size);
1823 decode_delta_d(s->video[0], buf, buf_end, avctx->width, s->is_interlaced, s->bpp, s->video_size);
1829 decode_delta_e(s->video[0], buf, buf_end, avctx->width, s->is_interlaced, s->bpp, s->video_size);
1833 decode_delta_l(s->video[0], buf, buf_end, avctx->width, s->is_short, s->bpp, s->video_size);
1848 memset(row, 0, avctx->width);