diff options
Diffstat (limited to 'third_party/aom/av1/decoder/inspection.h')
-rw-r--r-- | third_party/aom/av1/decoder/inspection.h | 47 |
1 files changed, 22 insertions, 25 deletions
diff --git a/third_party/aom/av1/decoder/inspection.h b/third_party/aom/av1/decoder/inspection.h index 06a94b737..bb604f684 100644 --- a/third_party/aom/av1/decoder/inspection.h +++ b/third_party/aom/av1/decoder/inspection.h @@ -20,7 +20,9 @@ extern "C" { #include "av1/decoder/accounting.h" #endif +#ifndef AOM_AOMDX_H_ typedef void (*aom_inspect_cb)(void *decoder, void *data); +#endif typedef struct insp_mv insp_mv; @@ -33,27 +35,21 @@ typedef struct insp_mi_data insp_mi_data; struct insp_mi_data { insp_mv mv[2]; - int8_t ref_frame[2]; - int8_t mode; - int8_t uv_mode; - int8_t sb_type; - int8_t skip; - int8_t segment_id; -#if CONFIG_DUAL_FILTER - int8_t filter[2]; -#else - int8_t filter; -#endif - int8_t tx_type; - int8_t tx_size; -#if CONFIG_CDEF - int8_t cdef_level; - int8_t cdef_strength; -#endif -#if CONFIG_CFL - int8_t cfl_alpha_idx; - int8_t cfl_alpha_sign; -#endif + int16_t ref_frame[2]; + int16_t mode; + int16_t uv_mode; + int16_t sb_type; + int16_t skip; + int16_t segment_id; + int16_t dual_filter_type; + int16_t filter[2]; + int16_t tx_type; + int16_t tx_size; + int16_t cdef_level; + int16_t cdef_strength; + int16_t cfl_alpha_idx; + int16_t cfl_alpha_sign; + int16_t current_qindex; }; typedef struct insp_frame_data insp_frame_data; @@ -71,10 +67,11 @@ struct insp_frame_data { int tile_mi_rows; int tile_mi_cols; int16_t y_dequant[MAX_SEGMENTS][2]; - int16_t uv_dequant[MAX_SEGMENTS][2]; -#if CONFIG_CDEF -// TODO(negge): add per frame CDEF data -#endif + int16_t u_dequant[MAX_SEGMENTS][2]; + int16_t v_dequant[MAX_SEGMENTS][2]; + // TODO(negge): add per frame CDEF data + int delta_q_present_flag; + int delta_q_res; }; void ifd_init(insp_frame_data *fd, int frame_width, int frame_height); |