Lines Matching defs:width
54 static int ir2_decode_plane(Ir2Context *ctx, int width, int height, uint8_t *dst,
61 if ((width & 1) || width * height / (2*(IR2_CODES - 0x7F)) > get_bits_left(&ctx->gb))
65 while (out < width) {
69 if (out + c*2 > width)
84 while (out < width) {
91 if (out + c*2 > width)
116 static int ir2_decode_plane_inter(Ir2Context *ctx, int width, int height, uint8_t *dst,
124 if (width & 1)
129 while (out < width) {
190 if ((ret = ir2_decode_plane(s, avctx->width, avctx->height,
196 if ((ret = ir2_decode_plane(s, avctx->width >> 2, avctx->height >> 2,
200 if ((ret = ir2_decode_plane(s, avctx->width >> 2, avctx->height >> 2,
205 if ((ret = ir2_decode_plane_inter(s, avctx->width, avctx->height,
210 if ((ret = ir2_decode_plane_inter(s, avctx->width >> 2, avctx->height >> 2,
214 if ((ret = ir2_decode_plane_inter(s, avctx->width >> 2, avctx->height >> 2,