[FFmpeg-devel] [PATCH] lavfi: add spp filter.
Clément Bœsch
ubitux at gmail.com
Sat Jun 8 22:30:57 CEST 2013
On Sat, Jun 08, 2013 at 10:29:23PM +0200, Clément Bœsch wrote:
[...]
> --- a/libavfilter/libmpcodecs/vf_spp.c
> +++ b/libavfilter/libmpcodecs/vf_spp.c
> @@ -481,6 +481,8 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){
> }
>
> vf->priv->mpeg2= mpi->qscale_type;
> + av_log(0,0,"pict_type=%d qscale=%p qp=%d\n",
> + mpi->pict_type, mpi->qscale, vf->priv->qp);
> if(mpi->pict_type != 3 && mpi->qscale && !vf->priv->qp){
> int w = mpi->qstride;
> int h = (mpi->h + 15) >> 4;
> @@ -488,6 +490,7 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){
> w = (mpi->w + 15) >> 4;
> h = 1;
> }
> + av_log(0,0,"qp_stride=%d w=%d h=%d\n", mpi->qstride, w, h);
> if(!vf->priv->non_b_qp)
> vf->priv->non_b_qp= malloc(w*h);
> fast_memcpy(vf->priv->non_b_qp, mpi->qscale, w*h);
Please ignore this chunk :)
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130608/c9950d48/attachment.asc>
More information about the ffmpeg-devel
mailing list