| 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 |
| 11 | 11 |
| 12 #include "vpx_ports/config.h" | 12 #include "vpx_ports/config.h" |
| 13 #include "recon.h" | 13 #include "recon.h" |
| 14 #include "vpx_mem/vpx_mem.h" | 14 #include "vpx_mem/vpx_mem.h" |
| 15 #include "reconintra.h" | 15 #include "reconintra.h" |
| 16 | 16 |
| 17 void vp8_predict_intra4x4(BLOCKD *x, | 17 void vp8_intra4x4_predict(BLOCKD *x, |
| 18 int b_mode, | 18 int b_mode, |
| 19 unsigned char *predictor) | 19 unsigned char *predictor) |
| 20 { | 20 { |
| 21 int i, r, c; | 21 int i, r, c; |
| 22 | 22 |
| 23 unsigned char *Above = *(x->base_dst) + x->dst - x->dst_stride; | 23 unsigned char *Above = *(x->base_dst) + x->dst - x->dst_stride; |
| 24 unsigned char Left[4]; | 24 unsigned char Left[4]; |
| 25 unsigned char top_left = Above[-1]; | 25 unsigned char top_left = Above[-1]; |
| 26 | 26 |
| 27 Left[0] = (*(x->base_dst))[x->dst - 1]; | 27 Left[0] = (*(x->base_dst))[x->dst - 1]; |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 unsigned int *dst_ptr0 = (unsigned int *)(above_right + 4 * x->block[0].dst_
stride); | 306 unsigned int *dst_ptr0 = (unsigned int *)(above_right + 4 * x->block[0].dst_
stride); |
| 307 unsigned int *dst_ptr1 = (unsigned int *)(above_right + 8 * x->block[0].dst_
stride); | 307 unsigned int *dst_ptr1 = (unsigned int *)(above_right + 8 * x->block[0].dst_
stride); |
| 308 unsigned int *dst_ptr2 = (unsigned int *)(above_right + 12 * x->block[0].dst
_stride); | 308 unsigned int *dst_ptr2 = (unsigned int *)(above_right + 12 * x->block[0].dst
_stride); |
| 309 | 309 |
| 310 *dst_ptr0 = *src_ptr; | 310 *dst_ptr0 = *src_ptr; |
| 311 *dst_ptr1 = *src_ptr; | 311 *dst_ptr1 = *src_ptr; |
| 312 *dst_ptr2 = *src_ptr; | 312 *dst_ptr2 = *src_ptr; |
| 313 } | 313 } |
| 314 | 314 |
| 315 | 315 |
| OLD | NEW |