| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 void vp8_multiframe_quality_enhance | 273 void vp8_multiframe_quality_enhance |
| 274 ( | 274 ( |
| 275 VP8_COMMON *cm | 275 VP8_COMMON *cm |
| 276 ) | 276 ) |
| 277 { | 277 { |
| 278 YV12_BUFFER_CONFIG *show = cm->frame_to_show; | 278 YV12_BUFFER_CONFIG *show = cm->frame_to_show; |
| 279 YV12_BUFFER_CONFIG *dest = &cm->post_proc_buffer; | 279 YV12_BUFFER_CONFIG *dest = &cm->post_proc_buffer; |
| 280 | 280 |
| 281 FRAME_TYPE frame_type = cm->frame_type; | 281 FRAME_TYPE frame_type = cm->frame_type; |
| 282 /* Point at base of Mb MODE_INFO list has motion vectors etc */ | 282 /* Point at base of Mb MODE_INFO list has motion vectors etc */ |
| 283 const MODE_INFO *mode_info_context = cm->mi; | 283 const MODE_INFO *mode_info_context = cm->show_frame_mi; |
| 284 int mb_row; | 284 int mb_row; |
| 285 int mb_col; | 285 int mb_col; |
| 286 int totmap, map[4]; | 286 int totmap, map[4]; |
| 287 int qcurr = cm->base_qindex; | 287 int qcurr = cm->base_qindex; |
| 288 int qprev = cm->postproc_state.last_base_qindex; | 288 int qprev = cm->postproc_state.last_base_qindex; |
| 289 | 289 |
| 290 unsigned char *y_ptr, *u_ptr, *v_ptr; | 290 unsigned char *y_ptr, *u_ptr, *v_ptr; |
| 291 unsigned char *yd_ptr, *ud_ptr, *vd_ptr; | 291 unsigned char *yd_ptr, *ud_ptr, *vd_ptr; |
| 292 | 292 |
| 293 /* Set up the buffer pointers */ | 293 /* Set up the buffer pointers */ |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 y_ptr += show->y_stride * 16 - 16 * cm->mb_cols; | 376 y_ptr += show->y_stride * 16 - 16 * cm->mb_cols; |
| 377 u_ptr += show->uv_stride * 8 - 8 * cm->mb_cols; | 377 u_ptr += show->uv_stride * 8 - 8 * cm->mb_cols; |
| 378 v_ptr += show->uv_stride * 8 - 8 * cm->mb_cols; | 378 v_ptr += show->uv_stride * 8 - 8 * cm->mb_cols; |
| 379 yd_ptr += dest->y_stride * 16 - 16 * cm->mb_cols; | 379 yd_ptr += dest->y_stride * 16 - 16 * cm->mb_cols; |
| 380 ud_ptr += dest->uv_stride * 8 - 8 * cm->mb_cols; | 380 ud_ptr += dest->uv_stride * 8 - 8 * cm->mb_cols; |
| 381 vd_ptr += dest->uv_stride * 8 - 8 * cm->mb_cols; | 381 vd_ptr += dest->uv_stride * 8 - 8 * cm->mb_cols; |
| 382 | 382 |
| 383 mode_info_context++; /* Skip border mb */ | 383 mode_info_context++; /* Skip border mb */ |
| 384 } | 384 } |
| 385 } | 385 } |
| OLD | NEW |