ROTATE_SIZE
ROTATE_SIZE(ctx->dst_fmt.width, ctx->dst_fmt.height));
ROTATE_SIZE(ctx->src_fmt.width, ctx->src_fmt.height));