| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef VP9_ENCODER_VP9_BLOCK_H_ | 11 #ifndef VP9_ENCODER_VP9_BLOCK_H_ |
| 12 #define VP9_ENCODER_VP9_BLOCK_H_ | 12 #define VP9_ENCODER_VP9_BLOCK_H_ |
| 13 | 13 |
| 14 #include "vp9/common/vp9_entropymv.h" | 14 #include "vp9/common/vp9_entropymv.h" |
| 15 #include "vp9/common/vp9_entropy.h" | 15 #include "vp9/common/vp9_entropy.h" |
| 16 #include "vpx_ports/mem.h" | |
| 17 #include "vp9/common/vp9_onyxc_int.h" | |
| 18 | 16 |
| 19 #ifdef __cplusplus | 17 #ifdef __cplusplus |
| 20 extern "C" { | 18 extern "C" { |
| 21 #endif | 19 #endif |
| 22 | 20 |
| 23 typedef struct { | 21 typedef struct { |
| 24 unsigned int sse; | 22 unsigned int sse; |
| 25 int sum; | 23 int sum; |
| 26 unsigned int var; | 24 unsigned int var; |
| 27 } diff; | 25 } diff; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 uint8_t skip_txfm[MAX_MB_PLANE << 2]; | 113 uint8_t skip_txfm[MAX_MB_PLANE << 2]; |
| 116 | 114 |
| 117 int64_t bsse[MAX_MB_PLANE << 2]; | 115 int64_t bsse[MAX_MB_PLANE << 2]; |
| 118 | 116 |
| 119 // Used to store sub partition's choices. | 117 // Used to store sub partition's choices. |
| 120 MV pred_mv[MAX_REF_FRAMES]; | 118 MV pred_mv[MAX_REF_FRAMES]; |
| 121 | 119 |
| 122 void (*fwd_txm4x4)(const int16_t *input, tran_low_t *output, int stride); | 120 void (*fwd_txm4x4)(const int16_t *input, tran_low_t *output, int stride); |
| 123 void (*itxm_add)(const tran_low_t *input, uint8_t *dest, int stride, int eob); | 121 void (*itxm_add)(const tran_low_t *input, uint8_t *dest, int stride, int eob); |
| 124 #if CONFIG_VP9_HIGHBITDEPTH | 122 #if CONFIG_VP9_HIGHBITDEPTH |
| 125 void (*high_itxm_add)(const tran_low_t *input, uint8_t *dest, int stride, | 123 void (*highbd_itxm_add)(const tran_low_t *input, uint8_t *dest, int stride, |
| 126 int eob, int bd); | 124 int eob, int bd); |
| 127 #endif | 125 #endif |
| 128 }; | 126 }; |
| 129 | 127 |
| 130 #ifdef __cplusplus | 128 #ifdef __cplusplus |
| 131 } // extern "C" | 129 } // extern "C" |
| 132 #endif | 130 #endif |
| 133 | 131 |
| 134 #endif // VP9_ENCODER_VP9_BLOCK_H_ | 132 #endif // VP9_ENCODER_VP9_BLOCK_H_ |
| OLD | NEW |