_RocdecAv1FilmGrainStruct Struct Reference#
_RocdecAv1FilmGrainStruct Struct Reference
Film Grain Information for AV1. More...
#include <rocdecode.h>
Data Fields | |
union { | |
struct { | |
uint32_t apply_grain: 1 | |
Specify whether or not film grain is applied on current frame. If set to 0, all the rest parameters should be set to zero and ignored. | |
uint32_t chroma_scaling_from_luma: 1 | |
uint32_t grain_scaling_minus_8: 2 | |
uint32_t ar_coeff_lag: 2 | |
uint32_t ar_coeff_shift_minus_6: 2 | |
uint32_t grain_scale_shift: 2 | |
uint32_t overlap_flag: 1 | |
uint32_t clip_to_restricted_range: 1 | |
uint32_t reserved: 20 | |
Reserved bytes for future use, must be zero. | |
} bits | |
uint32_t value | |
} | film_grain_info_fields |
uint16_t | grain_seed |
uint8_t | num_y_points |
uint8_t | point_y_value [14] |
uint8_t | point_y_scaling [14] |
uint8_t | num_cb_points |
uint8_t | point_cb_value [10] |
uint8_t | point_cb_scaling [10] |
uint8_t | num_cr_points |
uint8_t | point_cr_value [10] |
uint8_t | point_cr_scaling [10] |
int8_t | ar_coeffs_y [24] |
int8_t | ar_coeffs_cb [25] |
int8_t | ar_coeffs_cr [25] |
uint8_t | cb_mult |
uint8_t | cb_luma_mult |
uint16_t | cb_offset |
uint8_t | cr_mult |
uint8_t | cr_luma_mult |
uint16_t | cr_offset |
Detailed Description
Film Grain Information for AV1.
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocdecode/checkouts/latest/api/rocdecode.h