aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2024-08-28 19:51:55 +0200
committerRamiro Polla <ramiro.polla@gmail.com>2024-09-06 23:06:32 +0200
commit3604b2403c86b0c9f7d26fcea875e0a0739b7b29 (patch)
treeeceab318db547e6b300ac74f4fb9b757b1109f3a /doc
parentd8848325a61813f81db7d2495f7d1fa41d7beb22 (diff)
downloadffmpeg-3604b2403c86b0c9f7d26fcea875e0a0739b7b29.tar.gz
swscale/rgb2rgb: improve chroma conversion in ff_rgb24toyv12_c
The current code subsamples by dropping 3/4 pixels to calculate the chroma components. This commit calculates the average of 4 rgb pixels before calculating the chroma components, putting it in line with the mmxext implementation.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions