On Thu, Sep 01, 2016 at 07:49:38PM +0200, Timo Rothenpieler wrote: > --- > libswscale/swscale_unscaled.c | 42 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > > diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c > index b231abe..f47e1f4 100644 > --- a/libswscale/swscale_unscaled.c > +++ b/libswscale/swscale_unscaled.c > @@ -197,6 +197,43 @@ static int nv12ToPlanarWrapper(SwsContext *c, const > uint8_t *src[], > return srcSliceH; > } > > +static int planarToP010Wrapper(SwsContext *c, const uint8_t *src8[], > + int srcStride[], int srcSliceY, > + int srcSliceH, uint8_t *dstParam8[], > + int dstStride[]) > +{
> + uint16_t *src[] = { > + (uint16_t*)(src8[0] + srcStride[0] * srcSliceY), > + (uint16_t*)(src8[1] + srcStride[1] * srcSliceY), > + (uint16_t*)(src8[2] + srcStride[2] * srcSliceY) this looks odd, why is this needed ? [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Does the universe only have a finite lifespan? No, its going to go on forever, its just that you wont like living in it. -- Hiranya Peiri
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel