[x265] [PATCH 4 of 4] improve motionEstimate() by bypass reduce MV Candidate

chen chenm003 at 163.com
Tue Aug 25 17:00:26 CEST 2015




At 2015-08-25 22:55:10,"Steve Borho" <steve at borho.org> wrote:
>On 08/24, Min Chen wrote:
>> # HG changeset patch
>> # User Min Chen > +    X265_CHECK(!(ref->isLowres && numCandidates), "lowres motion candidates not allowed\n");>> +>>      // measure SAD cost at each QPEL motion vector candidate>> +    MV prevMV(0x7EEDDEAD);>> +    X265_CHECK((numCandidates == 0) || (mvc[0] != prevMV), "Magic MV 0x7EEDDEAD check failure!\n");>>not sure I understand the point of this check>">chenm003 at 163.com>
>> # Date 1440460166 25200
>> # Node ID d3884d55fb6caedcd751db7b289dac470d139d1d
>> # Parent  63f16fa65e3f4963863f31bc3802d7958410ff09
>> improve motionEstimate() by bypass reduce MV Candidate
>> ---
>>  source/encoder/motion.cpp |   10 +++++++++-
>>  1 files changed, 9 insertions(+), 1 deletions(-)
>> 
>> diff -r 63f16fa65e3f -r d3884d55fb6c source/encoder/motion.cpp
>> --- a/source/encoder/motion.cpp	Mon Aug 24 16:26:14 2015 -0700
>> +++ b/source/encoder/motion.cpp	Mon Aug 24 16:49:26 2015 -0700
>> @@ -621,10 +621,18 @@
>>          }
>>      }
>>  
>> -    X265_CHECK(!(ref->isLowres && numCandidates), "lowres motion candidates not allowed\n")
>> +    X265_CHECK(!(ref->isLowres && numCandidates), "lowres motion candidates not allowed\n");
>> +
>>      // measure SAD cost at each QPEL motion vector candidate
>> +    MV prevMV(0x7EEDDEAD);
>> +    X265_CHECK((numCandidates == 0) || (mvc[0] != prevMV), "Magic MV 0x7EEDDEAD check failure!\n");
>
>not sure I understand the point of this check
>
I have better idea in yesterday night, I will update this patch today.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20150825/52767ed2/attachment.html>


More information about the x265-devel mailing list