1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libvpx/vp9/decoder/vp9_onyxd_int.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,60 @@ 1.4 +/* 1.5 + * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 1.6 + * 1.7 + * Use of this source code is governed by a BSD-style license 1.8 + * that can be found in the LICENSE file in the root of the source 1.9 + * tree. An additional intellectual property rights grant can be found 1.10 + * in the file PATENTS. All contributing project authors may 1.11 + * be found in the AUTHORS file in the root of the source tree. 1.12 + */ 1.13 + 1.14 +#ifndef VP9_DECODER_VP9_ONYXD_INT_H_ 1.15 +#define VP9_DECODER_VP9_ONYXD_INT_H_ 1.16 + 1.17 +#include "./vpx_config.h" 1.18 + 1.19 +#include "vp9/common/vp9_onyxc_int.h" 1.20 +#include "vp9/decoder/vp9_onyxd.h" 1.21 +#include "vp9/decoder/vp9_thread.h" 1.22 + 1.23 +typedef struct VP9Decompressor { 1.24 + DECLARE_ALIGNED(16, MACROBLOCKD, mb); 1.25 + 1.26 + DECLARE_ALIGNED(16, VP9_COMMON, common); 1.27 + 1.28 + DECLARE_ALIGNED(16, int16_t, qcoeff[MAX_MB_PLANE][64 * 64]); 1.29 + DECLARE_ALIGNED(16, int16_t, dqcoeff[MAX_MB_PLANE][64 * 64]); 1.30 + DECLARE_ALIGNED(16, uint16_t, eobs[MAX_MB_PLANE][256]); 1.31 + 1.32 + VP9D_CONFIG oxcf; 1.33 + 1.34 + const uint8_t *source; 1.35 + size_t source_sz; 1.36 + 1.37 + int64_t last_time_stamp; 1.38 + int ready_for_new_data; 1.39 + 1.40 + int refresh_frame_flags; 1.41 + 1.42 + int decoded_key_frame; 1.43 + 1.44 + int initial_width; 1.45 + int initial_height; 1.46 + 1.47 + int do_loopfilter_inline; // apply loopfilter to available rows immediately 1.48 + VP9Worker lf_worker; 1.49 + 1.50 + VP9Worker *tile_workers; 1.51 + int num_tile_workers; 1.52 + 1.53 + /* Each tile column has its own MODE_INFO stream. This array indexes them by 1.54 + tile column index. */ 1.55 + MODE_INFO **mi_streams; 1.56 + 1.57 + ENTROPY_CONTEXT *above_context[MAX_MB_PLANE]; 1.58 + PARTITION_CONTEXT *above_seg_context; 1.59 + 1.60 + DECLARE_ALIGNED(16, uint8_t, token_cache[1024]); 1.61 +} VP9D_COMP; 1.62 + 1.63 +#endif // VP9_DECODER_VP9_ONYXD_INT_H_