Lines Matching defs:avctx
929 static int decompress_i3(AVCodecContext *avctx, uint32_t *dst, int linesize)
931 SCPRContext *s = avctx->priv_data;
936 uint32_t backstep = linesize - avctx->width;
943 while (k < avctx->width + 1) {
960 if (y >= avctx->height)
967 if (x >= avctx->width) {
976 while (x < avctx->width && y < avctx->height) {
1002 ret = decode_run_i(avctx, ptype, run, &x, &y, clr,
1012 static int decompress_p3(AVCodecContext *avctx,
1016 SCPRContext *s = avctx->priv_data;
1019 int backstep = linesize - avctx->width;
1159 by + mvy + sy1 >= avctx->height || bx + mvx + sx1 >= avctx->width)
1162 for (i = 0; i < sy2 - sy1 && (by + sy1 + i) < avctx->height && (by + mvy + sy1 + i) < avctx->height; i++) {
1163 for (j = 0; j < sx2 - sx1 && (bx + sx1 + j) < avctx->width && (bx + mvx + sx1 + j) < avctx->width; j++) {
1171 if (bx >= avctx->width)
1174 for (; by < y * 16 + sy2 && by < avctx->height;) {
1201 ret = decode_run_p(avctx, ptype, run, x, y, clr,