Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Side by Side Diff: source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.h

Issue 897063002: Revert "libvpx: Pull from upstream" (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 24 matching lines...) Expand all
35 // Estimate the bits per mb, for a given q = i and a corresponding delta-q 35 // Estimate the bits per mb, for a given q = i and a corresponding delta-q
36 // (for segment 1), prior to encoding the frame. 36 // (for segment 1), prior to encoding the frame.
37 int vp9_cyclic_refresh_rc_bits_per_mb(const struct VP9_COMP *cpi, int i, 37 int vp9_cyclic_refresh_rc_bits_per_mb(const struct VP9_COMP *cpi, int i,
38 double correction_factor); 38 double correction_factor);
39 39
40 // Prior to coding a given prediction block, of size bsize at (mi_row, mi_col), 40 // Prior to coding a given prediction block, of size bsize at (mi_row, mi_col),
41 // check if we should reset the segment_id, and update the cyclic_refresh map 41 // check if we should reset the segment_id, and update the cyclic_refresh map
42 // and segmentation map. 42 // and segmentation map.
43 void vp9_cyclic_refresh_update_segment(struct VP9_COMP *const cpi, 43 void vp9_cyclic_refresh_update_segment(struct VP9_COMP *const cpi,
44 MB_MODE_INFO *const mbmi, 44 MB_MODE_INFO *const mbmi,
45 int mi_row, int mi_col, BLOCK_SIZE bsize, 45 int mi_row, int mi_col,
46 int64_t rate, int64_t dist); 46 BLOCK_SIZE bsize, int use_rd,
47 int64_t rate_sb);
47 48
48 // Update the segmentation map, and related quantities: cyclic refresh map, 49 // Update the segmentation map, and related quantities: cyclic refresh map,
49 // refresh sb_index, and target number of blocks to be refreshed. 50 // refresh sb_index, and target number of blocks to be refreshed.
50 void vp9_cyclic_refresh_update__map(struct VP9_COMP *const cpi); 51 void vp9_cyclic_refresh_update__map(struct VP9_COMP *const cpi);
51 52
52 // Update the actual number of blocks that were applied the segment delta q. 53 // Update the actual number of blocks that were applied the segment delta q.
53 void vp9_cyclic_refresh_update_actual_count(struct VP9_COMP *const cpi); 54 void vp9_cyclic_refresh_update_actual_count(struct VP9_COMP *const cpi);
54 55
55 // Set/update global/frame level refresh parameters. 56 // Set/update global/frame level refresh parameters.
56 void vp9_cyclic_refresh_update_parameters(struct VP9_COMP *const cpi); 57 void vp9_cyclic_refresh_update_parameters(struct VP9_COMP *const cpi);
57 58
58 // Setup cyclic background refresh: set delta q and segmentation map. 59 // Setup cyclic background refresh: set delta q and segmentation map.
59 void vp9_cyclic_refresh_setup(struct VP9_COMP *const cpi); 60 void vp9_cyclic_refresh_setup(struct VP9_COMP *const cpi);
60 61
61 int vp9_cyclic_refresh_get_rdmult(const CYCLIC_REFRESH *cr); 62 int vp9_cyclic_refresh_get_rdmult(const CYCLIC_REFRESH *cr);
62 63
63 #ifdef __cplusplus 64 #ifdef __cplusplus
64 } // extern "C" 65 } // extern "C"
65 #endif 66 #endif
66 67
67 #endif // VP9_ENCODER_VP9_AQ_CYCLICREFRESH_H_ 68 #endif // VP9_ENCODER_VP9_AQ_CYCLICREFRESH_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/arm/neon/vp9_sad4d_neon.c ('k') | source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698