Lines Matching defs:top
558 static int old_codec1(SANMVideoContext *ctx, int top,
561 uint8_t *dst = ((uint8_t *)ctx->frm0) + left + top * ctx->pitch;
624 static int old_codec37(SANMVideoContext *ctx, int top,
641 if (decoded_size > ctx->height * stride - left - top * stride) {
642 decoded_size = ctx->height * stride - left - top * stride;
651 dst = ((uint8_t*)ctx->frm0) + left + top * stride;
652 prev = ((uint8_t*)ctx->frm2) + left + top * stride;
860 static int old_codec47(SANMVideoContext *ctx, int top,
866 uint8_t *dst = (uint8_t *)ctx->frm0 + left + top * stride;
879 if (decoded_size > ctx->height * stride - left - top * stride) {
880 decoded_size = ctx->height * stride - left - top * stride;
955 uint16_t top = bytestream2_get_le16u(&ctx->gb);
964 if (ctx->width < left + w || ctx->height < top + h) {
966 FFMAX(top + h, ctx->height));
970 FFMAX(top + h, ctx->height));
981 return old_codec1(ctx, top, left, w, h);
983 return old_codec37(ctx, top, left, w, h);
985 return old_codec47(ctx, top, left, w, h);