www.pudn.com > T264-src-0.02.zip > ratecontrol.h


/***************************************************************************** 
* 
*  T264 AVC CODEC 
* 
*  Copyright(C) 2004-2005 llcc  
*               2004-2005 visionany  
* 
*  rate control current implement only gop layer + frame layer rate control 
*  (reference JVTH0014) 
* 
*  This program is free software ; you can redistribute it and/or modify 
*  it under the terms of the GNU General Public License as published by 
*  the Free Software Foundation ; either version 2 of the License, or 
*  (at your option) any later version. 
* 
*  This program is distributed in the hope that it will be useful, 
*  but WITHOUT ANY WARRANTY ; without even the implied warranty of 
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
*  GNU General Public License for more details. 
* 
*  You should have received a copy of the GNU General Public License 
*  along with this program ; if not, write to the Free Software 
*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
* 
****************************************************************************/ 
 
#ifndef _RATECONTROL_H_ 
#define _RATECONTROL_H_ 
 
void rc_init_seq(T264_t* t); 
void rc_init_gop(T264_t* t); 
void rc_init_pic(T264_t* t); 
void rc_update_pic(T264_t* t); 
// frame level 
void rc_update_qp(T264_t* t); 
// quadratic model 
void rc_update_quad_model(T264_t* t); 
 
#endif