[x265] [PATCH] cutree: adjust the rowSatd with qpoffset only for reference frames
den c
dncodr at gmail.com
Fri May 16 02:50:40 CEST 2014
On 5/15/14, gopu at multicorewareinc.com <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
>
> 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) ?
I think this is typo and needed: (frames[b]->sliceType == X265_TYPE_B)).
Correct me if i worng.
More information about the x265-devel
mailing list