comparison libmpcodecs/vf_divtc.c @ 30642:a972c1a4a012

cosmetics: Rename struct vf_instance_s --> vf_instance.
author diego
date Sun, 21 Feb 2010 15:48:03 +0000
parents a7b908875c14
children 7af3e6f901fd
comparison
equal deleted inserted replaced
30641:b14b32c20935 30642:a972c1a4a012
255 } 255 }
256 256
257 return m; 257 return m;
258 } 258 }
259 259
260 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts) 260 static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts)
261 { 261 {
262 mp_image_t *dmpi, *tmpi=0; 262 mp_image_t *dmpi, *tmpi=0;
263 int n, m, f, newphase; 263 int n, m, f, newphase;
264 struct vf_priv_s *p=vf->priv; 264 struct vf_priv_s *p=vf->priv;
265 unsigned int checksum; 265 unsigned int checksum;
566 free(buf-15); 566 free(buf-15);
567 567
568 return 1; 568 return 1;
569 } 569 }
570 570
571 static int query_format(struct vf_instance_s* vf, unsigned int fmt) 571 static int query_format(struct vf_instance *vf, unsigned int fmt)
572 { 572 {
573 switch(fmt) 573 switch(fmt)
574 { 574 {
575 case IMGFMT_444P: case IMGFMT_IYUV: case IMGFMT_RGB24: 575 case IMGFMT_444P: case IMGFMT_IYUV: case IMGFMT_RGB24:
576 case IMGFMT_422P: case IMGFMT_UYVY: case IMGFMT_BGR24: 576 case IMGFMT_422P: case IMGFMT_UYVY: case IMGFMT_BGR24:
581 } 581 }
582 582
583 return 0; 583 return 0;
584 } 584 }
585 585
586 static void uninit(struct vf_instance_s* vf) 586 static void uninit(struct vf_instance *vf)
587 { 587 {
588 if(vf->priv) 588 if(vf->priv)
589 { 589 {
590 if(vf->priv->file) fclose(vf->priv->file); 590 if(vf->priv->file) fclose(vf->priv->file);
591 if(vf->priv->csdata) free(vf->priv->csdata-15); 591 if(vf->priv->csdata) free(vf->priv->csdata-15);