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 5813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5824 { | 5824 { |
5825 sem_wait(&cpi->h_event_end_lpf); | 5825 sem_wait(&cpi->h_event_end_lpf); |
5826 cpi->b_lpf_running = 0; | 5826 cpi->b_lpf_running = 0; |
5827 } | 5827 } |
5828 #endif | 5828 #endif |
5829 | 5829 |
5830 #if CONFIG_POSTPROC | 5830 #if CONFIG_POSTPROC |
5831 cpi->common.show_frame_mi = cpi->common.mi; | 5831 cpi->common.show_frame_mi = cpi->common.mi; |
5832 ret = vp8_post_proc_frame(&cpi->common, dest, flags); | 5832 ret = vp8_post_proc_frame(&cpi->common, dest, flags); |
5833 #else | 5833 #else |
| 5834 (void)flags; |
5834 | 5835 |
5835 if (cpi->common.frame_to_show) | 5836 if (cpi->common.frame_to_show) |
5836 { | 5837 { |
5837 *dest = *cpi->common.frame_to_show; | 5838 *dest = *cpi->common.frame_to_show; |
5838 dest->y_width = cpi->common.Width; | 5839 dest->y_width = cpi->common.Width; |
5839 dest->y_height = cpi->common.Height; | 5840 dest->y_height = cpi->common.Height; |
5840 dest->uv_height = cpi->common.Height / 2; | 5841 dest->uv_height = cpi->common.Height / 2; |
5841 ret = 0; | 5842 ret = 0; |
5842 } | 5843 } |
5843 else | 5844 else |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5978 } | 5979 } |
5979 | 5980 |
5980 return Total; | 5981 return Total; |
5981 } | 5982 } |
5982 | 5983 |
5983 | 5984 |
5984 int vp8_get_quantizer(VP8_COMP *cpi) | 5985 int vp8_get_quantizer(VP8_COMP *cpi) |
5985 { | 5986 { |
5986 return cpi->common.base_qindex; | 5987 return cpi->common.base_qindex; |
5987 } | 5988 } |
OLD | NEW |