mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 02:52:56 +00: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 |