michael@0: /* michael@0: * Copyright (c) 2010 The WebM project authors. All Rights Reserved. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license michael@0: * that can be found in the LICENSE file in the root of the source michael@0: * tree. An additional intellectual property rights grant can be found michael@0: * in the file PATENTS. All contributing project authors may michael@0: * be found in the AUTHORS file in the root of the source tree. michael@0: */ michael@0: michael@0: #ifndef VP9_DECODER_VP9_ONYXD_INT_H_ michael@0: #define VP9_DECODER_VP9_ONYXD_INT_H_ michael@0: michael@0: #include "./vpx_config.h" michael@0: michael@0: #include "vp9/common/vp9_onyxc_int.h" michael@0: #include "vp9/decoder/vp9_onyxd.h" michael@0: #include "vp9/decoder/vp9_thread.h" michael@0: michael@0: typedef struct VP9Decompressor { michael@0: DECLARE_ALIGNED(16, MACROBLOCKD, mb); michael@0: michael@0: DECLARE_ALIGNED(16, VP9_COMMON, common); michael@0: michael@0: DECLARE_ALIGNED(16, int16_t, qcoeff[MAX_MB_PLANE][64 * 64]); michael@0: DECLARE_ALIGNED(16, int16_t, dqcoeff[MAX_MB_PLANE][64 * 64]); michael@0: DECLARE_ALIGNED(16, uint16_t, eobs[MAX_MB_PLANE][256]); michael@0: michael@0: VP9D_CONFIG oxcf; michael@0: michael@0: const uint8_t *source; michael@0: size_t source_sz; michael@0: michael@0: int64_t last_time_stamp; michael@0: int ready_for_new_data; michael@0: michael@0: int refresh_frame_flags; michael@0: michael@0: int decoded_key_frame; michael@0: michael@0: int initial_width; michael@0: int initial_height; michael@0: michael@0: int do_loopfilter_inline; // apply loopfilter to available rows immediately michael@0: VP9Worker lf_worker; michael@0: michael@0: VP9Worker *tile_workers; michael@0: int num_tile_workers; michael@0: michael@0: /* Each tile column has its own MODE_INFO stream. This array indexes them by michael@0: tile column index. */ michael@0: MODE_INFO **mi_streams; michael@0: michael@0: ENTROPY_CONTEXT *above_context[MAX_MB_PLANE]; michael@0: PARTITION_CONTEXT *above_seg_context; michael@0: michael@0: DECLARE_ALIGNED(16, uint8_t, token_cache[1024]); michael@0: } VP9D_COMP; michael@0: michael@0: #endif // VP9_DECODER_VP9_ONYXD_INT_H_