![]() |
AOMedia AV1 Codec
|
![]() |
Functions | |
void | av1_cdef_frame (YV12_BUFFER_CONFIG *frame, AV1_COMMON *cm, MACROBLOCKD *xd) |
Function for applying CDEF to a frame. More... | |
void | av1_cdef_search (struct MultiThreadInfo *mt_info, const YV12_BUFFER_CONFIG *frame, const YV12_BUFFER_CONFIG *ref, AV1_COMMON *cm, MACROBLOCKD *xd, CDEF_PICK_METHOD pick_method, int rdmult) |
AV1 CDEF parameter search. More... | |
This module describes the CDEF parameter search algorithm in AV1. More details will be added.
void av1_cdef_frame | ( | YV12_BUFFER_CONFIG * | frame, |
AV1_COMMON * | cm, | ||
MACROBLOCKD * | xd | ||
) |
Function for applying CDEF to a frame.
This function applies CDEF to a frame.
[in,out] | frame | Compressed frame buffer |
[in,out] | cm | Pointer to top level common structure |
[in] | xd | Pointer to common current coding block structure |
frame
. Referenced by cdef_restoration_frame().
void av1_cdef_search | ( | struct MultiThreadInfo * | mt_info, |
const YV12_BUFFER_CONFIG * | frame, | ||
const YV12_BUFFER_CONFIG * | ref, | ||
AV1_COMMON * | cm, | ||
MACROBLOCKD * | xd, | ||
CDEF_PICK_METHOD | pick_method, | ||
int | rdmult | ||
) |
AV1 CDEF parameter search.
Searches for optimal CDEF parameters for frame
[in] | mt_info | Pointer to multi-threading parameters |
[in] | frame | Compressed frame buffer |
[in] | ref | Source frame buffer |
[in,out] | cm | Pointer to top level common structure |
[in] | xd | Pointer to common current coding block structure |
[in] | pick_method | The method used to select params |
[in] | rdmult | rd multiplier to use in making param choices |
cdef_info
structure of type CdefInfo inside cm:
cdef_bits:
Bits of strength parameters nb_cdef_strengths:
Number of strength parameters cdef_strengths:
list of nb_cdef_strengths
strength parameters for the luma plane. uv_cdef_strengths:
list of nb_cdef_strengths
strength parameters for the chroma planes. damping_factor:
CDEF damping factor. Referenced by cdef_restoration_frame().