media/libvpx/vp9/decoder/vp9_onyxd_int.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 /*
     2  *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
     3  *
     4  *  Use of this source code is governed by a BSD-style license
     5  *  that can be found in the LICENSE file in the root of the source
     6  *  tree. An additional intellectual property rights grant can be found
     7  *  in the file PATENTS.  All contributing project authors may
     8  *  be found in the AUTHORS file in the root of the source tree.
     9  */
    11 #ifndef VP9_DECODER_VP9_ONYXD_INT_H_
    12 #define VP9_DECODER_VP9_ONYXD_INT_H_
    14 #include "./vpx_config.h"
    16 #include "vp9/common/vp9_onyxc_int.h"
    17 #include "vp9/decoder/vp9_onyxd.h"
    18 #include "vp9/decoder/vp9_thread.h"
    20 typedef struct VP9Decompressor {
    21   DECLARE_ALIGNED(16, MACROBLOCKD, mb);
    23   DECLARE_ALIGNED(16, VP9_COMMON, common);
    25   DECLARE_ALIGNED(16, int16_t,  qcoeff[MAX_MB_PLANE][64 * 64]);
    26   DECLARE_ALIGNED(16, int16_t,  dqcoeff[MAX_MB_PLANE][64 * 64]);
    27   DECLARE_ALIGNED(16, uint16_t, eobs[MAX_MB_PLANE][256]);
    29   VP9D_CONFIG oxcf;
    31   const uint8_t *source;
    32   size_t source_sz;
    34   int64_t last_time_stamp;
    35   int ready_for_new_data;
    37   int refresh_frame_flags;
    39   int decoded_key_frame;
    41   int initial_width;
    42   int initial_height;
    44   int do_loopfilter_inline;  // apply loopfilter to available rows immediately
    45   VP9Worker lf_worker;
    47   VP9Worker *tile_workers;
    48   int num_tile_workers;
    50   /* Each tile column has its own MODE_INFO stream. This array indexes them by
    51      tile column index. */
    52   MODE_INFO **mi_streams;
    54   ENTROPY_CONTEXT *above_context[MAX_MB_PLANE];
    55   PARTITION_CONTEXT *above_seg_context;
    57   DECLARE_ALIGNED(16, uint8_t, token_cache[1024]);
    58 } VP9D_COMP;
    60 #endif  // VP9_DECODER_VP9_ONYXD_INT_H_

mercurial