> > > +static void FUNC(put_pixels)(int16_t *dst,
> > > +    const uint8_t *_src, const ptrdiff_t _src_stride,
> > > +    const int height, const int8_t *hf, const int8_t *vf, const int
> > width)
> > > +{
> > > +    const pixel *src            = (const pixel *)_src;
> > > +    const ptrdiff_t src_stride  = _src_stride / sizeof(pixel);
> > > +
> > > +    for (int y = 0; y < height; y++) {
> > > +        for (int x = 0; x < width; x++)
> > > +            dst[x] = src[x] << (14 - BIT_DEPTH);
> > > +        src += src_stride;
> > > +        dst += MAX_PB_SIZE;
> > > +    }
> > > +}
> > >
> >
> > av_image_copy(AV_PIX_FMT_GRAY14, input_format)?
>

 Is that really the same thing?

Kieran
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to