aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/loongarch/yuv2rgb_lsx.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-10-10 12:16:44 +0200
committerNiklas Haas <git@haasn.dev>2024-11-21 12:49:56 +0100
commit2d077f9acda4946b3455ded5778fb3fc7e85bba2 (patch)
tree44ab5d5889e65b4067fbe54f4e7966a31f4c9f13 /libswscale/loongarch/yuv2rgb_lsx.c
parent10d1be262126f1699a89b54cf5f23a5370c57cb5 (diff)
downloadffmpeg-2d077f9acda4946b3455ded5778fb3fc7e85bba2.tar.gz
swscale/internal: group user-facing options togetherHEADmaster
This is a preliminary step to separating these into a new struct. This commit contains no functional changes, it is a pure search-and-replace. Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas <git@haasn.dev>
Diffstat (limited to 'libswscale/loongarch/yuv2rgb_lsx.c')
-rw-r--r--libswscale/loongarch/yuv2rgb_lsx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libswscale/loongarch/yuv2rgb_lsx.c b/libswscale/loongarch/yuv2rgb_lsx.c
index f2f424265f..6339d07d6c 100644
--- a/libswscale/loongarch/yuv2rgb_lsx.c
+++ b/libswscale/loongarch/yuv2rgb_lsx.c
@@ -128,9 +128,9 @@
\
YUV2RGB_LOAD_COE \
\
- h_size = c->dstW >> 4; \
- res = (c->dstW & 15) >> 1; \
- vshift = c->srcFormat != AV_PIX_FMT_YUV422P; \
+ h_size = c->opts.dst_w >> 4; \
+ res = (c->opts.dst_w & 15) >> 1; \
+ vshift = c->opts.src_format != AV_PIX_FMT_YUV422P; \
for (y = 0; y < srcSliceH; y += 2) { \
dst_type av_unused *r, *g, *b; \
dst_type *image1 = (dst_type *)(dst[0] + (y + srcSliceY) * dstStride[0]);\
@@ -156,9 +156,9 @@
\
YUV2RGB_LOAD_COE \
\
- h_size = c->dstW >> 4; \
- res = (c->dstW & 15) >> 1; \
- vshift = c->srcFormat != AV_PIX_FMT_YUV422P; \
+ h_size = c->opts.dst_w >> 4; \
+ res = (c->opts.dst_w & 15) >> 1; \
+ vshift = c->opts.src_format != AV_PIX_FMT_YUV422P; \
for (y = 0; y < srcSliceH; y += 2) { \
int yd = y + srcSliceY; \
dst_type av_unused *r, *g, *b; \