[x265] [PATCH] Fix - Unused variable warning in linux
Ashok Kumar Mishra
ashok at multicorewareinc.com
Mon Jul 23 11:04:29 CEST 2018
On Mon, Jul 23, 2018 at 1:10 PM, <aasaipriya at multicorewareinc.com> wrote:
> # HG changeset patch
> # User Aasaipriya Chandran <aasaipriya at multicorewareinc.com>
> # Date 1532331616 -19800
> # Mon Jul 23 13:10:16 2018 +0530
> # Node ID 3188d97df5961fba13ae3256847b9ae710a373f0
> # Parent f2b7bbcc4639ba37204634ba35d6c44e684a3960
> Fix - Unused variable warning in linux
>
> diff -r f2b7bbcc4639 -r 3188d97df596 source/encoder/analysis.cpp
> --- a/source/encoder/analysis.cpp Mon Jul 23 12:51:31 2018 +0530
> +++ b/source/encoder/analysis.cpp Mon Jul 23 13:10:16 2018 +0530
> @@ -3032,9 +3032,9 @@
> for (int32_t i = 0; i < numPredDir; i++)
> {
> int* ref = &m_reuseRef[i * m_frame->m_analysisData.numPartitions
> * m_frame->m_analysisData.numCUsInFrame];
> - x265_analysis_MV src = m_reuseMv[i][cuGeom.absPartIdx];
> MV dst = bestME[i].mv;
> + x265_analysis_MV src = m_reuseMv[i][cuGeom.absPartIdx];
> bestME[i].ref = ref[cuGeom.absPartIdx];
> - COPY_TO_MV(src.x, src.y, dst.x, dst.y);
> + COPY_TO_MV(src.x, src.y, bestME[i].mv.x, bestME[i].mv.y);
> bestME[i].mvpIdx = m_reuseMvpIdx[i][cuGeom.absPartIdx];
> }
> }
> @@ -3097,10 +3097,10 @@
> MotionData* bestME = interMode.bestME[part];
> for (int32_t i = 0; i < numPredDir; i++)
> {
> - x265_analysis_MV src = m_reuseMv[i][cuGeom.absPartIdx];
> MV dst = bestME[i].mv;
> + x265_analysis_MV src = m_reuseMv[i][cuGeom.absPartIdx];
> int* ref = &m_reuseRef[i * m_frame->m_analysisData.numPartitions
> * m_frame->m_analysisData.numCUsInFrame];
> bestME[i].ref = ref[cuGeom.absPartIdx];
> - COPY_TO_MV(src.x, src.y, dst.x, dst.y);
> + COPY_TO_MV(src.x, src.y, bestME[i].mv.x, bestME[i].mv.y);
> bestME[i].mvpIdx = m_reuseMvpIdx[i][cuGeom.absPartIdx];
> }
> }
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
>
Pushed to default.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180723/a0d42040/attachment.html>
More information about the x265-devel
mailing list