/*****************************************************************************1* analyse.h: macroblock analysis2*****************************************************************************3* Copyright (C) 2003-2016 x264 project4*5* Authors: Laurent Aimar <[email protected]>6* Loren Merritt <[email protected]>7*8* This program is free software; you can redistribute it and/or modify9* it under the terms of the GNU General Public License as published by10* the Free Software Foundation; either version 2 of the License, or11* (at your option) any later version.12*13* This program is distributed in the hope that it will be useful,14* but WITHOUT ANY WARRANTY; without even the implied warranty of15* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16* GNU General Public License for more details.17*18* You should have received a copy of the GNU General Public License19* along with this program; if not, write to the Free Software20* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.21*22* This program is also available under a commercial proprietary license.23* For more information, contact us at [email protected].24*****************************************************************************/2526#ifndef X264_ANALYSE_H27#define X264_ANALYSE_H2829int x264_analyse_init_costs( x264_t *h );30void x264_analyse_free_costs( x264_t *h );31void x264_analyse_weight_frame( x264_t *h, int end );32void x264_macroblock_analyse( x264_t *h );33void x264_slicetype_decide( x264_t *h );3435void x264_slicetype_analyse( x264_t *h, int intra_minigop );3637int x264_weighted_reference_duplicate( x264_t *h, int i_ref, const x264_weight_t *w );3839int x264_lookahead_init( x264_t *h, int i_slicetype_length );40int x264_lookahead_is_empty( x264_t *h );41void x264_lookahead_put_frame( x264_t *h, x264_frame_t *frame );42void x264_lookahead_get_frames( x264_t *h );43void x264_lookahead_delete( x264_t *h );4445#endif464748