Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: source/libvpx/vp8/common/reconintra4x4.c

Issue 7671004: Update libvpx snapshot to v0.9.7-p1 (Cayuga). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/libvpx/vp8/common/reconintra.h ('k') | source/libvpx/vp8/common/threading.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « source/libvpx/vp8/common/reconintra.h ('k') | source/libvpx/vp8/common/threading.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698