diff options
Diffstat (limited to 'media/libaom/src/av1/common/alloccommon.h')
-rw-r--r-- | media/libaom/src/av1/common/alloccommon.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/media/libaom/src/av1/common/alloccommon.h b/media/libaom/src/av1/common/alloccommon.h index fe8e0c5301..fc4a8ba187 100644 --- a/media/libaom/src/av1/common/alloccommon.h +++ b/media/libaom/src/av1/common/alloccommon.h @@ -16,6 +16,8 @@ #include "config/aom_config.h" +#include "av1/common/enums.h" + #ifdef __cplusplus extern "C" { #endif @@ -24,6 +26,8 @@ struct AV1Common; struct BufferPool; struct CommonContexts; struct CommonModeInfoParams; +struct AV1CdefWorker; +struct AV1CdefSyncData; void av1_remove_common(struct AV1Common *cm); @@ -31,11 +35,19 @@ int av1_alloc_above_context_buffers(struct CommonContexts *above_contexts, int num_tile_rows, int num_mi_cols, int num_planes); void av1_free_above_context_buffers(struct CommonContexts *above_contexts); -int av1_alloc_context_buffers(struct AV1Common *cm, int width, int height); +int av1_alloc_context_buffers(struct AV1Common *cm, int width, int height, + BLOCK_SIZE min_partition_size); void av1_init_mi_buffers(struct CommonModeInfoParams *mi_params); void av1_free_context_buffers(struct AV1Common *cm); void av1_free_ref_frame_buffers(struct BufferPool *pool); +void av1_alloc_cdef_buffers(struct AV1Common *const cm, + struct AV1CdefWorker **cdef_worker, + struct AV1CdefSyncData *cdef_sync, int num_workers, + int init_worker); +void av1_free_cdef_buffers(struct AV1Common *const cm, + struct AV1CdefWorker **cdef_worker, + struct AV1CdefSyncData *cdef_sync); void av1_alloc_restoration_buffers(struct AV1Common *cm); void av1_free_restoration_buffers(struct AV1Common *cm); @@ -44,11 +56,6 @@ void av1_free_state_buffers(struct AV1Common *cm); int av1_get_MBs(int width, int height); -#if CONFIG_LPF_MASK -int av1_alloc_loop_filter_mask(struct AV1Common *cm); -void av1_free_loop_filter_mask(struct AV1Common *cm); -#endif - #ifdef __cplusplus } // extern "C" #endif |