Skip to content

Offset AR coefficients to get the AV1 range - #116

Open
andrey-norkin wants to merge 1 commit into
AOMediaCodec:mainfrom
andrey-norkin:bugfix4
Open

Offset AR coefficients to get the AV1 range#116
andrey-norkin wants to merge 1 commit into
AOMediaCodec:mainfrom
andrey-norkin:bugfix4

Conversation

@andrey-norkin

@andrey-norkin andrey-norkin commented Mar 7, 2024

Copy link
Copy Markdown
Contributor

Shift AR parameters to get them to AV1 range. An alternative would be to not subtract 128 in the film grain synthesis algorithm, but this would make the implementation slightly different from AV1.

@haasn

haasn commented Mar 8, 2024

Copy link
Copy Markdown

An alternative would be to not subtract 128 in the film grain synthesis algorithm, but this would make the implementation slightly different from AV1.

Strongly disapprove of deviating the synthesis implementation, so adding the +128 here seems like the best solution to me. Implementers in practice will know to skip the redundant addition/subtraction anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Derivation of ArCoeffsYPlus128 etc. doesn't make sense

2 participants