Lines Matching defs:width
299 ret = av_image_check_size(avctx->width, avctx->height, 0, avctx);
550 if ((avctx->pix_fmt == AV_PIX_FMT_YUV422P || avctx->pix_fmt == AV_PIX_FMT_YUV420P) && avctx->width & 1) {
551 av_log(avctx, AV_LOG_ERROR, "width must be even for this colorspace\n");
555 avctx->width % 4) {
556 av_log(avctx, AV_LOG_ERROR, "width must be a multiple of 4 "
664 static void decode_plane_bitstream(HYuvContext *s, int width, int plane)
666 int i, count = width/2;
679 if( width&1 && BITS_LEFT(re, &s->gb)>0 ) {
684 VLC_INTERN(s->temp[0][width-1], s->vlc[plane].table,
699 if( width&1 && BITS_LEFT(re, &s->gb)>0 ) {
704 VLC_INTERN(s->temp16[0][width-1], s->vlc[plane].table,
718 if( width&1 && get_bits_left(&s->gb)>0 ) {
720 s->temp16[0][width-1] = dst + get_bits(&s->gb, 2);
876 const int width = s->width;
877 const int width2 = s->width >> 1;
891 int w = width;
982 decode_422_bitstream(s, width - 2);
984 width - 2, lefty);
994 decode_gray_bitstream(s, width);
999 width, lefty);
1002 s->llviddsp.add_bytes(ydst, ydst - fake_ystride, width);
1015 decode_422_bitstream(s, width);
1017 width, lefty);
1024 s->llviddsp.add_bytes(ydst, ydst - fake_ystride, width);
1037 decode_422_bitstream(s, width - 2);
1039 width - 2, lefty);
1051 decode_422_bitstream(s, width);
1053 s->temp[0], width, lefty);
1075 decode_422_bitstream(s, width - 4);
1078 width - 4, &lefty, &lefttopy);
1093 decode_gray_bitstream(s, width);
1096 s->temp[0], width,
1105 decode_422_bitstream(s, width);
1112 s->temp[0], width,
1146 decode_bgr_bitstream(s, width - 1);
1148 s->temp[0], width - 1, left);
1151 decode_bgr_bitstream(s, width);
1154 s->temp[0], width, left);
1161 fake_ystride, 4 * width);
1188 const int width = s->width;
1194 if (buf_size < (width * height + 7)/8)