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

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

Issue 1162573005: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 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/picklpf.c ('k') | source/libvpx/vp8/encoder/rdopt.h » ('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 1583 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 // Drop this frame: advance frame counters, and set force_maxqp flag. 1594 // Drop this frame: advance frame counters, and set force_maxqp flag.
1595 cpi->common.current_video_frame++; 1595 cpi->common.current_video_frame++;
1596 cpi->frames_since_key++; 1596 cpi->frames_since_key++;
1597 // Flag to indicate we will force next frame to be encoded at max QP. 1597 // Flag to indicate we will force next frame to be encoded at max QP.
1598 cpi->force_maxqp = 1; 1598 cpi->force_maxqp = 1;
1599 return 1; 1599 return 1;
1600 } else { 1600 } else {
1601 cpi->force_maxqp = 0; 1601 cpi->force_maxqp = 0;
1602 return 0; 1602 return 0;
1603 } 1603 }
1604 cpi->force_maxqp = 0;
1604 return 0; 1605 return 0;
1605 } 1606 }
1607 cpi->force_maxqp = 0;
1606 return 0; 1608 return 0;
1607 } 1609 }
OLDNEW
« no previous file with comments | « source/libvpx/vp8/encoder/picklpf.c ('k') | source/libvpx/vp8/encoder/rdopt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698