Index: source/libvpx/vp9/encoder/vp9_rdopt.h |
=================================================================== |
--- source/libvpx/vp9/encoder/vp9_rdopt.h (revision 292608) |
+++ source/libvpx/vp9/encoder/vp9_rdopt.h (working copy) |
@@ -23,38 +23,33 @@ |
struct TileInfo; |
struct VP9_COMP; |
struct macroblock; |
+struct RD_COST; |
void vp9_rd_pick_intra_mode_sb(struct VP9_COMP *cpi, struct macroblock *x, |
- int *r, int64_t *d, BLOCK_SIZE bsize, |
+ struct RD_COST *rd_cost, BLOCK_SIZE bsize, |
PICK_MODE_CONTEXT *ctx, int64_t best_rd); |
-int64_t vp9_rd_pick_inter_mode_sb(struct VP9_COMP *cpi, struct macroblock *x, |
- const struct TileInfo *const tile, |
- int mi_row, int mi_col, |
- int *returnrate, |
- int64_t *returndistortion, |
- BLOCK_SIZE bsize, |
- PICK_MODE_CONTEXT *ctx, |
- int64_t best_rd_so_far); |
+void vp9_rd_pick_inter_mode_sb(struct VP9_COMP *cpi, struct macroblock *x, |
+ const struct TileInfo *const tile, |
+ int mi_row, int mi_col, |
+ struct RD_COST *rd_cost, |
+ BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, |
+ int64_t best_rd_so_far); |
-int64_t vp9_rd_pick_inter_mode_sb_seg_skip(struct VP9_COMP *cpi, |
- struct macroblock *x, |
- int *returnrate, |
- int64_t *returndistortion, |
- BLOCK_SIZE bsize, |
- PICK_MODE_CONTEXT *ctx, |
- int64_t best_rd_so_far); |
+void vp9_rd_pick_inter_mode_sb_seg_skip(struct VP9_COMP *cpi, |
+ struct macroblock *x, |
+ struct RD_COST *rd_cost, |
+ BLOCK_SIZE bsize, |
+ PICK_MODE_CONTEXT *ctx, |
+ int64_t best_rd_so_far); |
-int64_t vp9_rd_pick_inter_mode_sub8x8(struct VP9_COMP *cpi, |
- struct macroblock *x, |
- const struct TileInfo *const tile, |
- int mi_row, int mi_col, |
- int *returnrate, |
- int64_t *returndistortion, |
- BLOCK_SIZE bsize, |
- PICK_MODE_CONTEXT *ctx, |
- int64_t best_rd_so_far); |
- |
+void vp9_rd_pick_inter_mode_sub8x8(struct VP9_COMP *cpi, |
+ struct macroblock *x, |
+ const struct TileInfo *const tile, |
+ int mi_row, int mi_col, |
+ struct RD_COST *rd_cost, |
+ BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, |
+ int64_t best_rd_so_far); |
#ifdef __cplusplus |
} // extern "C" |
#endif |