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

Side by Side Diff: source/libvpx/vp8/encoder/rdopt.h

Issue 341293003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 6 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/encoder/pickinter.c ('k') | source/libvpx/vp8/encoder/rdopt.c » ('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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 64
65 arr[j] = temp ; 65 arr[j] = temp ;
66 idx[j] = tempi; 66 idx[j] = tempi;
67 } 67 }
68 } 68 }
69 } 69 }
70 } 70 }
71 71
72 extern void vp8_initialize_rd_consts(VP8_COMP *cpi, MACROBLOCK *x, int Qvalue); 72 extern void vp8_initialize_rd_consts(VP8_COMP *cpi, MACROBLOCK *x, int Qvalue);
73 extern void vp8_rd_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffs et, int recon_uvoffset, int *returnrate, int *returndistortion, int *returnintra ); 73 extern void vp8_rd_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x,
74 int recon_yoffset, int recon_uvoffset,
75 int *returnrate, int *returndistortion,
76 int *returnintra, int mb_row, int mb_col);
74 extern void vp8_rd_pick_intra_mode(MACROBLOCK *x, int *rate); 77 extern void vp8_rd_pick_intra_mode(MACROBLOCK *x, int *rate);
75 78
76 79
77 static void get_plane_pointers(const YV12_BUFFER_CONFIG *fb, 80 static void get_plane_pointers(const YV12_BUFFER_CONFIG *fb,
78 unsigned char *plane[3], 81 unsigned char *plane[3],
79 unsigned int recon_yoffset, 82 unsigned int recon_yoffset,
80 unsigned int recon_uvoffset) 83 unsigned int recon_uvoffset)
81 { 84 {
82 plane[0] = fb->y_buffer + recon_yoffset; 85 plane[0] = fb->y_buffer + recon_yoffset;
83 plane[1] = fb->u_buffer + recon_uvoffset; 86 plane[1] = fb->u_buffer + recon_uvoffset;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 int *sr, 135 int *sr,
133 int near_sadidx[] 136 int near_sadidx[]
134 ); 137 );
135 void vp8_cal_sad(VP8_COMP *cpi, MACROBLOCKD *xd, MACROBLOCK *x, int recon_yoffse t, int near_sadidx[]); 138 void vp8_cal_sad(VP8_COMP *cpi, MACROBLOCKD *xd, MACROBLOCK *x, int recon_yoffse t, int near_sadidx[]);
136 139
137 #ifdef __cplusplus 140 #ifdef __cplusplus
138 } // extern "C" 141 } // extern "C"
139 #endif 142 #endif
140 143
141 #endif // VP8_ENCODER_RDOPT_H_ 144 #endif // VP8_ENCODER_RDOPT_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp8/encoder/pickinter.c ('k') | source/libvpx/vp8/encoder/rdopt.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698