[x265] [PATCH] cutree: adjust the rowSatd with qpoffset only for reference frames

Steve Borho steve at borho.org
Thu May 15 12:14:58 CEST 2014


On Thu, May 15, 2014 at 4:44 AM,  <gopu at multicorewareinc.com> wrote:
> # HG changeset patch
> # User Gopu Govindaswamy
> # Date 1400146948 -19800
> #      Thu May 15 15:12:28 2014 +0530
> # Node ID 794b7d744a14c653f76748b4ec3033b040c3e783
> # Parent  6ca880d7e68361e5b9e2353f05369d9e5c40a29f
> cutree: adjust the rowSatd with qpoffset only for reference frames

these two are queued, is there one more for loglevel?

> diff -r 6ca880d7e683 -r 794b7d744a14 source/encoder/slicetype.cpp
> --- a/source/encoder/slicetype.cpp      Thu May 15 12:31:06 2014 +0530
> +++ b/source/encoder/slicetype.cpp      Thu May 15 15:12:28 2014 +0530
> @@ -1148,7 +1148,7 @@
>  {
>      int64_t score = 0;
>      int *rowSatd = frames[b]->rowSatds[b - p0][p1 - b];
> -    double *qp_offset = IS_X265_TYPE_B(frames[b]->sliceType) ? frames[b]->qpAqOffset : frames[b]->qpOffset;
> +    double *qp_offset = (frames[b]->sliceType = X265_TYPE_B) ? frames[b]->qpAqOffset : frames[b]->qpOffset;
>
>      x265_emms();
>      for (int cuy = heightInCU - 1; cuy >= 0; cuy--)
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel



-- 
Steve Borho


More information about the x265-devel mailing list