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

Side by Side Diff: source/libvpx/vp9/encoder/vp9_encodemb.h

Issue 168343002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: libvpx: Pull from upstream Created 6 years, 10 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/vp9/encoder/vp9_encodeframe.c ('k') | source/libvpx/vp9/encoder/vp9_encodemb.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
11 #ifndef VP9_ENCODER_VP9_ENCODEMB_H_ 11 #ifndef VP9_ENCODER_VP9_ENCODEMB_H_
12 #define VP9_ENCODER_VP9_ENCODEMB_H_ 12 #define VP9_ENCODER_VP9_ENCODEMB_H_
13 13
14 #include "./vpx_config.h" 14 #include "./vpx_config.h"
15 #include "vp9/encoder/vp9_block.h" 15 #include "vp9/encoder/vp9_block.h"
16 #include "vp9/encoder/vp9_onyx_int.h" 16 #include "vp9/encoder/vp9_onyx_int.h"
17 #include "vp9/common/vp9_onyxc_int.h" 17 #include "vp9/common/vp9_onyxc_int.h"
18 18
19 #ifdef __cplusplus 19 #ifdef __cplusplus
20 extern "C" { 20 extern "C" {
21 #endif 21 #endif
22 22
23 struct optimize_ctx {
24 ENTROPY_CONTEXT ta[MAX_MB_PLANE][16];
25 ENTROPY_CONTEXT tl[MAX_MB_PLANE][16];
26 };
27
28 struct encode_b_args {
29 MACROBLOCK *x;
30 struct optimize_ctx *ctx;
31 unsigned char *skip_coeff;
32 };
33
34 void vp9_encode_sb(MACROBLOCK *x, BLOCK_SIZE bsize); 23 void vp9_encode_sb(MACROBLOCK *x, BLOCK_SIZE bsize);
35 void vp9_encode_sby(MACROBLOCK *x, BLOCK_SIZE bsize); 24 void vp9_encode_sby(MACROBLOCK *x, BLOCK_SIZE bsize);
36 25
37 void vp9_xform_quant(int plane, int block, BLOCK_SIZE plane_bsize, 26 void vp9_xform_quant(MACROBLOCK *x, int plane, int block,
38 TX_SIZE tx_size, void *arg); 27 BLOCK_SIZE plane_bsize, TX_SIZE tx_size);
39 28
40 void vp9_subtract_sby(MACROBLOCK *x, BLOCK_SIZE bsize); 29 void vp9_subtract_sby(MACROBLOCK *x, BLOCK_SIZE bsize);
41 void vp9_subtract_sbuv(MACROBLOCK *x, BLOCK_SIZE bsize); 30 void vp9_subtract_sbuv(MACROBLOCK *x, BLOCK_SIZE bsize);
42 void vp9_subtract_sb(MACROBLOCK *x, BLOCK_SIZE bsize); 31 void vp9_subtract_sb(MACROBLOCK *x, BLOCK_SIZE bsize);
43 32
44 void vp9_encode_block_intra(int plane, int block, BLOCK_SIZE plane_bsize, 33 void vp9_encode_block_intra(MACROBLOCK *x, int plane, int block,
45 TX_SIZE tx_size, void *arg); 34 BLOCK_SIZE plane_bsize, TX_SIZE tx_size,
35 unsigned char *skip);
46 36
47 void vp9_encode_intra_block_y(MACROBLOCK *x, BLOCK_SIZE bsize); 37 void vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
48 void vp9_encode_intra_block_uv(MACROBLOCK *x, BLOCK_SIZE bsize);
49 38
50 int vp9_encode_intra(MACROBLOCK *x, int use_16x16_pred); 39 int vp9_encode_intra(MACROBLOCK *x, int use_16x16_pred);
51 void vp9_setup_interp_filters(MACROBLOCKD *xd, INTERP_FILTER filter, 40
52 VP9_COMMON *cm);
53 #ifdef __cplusplus 41 #ifdef __cplusplus
54 } // extern "C" 42 } // extern "C"
55 #endif 43 #endif
56 44
57 #endif // VP9_ENCODER_VP9_ENCODEMB_H_ 45 #endif // VP9_ENCODER_VP9_ENCODEMB_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/vp9_encodeframe.c ('k') | source/libvpx/vp9/encoder/vp9_encodemb.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698