@ -1,5 +1,4 @@
/*
* The simplest mpeg encoder ( well , it was the simplest ! )
* Copyright ( c ) 2000 , 2001 Fabrice Bellard
* Copyright ( c ) 2002 - 2004 Michael Niedermayer < michaelni @ gmx . at >
*
@ -22,14 +21,6 @@
* Foundation , Inc . , 51 Franklin Street , Fifth Floor , Boston , MA 02110 - 1301 USA
*/
/**
* @ file
* The simplest mpeg encoder ( well , it was the simplest ! ) .
*/
# ifndef AVCODEC_MPEGVIDEO_COMMON_H
# define AVCODEC_MPEGVIDEO_COMMON_H
# include <string.h>
# include "avcodec.h"
# include "dsputil.h"
@ -38,14 +29,6 @@
# include "msmpeg4.h"
# include <limits.h>
int ff_dct_quantize_c ( MpegEncContext * s , DCTELEM * block , int n , int qscale , int * overflow ) ;
/**
* Set the given MpegEncContext to common defaults ( same for encoding and decoding ) .
* The changed fields will not depend upon the prior state of the MpegEncContext .
*/
void ff_MPV_common_defaults ( MpegEncContext * s ) ;
static inline void gmc1_motion ( MpegEncContext * s ,
uint8_t * dest_y , uint8_t * dest_cb , uint8_t * dest_cr ,
uint8_t * * ref_picture )
@ -874,12 +857,12 @@ static av_always_inline void MPV_motion_internal(MpegEncContext *s,
}
}
static inline void MPV_motion ( MpegEncContext * s ,
uint8_t * dest_y , uint8_t * dest_cb ,
uint8_t * dest_cr , int dir ,
uint8_t * * ref_picture ,
op_pixels_func ( * pix_op ) [ 4 ] ,
qpel_mc_func ( * qpix_op ) [ 16 ] )
void ff_ MPV_motion( MpegEncContext * s ,
uint8_t * dest_y , uint8_t * dest_cb ,
uint8_t * dest_cr , int dir ,
uint8_t * * ref_picture ,
op_pixels_func ( * pix_op ) [ 4 ] ,
qpel_mc_func ( * qpix_op ) [ 16 ] )
{
# if !CONFIG_SMALL
if ( s - > out_format = = FMT_MPEG1 )
@ -890,4 +873,3 @@ static inline void MPV_motion(MpegEncContext *s,
MPV_motion_internal ( s , dest_y , dest_cb , dest_cr , dir ,
ref_picture , pix_op , qpix_op , 0 ) ;
}
# endif /* AVCODEC_MPEGVIDEO_COMMON_H */