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

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

Issue 111463005: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years 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/tools_common.c ('k') | source/libvpx/vp8/common/setupintrarecon.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
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 static const unsigned char MV_REFERENCE_FRAME_colors[MAX_REF_FRAMES][3] = 65 static const unsigned char MV_REFERENCE_FRAME_colors[MAX_REF_FRAMES][3] =
66 { 66 {
67 { RGB_TO_YUV(0x00ff00) }, /* Blue */ 67 { RGB_TO_YUV(0x00ff00) }, /* Blue */
68 { RGB_TO_YUV(0x0000ff) }, /* Green */ 68 { RGB_TO_YUV(0x0000ff) }, /* Green */
69 { RGB_TO_YUV(0xffff00) }, /* Yellow */ 69 { RGB_TO_YUV(0xffff00) }, /* Yellow */
70 { RGB_TO_YUV(0xff0000) }, /* Red */ 70 { RGB_TO_YUV(0xff0000) }, /* Red */
71 }; 71 };
72 #endif 72 #endif
73 73
74 static const short kernel5[] =
75 {
76 1, 1, 4, 1, 1
77 };
78
79 const short vp8_rv[] = 74 const short vp8_rv[] =
80 { 75 {
81 8, 5, 2, 2, 8, 12, 4, 9, 8, 3, 76 8, 5, 2, 2, 8, 12, 4, 9, 8, 3,
82 0, 3, 9, 0, 0, 0, 8, 3, 14, 4, 77 0, 3, 9, 0, 0, 0, 8, 3, 14, 4,
83 10, 1, 11, 14, 1, 14, 9, 6, 12, 11, 78 10, 1, 11, 14, 1, 14, 9, 6, 12, 11,
84 8, 6, 10, 0, 0, 8, 9, 0, 3, 14, 79 8, 6, 10, 0, 0, 8, 9, 0, 3, 14,
85 8, 11, 13, 4, 2, 9, 0, 3, 9, 6, 80 8, 11, 13, 4, 2, 9, 0, 3, 9, 6,
86 1, 2, 3, 14, 13, 1, 8, 2, 9, 7, 81 1, 2, 3, 14, 13, 1, 8, 2, 9, 7,
87 3, 3, 1, 13, 13, 6, 6, 5, 2, 7, 82 3, 3, 1, 13, 13, 6, 6, 5, 2, 7,
88 11, 9, 11, 8, 7, 3, 2, 0, 13, 13, 83 11, 9, 11, 8, 7, 3, 2, 0, 13, 13,
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 1192
1198 *dest = oci->post_proc_buffer; 1193 *dest = oci->post_proc_buffer;
1199 1194
1200 /* handle problem with extending borders */ 1195 /* handle problem with extending borders */
1201 dest->y_width = oci->Width; 1196 dest->y_width = oci->Width;
1202 dest->y_height = oci->Height; 1197 dest->y_height = oci->Height;
1203 dest->uv_height = dest->y_height / 2; 1198 dest->uv_height = dest->y_height / 2;
1204 return 0; 1199 return 0;
1205 } 1200 }
1206 #endif 1201 #endif
OLDNEW
« no previous file with comments | « source/libvpx/tools_common.c ('k') | source/libvpx/vp8/common/setupintrarecon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698