comparison libmpcodecs/vf_il.c @ 29263:0f1b5b68af32

whitespace cosmetics: Remove all trailing whitespace.
author diego
date Wed, 13 May 2009 02:58:57 +0000
parents 290420c32921
children a7b908875c14
comparison
equal deleted inserted replaced
29262:7d545a6b8aff 29263:0f1b5b68af32
85 if(mpi->flags&MP_IMGFLAG_PLANAR) 85 if(mpi->flags&MP_IMGFLAG_PLANAR)
86 w= mpi->w; 86 w= mpi->w;
87 else 87 else
88 w= mpi->w * mpi->bpp/8; 88 w= mpi->w * mpi->bpp/8;
89 89
90 interleave(dmpi->planes[0], mpi->planes[0], 90 interleave(dmpi->planes[0], mpi->planes[0],
91 w, mpi->h, dmpi->stride[0], mpi->stride[0], luma->interleave, luma->swap); 91 w, mpi->h, dmpi->stride[0], mpi->stride[0], luma->interleave, luma->swap);
92 92
93 if(mpi->flags&MP_IMGFLAG_PLANAR){ 93 if(mpi->flags&MP_IMGFLAG_PLANAR){
94 int cw= mpi->w >> mpi->chroma_x_shift; 94 int cw= mpi->w >> mpi->chroma_x_shift;
95 int ch= mpi->h >> mpi->chroma_y_shift; 95 int ch= mpi->h >> mpi->chroma_y_shift;
96 96
97 interleave(dmpi->planes[1], mpi->planes[1], cw,ch, 97 interleave(dmpi->planes[1], mpi->planes[1], cw,ch,
98 dmpi->stride[1], mpi->stride[1], chroma->interleave, luma->swap); 98 dmpi->stride[1], mpi->stride[1], chroma->interleave, luma->swap);
99 interleave(dmpi->planes[2], mpi->planes[2], cw,ch, 99 interleave(dmpi->planes[2], mpi->planes[2], cw,ch,
100 dmpi->stride[2], mpi->stride[2], chroma->interleave, luma->swap); 100 dmpi->stride[2], mpi->stride[2], chroma->interleave, luma->swap);
101 } 101 }
102 102
103 return vf_next_put_image(vf,dmpi, pts); 103 return vf_next_put_image(vf,dmpi, pts);
104 } 104 }
105 105
106 //===========================================================================// 106 //===========================================================================//
107 107
123 123
124 vf->put_image=put_image; 124 vf->put_image=put_image;
125 // vf->get_image=get_image; 125 // vf->get_image=get_image;
126 vf->priv=malloc(sizeof(struct vf_priv_s)); 126 vf->priv=malloc(sizeof(struct vf_priv_s));
127 memset(vf->priv, 0, sizeof(struct vf_priv_s)); 127 memset(vf->priv, 0, sizeof(struct vf_priv_s));
128 128
129 if(args) 129 if(args)
130 { 130 {
131 char *arg2= strchr(args,':'); 131 char *arg2= strchr(args,':');
132 if(arg2) parse(&vf->priv->chromaParam, arg2+1); 132 if(arg2) parse(&vf->priv->chromaParam, arg2+1);
133 parse(&vf->priv->lumaParam, args); 133 parse(&vf->priv->lumaParam, args);