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

Side by Side Diff: source/libvpx/vp9/common/vp9_reconinter.h

Issue 897063002: Revert "libvpx: Pull from upstream" (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 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
« no previous file with comments | « source/libvpx/vp9/common/vp9_postproc.c ('k') | source/libvpx/vp9/common/vp9_reconinter.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_COMMON_VP9_RECONINTER_H_ 11 #ifndef VP9_COMMON_VP9_RECONINTER_H_
12 #define VP9_COMMON_VP9_RECONINTER_H_ 12 #define VP9_COMMON_VP9_RECONINTER_H_
13 13
14 #include "vpx/vpx_integer.h" 14 #include "vpx/vpx_integer.h"
15 #include "vp9/common/vp9_onyxc_int.h" 15 #include "vp9/common/vp9_onyxc_int.h"
16 16
17 #ifdef __cplusplus 17 #ifdef __cplusplus
18 extern "C" { 18 extern "C" {
19 #endif 19 #endif
20 20
21 void inter_predictor(const uint8_t *src, int src_stride,
22 uint8_t *dst, int dst_stride,
23 const int subpel_x,
24 const int subpel_y,
25 const struct scale_factors *sf,
26 int w, int h, int ref,
27 const InterpKernel *kernel,
28 int xs, int ys);
29
30 #if CONFIG_VP9_HIGHBITDEPTH
31 void high_inter_predictor(const uint8_t *src, int src_stride,
32 uint8_t *dst, int dst_stride,
33 const int subpel_x,
34 const int subpel_y,
35 const struct scale_factors *sf,
36 int w, int h, int ref,
37 const InterpKernel *kernel,
38 int xs, int ys, int bd);
39 #endif // CONFIG_VP9_HIGHBITDEPTH
40
41 MV average_split_mvs(const struct macroblockd_plane *pd, const MODE_INFO *mi,
42 int ref, int block);
43
44 MV clamp_mv_to_umv_border_sb(const MACROBLOCKD *xd, const MV *src_mv,
45 int bw, int bh, int ss_x, int ss_y);
46
47 void build_inter_predictors(MACROBLOCKD *xd, int plane, int block,
48 int bw, int bh,
49 int x, int y, int w, int h,
50 int mi_x, int mi_y);
51
52 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col, 21 void vp9_build_inter_predictors_sby(MACROBLOCKD *xd, int mi_row, int mi_col,
53 BLOCK_SIZE bsize); 22 BLOCK_SIZE bsize);
54 23
55 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col, 24 void vp9_build_inter_predictors_sbuv(MACROBLOCKD *xd, int mi_row, int mi_col,
56 BLOCK_SIZE bsize); 25 BLOCK_SIZE bsize);
57 26
58 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col, 27 void vp9_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col,
59 BLOCK_SIZE bsize); 28 BLOCK_SIZE bsize);
60 29
30 void vp9_dec_build_inter_predictors_sb(MACROBLOCKD *xd, int mi_row, int mi_col,
31 BLOCK_SIZE bsize);
32
61 void vp9_build_inter_predictor(const uint8_t *src, int src_stride, 33 void vp9_build_inter_predictor(const uint8_t *src, int src_stride,
62 uint8_t *dst, int dst_stride, 34 uint8_t *dst, int dst_stride,
63 const MV *mv_q3, 35 const MV *mv_q3,
64 const struct scale_factors *sf, 36 const struct scale_factors *sf,
65 int w, int h, int do_avg, 37 int w, int h, int do_avg,
66 const InterpKernel *kernel, 38 const InterpKernel *kernel,
67 enum mv_precision precision, 39 enum mv_precision precision,
68 int x, int y); 40 int x, int y);
69 41
70 #if CONFIG_VP9_HIGHBITDEPTH 42 #if CONFIG_VP9_HIGHBITDEPTH
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 74
103 void vp9_setup_pre_planes(MACROBLOCKD *xd, int idx, 75 void vp9_setup_pre_planes(MACROBLOCKD *xd, int idx,
104 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col, 76 const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col,
105 const struct scale_factors *sf); 77 const struct scale_factors *sf);
106 78
107 #ifdef __cplusplus 79 #ifdef __cplusplus
108 } // extern "C" 80 } // extern "C"
109 #endif 81 #endif
110 82
111 #endif // VP9_COMMON_VP9_RECONINTER_H_ 83 #endif // VP9_COMMON_VP9_RECONINTER_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_postproc.c ('k') | source/libvpx/vp9/common/vp9_reconinter.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698