comparison libmpcodecs/vf_rotate.c @ 9279:12741a866acd

fixed palette support based on patch by Joey Parrish <joey@nicewarrior.org>
author arpi
date Tue, 04 Feb 2003 18:53:33 +0000
parents 8d29bc9a5836
children e9a2af584986
comparison
equal deleted inserted replaced
9278:caea8ed36b48 9279:12741a866acd
89 dmpi->w>>mpi->chroma_x_shift,dmpi->h>>mpi->chroma_y_shift,1,vf->priv->direction); 89 dmpi->w>>mpi->chroma_x_shift,dmpi->h>>mpi->chroma_y_shift,1,vf->priv->direction);
90 } else { 90 } else {
91 rotate(dmpi->planes[0],mpi->planes[0], 91 rotate(dmpi->planes[0],mpi->planes[0],
92 dmpi->stride[0],mpi->stride[0], 92 dmpi->stride[0],mpi->stride[0],
93 dmpi->w,dmpi->h,dmpi->bpp>>3,vf->priv->direction); 93 dmpi->w,dmpi->h,dmpi->bpp>>3,vf->priv->direction);
94 dmpi->planes[1] = mpi->planes[1]; // passthrough rgb8 palette
94 } 95 }
95 96
96 return vf_next_put_image(vf,dmpi); 97 return vf_next_put_image(vf,dmpi);
97 } 98 }
98 99