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 5344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5355 | 5355 |
5356 #if CONFIG_MULTITHREAD | 5356 #if CONFIG_MULTITHREAD |
5357 if(cpi->b_lpf_running) | 5357 if(cpi->b_lpf_running) |
5358 { | 5358 { |
5359 sem_wait(&cpi->h_event_end_lpf); | 5359 sem_wait(&cpi->h_event_end_lpf); |
5360 cpi->b_lpf_running = 0; | 5360 cpi->b_lpf_running = 0; |
5361 } | 5361 } |
5362 #endif | 5362 #endif |
5363 | 5363 |
5364 #if CONFIG_POSTPROC | 5364 #if CONFIG_POSTPROC |
| 5365 cpi->common.show_frame_mi = cpi->common.mi; |
5365 ret = vp8_post_proc_frame(&cpi->common, dest, flags); | 5366 ret = vp8_post_proc_frame(&cpi->common, dest, flags); |
5366 #else | 5367 #else |
5367 | 5368 |
5368 if (cpi->common.frame_to_show) | 5369 if (cpi->common.frame_to_show) |
5369 { | 5370 { |
5370 *dest = *cpi->common.frame_to_show; | 5371 *dest = *cpi->common.frame_to_show; |
5371 dest->y_width = cpi->common.Width; | 5372 dest->y_width = cpi->common.Width; |
5372 dest->y_height = cpi->common.Height; | 5373 dest->y_height = cpi->common.Height; |
5373 dest->uv_height = cpi->common.Height / 2; | 5374 dest->uv_height = cpi->common.Height / 2; |
5374 ret = 0; | 5375 ret = 0; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5511 } | 5512 } |
5512 | 5513 |
5513 return Total; | 5514 return Total; |
5514 } | 5515 } |
5515 | 5516 |
5516 | 5517 |
5517 int vp8_get_quantizer(VP8_COMP *cpi) | 5518 int vp8_get_quantizer(VP8_COMP *cpi) |
5518 { | 5519 { |
5519 return cpi->common.base_qindex; | 5520 return cpi->common.base_qindex; |
5520 } | 5521 } |
OLD | NEW |