OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |