Skip to content

Commit

Permalink
Add AVIF_CHROMA_SAMPLE_POSITION_RESERVED
Browse files Browse the repository at this point in the history
Value 3 is allowed and considered to be reserved according to the
AV1 spec.
  • Loading branch information
vigneshvg committed May 3, 2024
1 parent 5d5d708 commit 0d2984d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ The changes are relative to the previous release, unless the baseline is specifi
* Add avifdec --icc flag to override the output color profile.
* Add experimental API for reading and writing 16-bit AVIF files behind the
compilation flag AVIF_ENABLE_EXPERIMENTAL_SAMPLE_TRANSFORM.
* Add AVIF_CHROMA_SAMPLE_POSITION_RESERVED to avifChromaSamplePosition enum.

### Changed since 1.0.0
* Update aom.cmd: v3.9.0
Expand Down
3 changes: 2 additions & 1 deletion include/avif/avif.h
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ typedef enum avifChromaSamplePosition
{
AVIF_CHROMA_SAMPLE_POSITION_UNKNOWN = 0,
AVIF_CHROMA_SAMPLE_POSITION_VERTICAL = 1,
AVIF_CHROMA_SAMPLE_POSITION_COLOCATED = 2
AVIF_CHROMA_SAMPLE_POSITION_COLOCATED = 2,
AVIF_CHROMA_SAMPLE_POSITION_RESERVED = 3
} avifChromaSamplePosition;

// ---------------------------------------------------------------------------
Expand Down

0 comments on commit 0d2984d

Please sign in to comment.