| Index: source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.h
|
| diff --git a/source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.h b/source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.h
|
| index 34224c1d3d61118b4f530d29139f3485b9fd4abc..21f114b5e5947f4aec95cd9fb51827c25ba635b4 100644
|
| --- a/source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.h
|
| +++ b/source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.h
|
| @@ -55,7 +55,7 @@ int vp9_cyclic_refresh_rc_bits_per_mb(const struct VP9_COMP *cpi, int i,
|
| void vp9_cyclic_refresh_update_segment(struct VP9_COMP *const cpi,
|
| MB_MODE_INFO *const mbmi,
|
| int mi_row, int mi_col, BLOCK_SIZE bsize,
|
| - int64_t rate, int64_t dist);
|
| + int64_t rate, int64_t dist, int skip);
|
|
|
| // Update the segmentation map, and related quantities: cyclic refresh map,
|
| // refresh sb_index, and target number of blocks to be refreshed.
|
| @@ -83,6 +83,15 @@ static INLINE int cyclic_refresh_segment_id_boosted(int segment_id) {
|
| segment_id == CR_SEGMENT_ID_BOOST2;
|
| }
|
|
|
| +static INLINE int cyclic_refresh_segment_id(int segment_id) {
|
| + if (segment_id == CR_SEGMENT_ID_BOOST1)
|
| + return CR_SEGMENT_ID_BOOST1;
|
| + else if (segment_id == CR_SEGMENT_ID_BOOST2)
|
| + return CR_SEGMENT_ID_BOOST2;
|
| + else
|
| + return CR_SEGMENT_ID_BASE;
|
| +}
|
| +
|
| #ifdef __cplusplus
|
| } // extern "C"
|
| #endif
|
|
|