forked from strukturag/libheif
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Take average of chroma samples when subsampling
Taking the average is a form of low-pass filtering. It also puts the subsampled chroma at the center of the 2x2 chroma block. Most YCbCr-to-RGB conversion functions used in image decoding assume the center chroma sample position. A proof of concept for a fix for strukturag#521.
- Loading branch information
1 parent
9453b49
commit 6003c3c
Showing
1 changed file
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters