[x265] [PATCH] recon : reconstructed image write frame position calculation logic modified

Gopu Govindaswamy gopu at multicorewareinc.com
Wed Oct 23 13:33:58 CEST 2013


On Wed, Oct 23, 2013 at 5:01 PM, Derek Buitenhuis <
derek.buitenhuis at gmail.com> wrote:

> On 10/23/2013 12:26 PM, Gopu Govindaswamy wrote:
> > -    ofs.seekp(pic.poc * 3 * (width * height * pixelbytes) / 2);
> > -
> > +    uint64_t size = (pic.poc * 3);
> > +    size *= (width * height * pixelbytes);
> > +    size /= 2;
> > +    ofs.seekp(size);
>
> Why?
>

     (pic.poc * 3 * (width * height * pixelbytes) / 2) this statement is
giving us wrong result if width and height is big

>
> - Derek
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>



-- 
Thanks & Regards
Gopu G
Multicoreware Inc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131023/4e7f3b3d/attachment.html>


More information about the x265-devel mailing list