[x265] [PATCH 2 of 2] Inserted call to applyWeight, in compressCTURows

Steve Borho steve at borho.org
Tue Oct 1 20:47:40 CEST 2013


On Tue, Oct 1, 2013 at 3:25 AM, <shazeb at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Shazeb Nawaz Khan <shazeb at multicorewareinc.com>
> # Date 1380615750 -19800
> #      Tue Oct 01 13:52:30 2013 +0530
> # Node ID dc8e619a6c41bebfb63adc9d642cb21bc6fa22a2
> # Parent  b8fa0fa81997e668ad983618c2ccf9d76d75f83c
> Inserted call to applyWeight, in compressCTURows
>
> the call is currently commented, shall be enabled when unidir weighted
> prediction is fully attached
>

would prefer not applying this and simply wait for the feature to be
implemented before adding these lines

the rest looks reasonable


> diff -r b8fa0fa81997 -r dc8e619a6c41 source/encoder/frameencoder.cpp
> --- a/source/encoder/frameencoder.cpp   Tue Oct 01 13:46:27 2013 +0530
> +++ b/source/encoder/frameencoder.cpp   Tue Oct 01 13:52:30 2013 +0530
> @@ -914,6 +914,12 @@
>                      {
>                          refpic->m_reconRowWait.wait();
>                      }
> +#if 0               // will be enabled after complete support for
> Unidirectional Weighted Prediction
> +                    if(slice->getPPS()->getUseWP())
> +                    {
> +                        slice->m_mref[list][ref]->applyWeight(refpic, row
> + refLagRows, m_numRows);
> +                    }
> +#endif
>                  }
>              }
>
> @@ -946,6 +952,12 @@
>                          {
>                              refpic->m_reconRowWait.wait();
>                          }
> +#if 0                   // will be enabled after complete support for
> Unidirectional Weighted Prediction
> +                        if(slice->getPPS()->getUseWP())
> +                        {
> +                            slice->m_mref[list][ref]->applyWeight(refpic,
> row + refLagRows, m_numRows);
> +                        }
> +#endif
>                      }
>                  }
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>



-- 
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131001/71b4ba06/attachment.html>


More information about the x265-devel mailing list