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 |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 struct TileInfo; | 23 struct TileInfo; |
24 struct VP9_COMP; | 24 struct VP9_COMP; |
25 struct macroblock; | 25 struct macroblock; |
26 struct RD_COST; | 26 struct RD_COST; |
27 | 27 |
28 void vp9_rd_pick_intra_mode_sb(struct VP9_COMP *cpi, struct macroblock *x, | 28 void vp9_rd_pick_intra_mode_sb(struct VP9_COMP *cpi, struct macroblock *x, |
29 struct RD_COST *rd_cost, BLOCK_SIZE bsize, | 29 struct RD_COST *rd_cost, BLOCK_SIZE bsize, |
30 PICK_MODE_CONTEXT *ctx, int64_t best_rd); | 30 PICK_MODE_CONTEXT *ctx, int64_t best_rd); |
31 | 31 |
| 32 unsigned int vp9_get_sby_perpixel_variance(VP9_COMP *cpi, |
| 33 const struct buf_2d *ref, |
| 34 BLOCK_SIZE bs); |
| 35 #if CONFIG_VP9_HIGHBITDEPTH |
| 36 unsigned int vp9_high_get_sby_perpixel_variance(VP9_COMP *cpi, |
| 37 const struct buf_2d *ref, |
| 38 BLOCK_SIZE bs, int bd); |
| 39 #endif |
| 40 |
32 void vp9_rd_pick_inter_mode_sb(struct VP9_COMP *cpi, | 41 void vp9_rd_pick_inter_mode_sb(struct VP9_COMP *cpi, |
33 struct TileDataEnc *tile_data, | 42 struct TileDataEnc *tile_data, |
34 struct macroblock *x, | 43 struct macroblock *x, |
35 int mi_row, int mi_col, | 44 int mi_row, int mi_col, |
36 struct RD_COST *rd_cost, | 45 struct RD_COST *rd_cost, |
37 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, | 46 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, |
38 int64_t best_rd_so_far); | 47 int64_t best_rd_so_far); |
39 | 48 |
40 void vp9_rd_pick_inter_mode_sb_seg_skip(struct VP9_COMP *cpi, | 49 void vp9_rd_pick_inter_mode_sb_seg_skip(struct VP9_COMP *cpi, |
41 struct TileDataEnc *tile_data, | 50 struct TileDataEnc *tile_data, |
42 struct macroblock *x, | 51 struct macroblock *x, |
43 struct RD_COST *rd_cost, | 52 struct RD_COST *rd_cost, |
44 BLOCK_SIZE bsize, | 53 BLOCK_SIZE bsize, |
45 PICK_MODE_CONTEXT *ctx, | 54 PICK_MODE_CONTEXT *ctx, |
46 int64_t best_rd_so_far); | 55 int64_t best_rd_so_far); |
47 | 56 |
48 void vp9_rd_pick_inter_mode_sub8x8(struct VP9_COMP *cpi, | 57 void vp9_rd_pick_inter_mode_sub8x8(struct VP9_COMP *cpi, |
49 struct TileDataEnc *tile_data, | 58 struct TileDataEnc *tile_data, |
50 struct macroblock *x, | 59 struct macroblock *x, |
51 int mi_row, int mi_col, | 60 int mi_row, int mi_col, |
52 struct RD_COST *rd_cost, | 61 struct RD_COST *rd_cost, |
53 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, | 62 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, |
54 int64_t best_rd_so_far); | 63 int64_t best_rd_so_far); |
55 #ifdef __cplusplus | 64 #ifdef __cplusplus |
56 } // extern "C" | 65 } // extern "C" |
57 #endif | 66 #endif |
58 | 67 |
59 #endif // VP9_ENCODER_VP9_RDOPT_H_ | 68 #endif // VP9_ENCODER_VP9_RDOPT_H_ |
OLD | NEW |