/*****************************************************************************1* set.h: header writing2*****************************************************************************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_ENCODER_SET_H27#define X264_ENCODER_SET_H2829void x264_sps_init( x264_sps_t *sps, int i_id, x264_param_t *param );30void x264_sps_write( bs_t *s, x264_sps_t *sps );31void x264_pps_init( x264_pps_t *pps, int i_id, x264_param_t *param, x264_sps_t *sps );32void x264_pps_write( bs_t *s, x264_sps_t *sps, x264_pps_t *pps );33void x264_sei_recovery_point_write( x264_t *h, bs_t *s, int recovery_frame_cnt );34int x264_sei_version_write( x264_t *h, bs_t *s );35int x264_validate_levels( x264_t *h, int verbose );36void x264_sei_buffering_period_write( x264_t *h, bs_t *s );37void x264_sei_pic_timing_write( x264_t *h, bs_t *s );38void x264_sei_dec_ref_pic_marking_write( x264_t *h, bs_t *s );39void x264_sei_frame_packing_write( x264_t *h, bs_t *s );40int x264_sei_avcintra_umid_write( x264_t *h, bs_t *s );41int x264_sei_avcintra_vanc_write( x264_t *h, bs_t *s, int len );42void x264_sei_write( bs_t *s, uint8_t *payload, int payload_size, int payload_type );43void x264_filler_write( x264_t *h, bs_t *s, int filler );4445#endif464748