• Home
  • Raw
  • Download

Lines Matching refs:bpp

31 #define cat(a, bpp, b) a##bpp##b  argument
33 #define decl_fpel_func(avg, sz, bpp, opt) \ argument
34 void ff_vp9_##avg##sz##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \
38 #define decl_mc_func(avg, sz, dir, opt, type, f_sz, bpp) \ argument
39 void ff_vp9_##avg##_8tap_1d_##dir##_##sz##_##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \
43 #define decl_mc_funcs(sz, opt, type, fsz, bpp) \ argument
44 decl_mc_func(put, sz, h, opt, type, fsz, bpp); \
45 decl_mc_func(avg, sz, h, opt, type, fsz, bpp); \
46 decl_mc_func(put, sz, v, opt, type, fsz, bpp); \
47 decl_mc_func(avg, sz, v, opt, type, fsz, bpp)
49 #define decl_ipred_fn(type, sz, bpp, opt) \ argument
50 void ff_vp9_ipred_##type##_##sz##x##sz##_##bpp##_##opt(uint8_t *dst, \
55 #define decl_ipred_fns(type, bpp, opt4, opt8_16_32) \ argument
56 decl_ipred_fn(type, 4, bpp, opt4); \
57 decl_ipred_fn(type, 8, bpp, opt8_16_32); \
58 decl_ipred_fn(type, 16, bpp, opt8_16_32); \
59 decl_ipred_fn(type, 32, bpp, opt8_16_32)
61 #define decl_itxfm_func(typea, typeb, size, bpp, opt) \ argument
62 void cat(ff_vp9_##typea##_##typeb##_##size##x##size##_add_, bpp, _##opt)(uint8_t *dst, \
67 #define decl_itxfm_funcs(size, bpp, opt) \ argument
68 decl_itxfm_func(idct, idct, size, bpp, opt); \
69 decl_itxfm_func(iadst, idct, size, bpp, opt); \
70 decl_itxfm_func(idct, iadst, size, bpp, opt); \
71 decl_itxfm_func(iadst, iadst, size, bpp, opt)
73 #define mc_rep_func(avg, sz, hsz, hszb, dir, opt, type, f_sz, bpp) \ argument
75 ff_vp9_##avg##_8tap_1d_##dir##_##sz##_##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \
79 ff_vp9_##avg##_8tap_1d_##dir##_##hsz##_##bpp##_##opt(dst, dst_stride, src, \
81 ff_vp9_##avg##_8tap_1d_##dir##_##hsz##_##bpp##_##opt(dst + hszb, dst_stride, src + hszb, \
85 #define mc_rep_funcs(sz, hsz, hszb, opt, type, fsz, bpp) \ argument
86 mc_rep_func(put, sz, hsz, hszb, h, opt, type, fsz, bpp) \
87 mc_rep_func(avg, sz, hsz, hszb, h, opt, type, fsz, bpp) \
88 mc_rep_func(put, sz, hsz, hszb, v, opt, type, fsz, bpp) \
89 mc_rep_func(avg, sz, hsz, hszb, v, opt, type, fsz, bpp)
91 #define filter_8tap_1d_fn(op, sz, f, f_opt, fname, dir, dvar, bpp, opt) \ argument
92 static void op##_8tap_##fname##_##sz##dir##_##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \
96 ff_vp9_##op##_8tap_1d_##dir##_##sz##_##bpp##_##opt(dst, dst_stride, src, src_stride, \
100 #define filters_8tap_1d_fn(op, sz, dir, dvar, bpp, opt, f_opt) \ argument
101 filter_8tap_1d_fn(op, sz, FILTER_8TAP_REGULAR, f_opt, regular, dir, dvar, bpp, opt) \
102 filter_8tap_1d_fn(op, sz, FILTER_8TAP_SHARP, f_opt, sharp, dir, dvar, bpp, opt) \
103 filter_8tap_1d_fn(op, sz, FILTER_8TAP_SMOOTH, f_opt, smooth, dir, dvar, bpp, opt)
105 #define filters_8tap_1d_fn2(op, sz, bpp, opt, f_opt) \ argument
106 filters_8tap_1d_fn(op, sz, h, mx, bpp, opt, f_opt) \
107 filters_8tap_1d_fn(op, sz, v, my, bpp, opt, f_opt)
109 #define filters_8tap_1d_fn3(op, bpp, opt4, opt8, f_opt) \ argument
110 filters_8tap_1d_fn2(op, 64, bpp, opt8, f_opt) \
111 filters_8tap_1d_fn2(op, 32, bpp, opt8, f_opt) \
112 filters_8tap_1d_fn2(op, 16, bpp, opt8, f_opt) \
113 filters_8tap_1d_fn2(op, 8, bpp, opt8, f_opt) \
114 filters_8tap_1d_fn2(op, 4, bpp, opt4, f_opt)
116 #define filter_8tap_2d_fn(op, sz, f, f_opt, fname, align, bpp, bytes, opt) \ argument
117 static void op##_8tap_##fname##_##sz##hv_##bpp##_##opt(uint8_t *dst, ptrdiff_t dst_stride, \
122 ff_vp9_put_8tap_1d_h_##sz##_##bpp##_##opt(temp, 64 * bytes, src - 3 * src_stride, \
125 ff_vp9_##op##_8tap_1d_v_##sz##_##bpp##_##opt(dst, dst_stride, temp + 3 * bytes * 64, \
130 #define filters_8tap_2d_fn(op, sz, align, bpp, bytes, opt, f_opt) \ argument
131 filter_8tap_2d_fn(op, sz, FILTER_8TAP_REGULAR, f_opt, regular, align, bpp, bytes, opt) \
132 filter_8tap_2d_fn(op, sz, FILTER_8TAP_SHARP, f_opt, sharp, align, bpp, bytes, opt) \
133 filter_8tap_2d_fn(op, sz, FILTER_8TAP_SMOOTH, f_opt, smooth, align, bpp, bytes, opt)
135 #define filters_8tap_2d_fn2(op, align, bpp, bytes, opt4, opt8, f_opt) \ argument
136 filters_8tap_2d_fn(op, 64, align, bpp, bytes, opt8, f_opt) \
137 filters_8tap_2d_fn(op, 32, align, bpp, bytes, opt8, f_opt) \
138 filters_8tap_2d_fn(op, 16, align, bpp, bytes, opt8, f_opt) \
139 filters_8tap_2d_fn(op, 8, align, bpp, bytes, opt8, f_opt) \
140 filters_8tap_2d_fn(op, 4, align, bpp, bytes, opt4, f_opt)
142 #define init_fpel_func(idx1, idx2, sz, type, bpp, opt) \ argument
146 dsp->mc[idx1][FILTER_BILINEAR ][idx2][0][0] = ff_vp9_##type##sz##bpp##_##opt
148 #define init_subpel1(idx1, idx2, idxh, idxv, sz, dir, type, bpp, opt) \ argument
150 type##_8tap_smooth_##sz##dir##_##bpp##_##opt; \
152 type##_8tap_regular_##sz##dir##_##bpp##_##opt; \
154 type##_8tap_sharp_##sz##dir##_##bpp##_##opt
156 #define init_subpel2(idx1, idx2, sz, type, bpp, opt) \ argument
157 init_subpel1(idx1, idx2, 1, 1, sz, hv, type, bpp, opt); \
158 init_subpel1(idx1, idx2, 0, 1, sz, v, type, bpp, opt); \
159 init_subpel1(idx1, idx2, 1, 0, sz, h, type, bpp, opt)
161 #define init_subpel3_32_64(idx, type, bpp, opt) \ argument
162 init_subpel2(0, idx, 64, type, bpp, opt); \
163 init_subpel2(1, idx, 32, type, bpp, opt)
165 #define init_subpel3_8to64(idx, type, bpp, opt) \ argument
166 init_subpel3_32_64(idx, type, bpp, opt); \
167 init_subpel2(2, idx, 16, type, bpp, opt); \
168 init_subpel2(3, idx, 8, type, bpp, opt)
170 #define init_subpel3(idx, type, bpp, opt) \ argument
171 init_subpel3_8to64(idx, type, bpp, opt); \
172 init_subpel2(4, idx, 4, type, bpp, opt)
174 #define init_ipred_func(type, enum, sz, bpp, opt) \ argument
176 cat(ff_vp9_ipred_##type##_##sz##x##sz##_, bpp, _##opt)
178 #define init_8_16_32_ipred_funcs(type, enum, bpp, opt) \ argument
179 init_ipred_func(type, enum, 8, bpp, opt); \
180 init_ipred_func(type, enum, 16, bpp, opt); \
181 init_ipred_func(type, enum, 32, bpp, opt)
183 #define init_ipred_funcs(type, enum, bpp, opt) \ argument
184 init_ipred_func(type, enum, 4, bpp, opt); \
185 init_8_16_32_ipred_funcs(type, enum, bpp, opt)