Remove compatibility workarounds
[x264.git] / encoder / slicetype-cl.h
blobf0373a569ed40d7744b934c991c12e0adcec3399
1 /*****************************************************************************
2 * slicetype-cl.h: OpenCL slicetype decision code (lowres lookahead)
3 *****************************************************************************
4 * Copyright (C) 2017-2019 x264 project
6 * Authors: Anton Mitrofanov <BugMaster@narod.ru>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
22 * This program is also available under a commercial proprietary license.
23 * For more information, contact us at licensing@x264.com.
24 *****************************************************************************/
26 #ifndef X264_ENCODER_SLICETYPE_CL_H
27 #define X264_ENCODER_SLICETYPE_CL_H
29 #define x264_opencl_lowres_init x264_template(opencl_lowres_init)
30 int x264_opencl_lowres_init( x264_t *h, x264_frame_t *fenc, int lambda );
31 #define x264_opencl_motionsearch x264_template(opencl_motionsearch)
32 int x264_opencl_motionsearch( x264_t *h, x264_frame_t **frames, int b, int ref, int b_islist1, int lambda, const x264_weight_t *w );
33 #define x264_opencl_finalize_cost x264_template(opencl_finalize_cost)
34 int x264_opencl_finalize_cost( x264_t *h, int lambda, x264_frame_t **frames, int p0, int p1, int b, int dist_scale_factor );
35 #define x264_opencl_precalculate_frame_cost x264_template(opencl_precalculate_frame_cost)
36 int x264_opencl_precalculate_frame_cost( x264_t *h, x264_frame_t **frames, int lambda, int p0, int p1, int b );
37 #define x264_opencl_flush x264_template(opencl_flush)
38 void x264_opencl_flush( x264_t *h );
39 #define x264_opencl_slicetype_prep x264_template(opencl_slicetype_prep)
40 void x264_opencl_slicetype_prep( x264_t *h, x264_frame_t **frames, int num_frames, int lambda );
41 #define x264_opencl_slicetype_end x264_template(opencl_slicetype_end)
42 void x264_opencl_slicetype_end( x264_t *h );
44 #endif