[Mplayer-cvslog] CVS: main/libmpcodecs vf_pp.c,1.13,1.14
Michael Niedermayer
michael at mplayerhq.hu
Tue Oct 29 19:51:54 CET 2002
- Previous message: [Mplayer-cvslog] CVS: main/postproc postprocess.c,1.61,1.62 postprocess_template.c,1.63,1.64 postprocess.h,1.22,1.23
- Next message: [Mplayer-cvslog] CVS: main/postproc postprocess.c,1.62,1.63 postprocess.h,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv10134/libmpcodecs
Modified Files:
vf_pp.c
Log Message:
cosmetics ;)
prefixing all functions with pp_ to avoid namespace issues
Index: vf_pp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_pp.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- vf_pp.c 29 Oct 2002 18:34:59 -0000 1.13
+++ vf_pp.c 29 Oct 2002 18:51:51 -0000 1.14
@@ -25,13 +25,13 @@
static int config(struct vf_instance_s* vf,
int width, int height, int d_width, int d_height,
unsigned int voflags, unsigned int outfmt){
- vf->priv->context= getPPContext(width, height);
+ vf->priv->context= pp_get_context(width, height);
return vf_next_config(vf,width,height,d_width,d_height,voflags,vf->priv->outfmt);
}
static void uninit(struct vf_instance_s* vf){
- if(vf->priv->context) freePPContext(vf->priv->context);
+ if(vf->priv->context) pp_free_context(vf->priv->context);
}
static int query_format(struct vf_instance_s* vf, unsigned int fmt){
@@ -89,7 +89,7 @@
if(vf->priv->pp || !(mpi->flags&MP_IMGFLAG_DIRECT)){
// do the postprocessing! (or copy if no DR)
- postprocess(mpi->planes ,mpi->stride,
+ pp_postprocess(mpi->planes ,mpi->stride,
vf->priv->dmpi->planes,vf->priv->dmpi->stride,
(mpi->w+7)&(~7),mpi->h,
mpi->qscale, mpi->qstride,
@@ -132,7 +132,7 @@
if(args){
if(!strcmp("help", args)){
- printf("%s", postproc_help);
+ printf("%s", pp_help);
exit(1);
}
@@ -147,7 +147,7 @@
if(name){
for(i=0; i<=GET_PP_QUALITY_MAX; i++){
- vf->priv->ppMode[i]= getPPModeByNameAndQuality(name, i);
+ vf->priv->ppMode[i]= pp_get_mode_by_name_and_quality(name, i);
if(vf->priv->ppMode[i].error) return -1;
}
}else{
- Previous message: [Mplayer-cvslog] CVS: main/postproc postprocess.c,1.61,1.62 postprocess_template.c,1.63,1.64 postprocess.h,1.22,1.23
- Next message: [Mplayer-cvslog] CVS: main/postproc postprocess.c,1.62,1.63 postprocess.h,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list