diff options
Diffstat (limited to 'third_party/aom/av1/decoder/decodeframe.h')
-rw-r--r-- | third_party/aom/av1/decoder/decodeframe.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/third_party/aom/av1/decoder/decodeframe.h b/third_party/aom/av1/decoder/decodeframe.h index a904658b0..0e7eb6a1d 100644 --- a/third_party/aom/av1/decoder/decodeframe.h +++ b/third_party/aom/av1/decoder/decodeframe.h @@ -21,16 +21,33 @@ struct aom_read_bit_buffer; #if CONFIG_REFERENCE_BUFFER /* Placeholder for now */ -void read_sequence_header(SequenceHeader *seq_params); +void read_sequence_header(SequenceHeader *seq_params, + struct aom_read_bit_buffer *rb); #endif -int av1_read_sync_code(struct aom_read_bit_buffer *const rb); void av1_read_frame_size(struct aom_read_bit_buffer *rb, int *width, int *height); BITSTREAM_PROFILE av1_read_profile(struct aom_read_bit_buffer *rb); +// This function is now obsolete void av1_decode_frame(struct AV1Decoder *pbi, const uint8_t *data, const uint8_t *data_end, const uint8_t **p_data_end); +size_t av1_decode_frame_headers_and_setup(struct AV1Decoder *pbi, + const uint8_t *data, + const uint8_t *data_end, + const uint8_t **p_data_end); + +void av1_decode_tg_tiles_and_wrapup(struct AV1Decoder *pbi, const uint8_t *data, + const uint8_t *data_end, + const uint8_t **p_data_end, int startTile, + int endTile, int initialize_flag); + +#if CONFIG_OBU +// replaces av1_decode_frame +void av1_decode_frame_from_obus(struct AV1Decoder *pbi, const uint8_t *data, + const uint8_t *data_end, + const uint8_t **p_data_end); +#endif #ifdef __cplusplus } // extern "C" |