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

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

Issue 11974002: libvpx: Pull from upstream (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 11 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/ratectrl.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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 idx[k] = idx[k - 1]; 58 idx[k] = idx[k - 1];
59 } 59 }
60 60
61 arr[j] = temp ; 61 arr[j] = temp ;
62 idx[j] = tempi; 62 idx[j] = tempi;
63 } 63 }
64 } 64 }
65 } 65 }
66 } 66 }
67 67
68 extern void vp8_initialize_rd_consts(VP8_COMP *cpi, int Qvalue); 68 extern void vp8_initialize_rd_consts(VP8_COMP *cpi, MACROBLOCK *x, int Qvalue);
69 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 ); 69 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 );
70 extern void vp8_rd_pick_intra_mode(VP8_COMP *cpi, MACROBLOCK *x, int *rate); 70 extern void vp8_rd_pick_intra_mode(MACROBLOCK *x, int *rate);
71 71
72 72
73 static void get_plane_pointers(const YV12_BUFFER_CONFIG *fb, 73 static void get_plane_pointers(const YV12_BUFFER_CONFIG *fb,
74 unsigned char *plane[3], 74 unsigned char *plane[3],
75 unsigned int recon_yoffset, 75 unsigned int recon_yoffset,
76 unsigned int recon_uvoffset) 76 unsigned int recon_uvoffset)
77 { 77 {
78 plane[0] = fb->y_buffer + recon_yoffset; 78 plane[0] = fb->y_buffer + recon_yoffset;
79 plane[1] = fb->u_buffer + recon_uvoffset; 79 plane[1] = fb->u_buffer + recon_uvoffset;
80 plane[2] = fb->v_buffer + recon_uvoffset; 80 plane[2] = fb->v_buffer + recon_uvoffset;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 const MODE_INFO *here, 124 const MODE_INFO *here,
125 int_mv *mvp, 125 int_mv *mvp,
126 int refframe, 126 int refframe,
127 int *ref_frame_sign_bias, 127 int *ref_frame_sign_bias,
128 int *sr, 128 int *sr,
129 int near_sadidx[] 129 int near_sadidx[]
130 ); 130 );
131 void vp8_cal_sad(VP8_COMP *cpi, MACROBLOCKD *xd, MACROBLOCK *x, int recon_yoffse t, int near_sadidx[]); 131 void vp8_cal_sad(VP8_COMP *cpi, MACROBLOCKD *xd, MACROBLOCK *x, int recon_yoffse t, int near_sadidx[]);
132 132
133 #endif 133 #endif
OLDNEW
« no previous file with comments | « source/libvpx/vp8/encoder/ratectrl.c ('k') | source/libvpx/vp8/encoder/rdopt.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698