mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 10:04:12 +08:00
0f879bab72
Setting the output CSC mode is required for a YUV output, but must not
be set when the input is also YUV. Doing this (as tested with a YUV420P
to YUV420P conversion) results in wrong colors.
Adapt the logic to only set the output CSC mode when the output is YUV and
the input is RGB. Also add a comment to clarify the rationale.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
rga-buf.c | ||
rga-hw.c | ||
rga-hw.h | ||
rga.c | ||
rga.h |