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

Derek Buitenhuis derek.buitenhuis at gmail.com
Wed Oct 23 13:31:44 CEST 2013


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?

- Derek


More information about the x265-devel mailing list