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

Side by Side Diff: source/libvpx/vp8/encoder/onyx_if.c

Issue 1339513003: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « source/libvpx/vp8/encoder/mr_dissim.c ('k') | source/libvpx/vp8/encoder/pickinter.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1900 matching lines...) Expand 10 before | Expand all | Expand 10 after
1911 } 1911 }
1912 } 1912 }
1913 #endif 1913 #endif
1914 1914
1915 cpi->mse_source_denoised = 0; 1915 cpi->mse_source_denoised = 0;
1916 1916
1917 /* Should we use the cyclic refresh method. 1917 /* Should we use the cyclic refresh method.
1918 * Currently this is tied to error resilliant mode 1918 * Currently this is tied to error resilliant mode
1919 */ 1919 */
1920 cpi->cyclic_refresh_mode_enabled = cpi->oxcf.error_resilient_mode; 1920 cpi->cyclic_refresh_mode_enabled = cpi->oxcf.error_resilient_mode;
1921 cpi->cyclic_refresh_mode_max_mbs_perframe = (cpi->common.mb_rows * cpi->comm on.mb_cols) / 5; 1921 cpi->cyclic_refresh_mode_max_mbs_perframe = (cpi->common.mb_rows * cpi->comm on.mb_cols) / 7;
1922 if (cpi->oxcf.number_of_layers == 1) { 1922 if (cpi->oxcf.number_of_layers == 1) {
1923 cpi->cyclic_refresh_mode_max_mbs_perframe = 1923 cpi->cyclic_refresh_mode_max_mbs_perframe =
1924 (cpi->common.mb_rows * cpi->common.mb_cols) / 20; 1924 (cpi->common.mb_rows * cpi->common.mb_cols) / 20;
1925 } else if (cpi->oxcf.number_of_layers == 2) { 1925 } else if (cpi->oxcf.number_of_layers == 2) {
1926 cpi->cyclic_refresh_mode_max_mbs_perframe = 1926 cpi->cyclic_refresh_mode_max_mbs_perframe =
1927 (cpi->common.mb_rows * cpi->common.mb_cols) / 10; 1927 (cpi->common.mb_rows * cpi->common.mb_cols) / 10;
1928 } 1928 }
1929 cpi->cyclic_refresh_mode_index = 0; 1929 cpi->cyclic_refresh_mode_index = 0;
1930 cpi->cyclic_refresh_q = 32; 1930 cpi->cyclic_refresh_q = 32;
1931 1931
(...skipping 4018 matching lines...) Expand 10 before | Expand all | Expand 10 after
5950 } 5950 }
5951 5951
5952 return Total; 5952 return Total;
5953 } 5953 }
5954 5954
5955 5955
5956 int vp8_get_quantizer(VP8_COMP *cpi) 5956 int vp8_get_quantizer(VP8_COMP *cpi)
5957 { 5957 {
5958 return cpi->common.base_qindex; 5958 return cpi->common.base_qindex;
5959 } 5959 }
OLDNEW
« no previous file with comments | « source/libvpx/vp8/encoder/mr_dissim.c ('k') | source/libvpx/vp8/encoder/pickinter.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698