[x265] [PATCH] ratecontrol: initialize frameThreads
Rafaël Carré
funman at videolan.org
Tue Oct 22 12:13:42 CEST 2013
My username is already configured:
% head -3 ~/.gitconfig
[user]
email = funman at videolan.org
name = Rafaël Carré
After trying hg qimport / hg qpush I end up with:
% hg log|head
changeset: 4593:b671e3fd94e1
tag: qbase
tag: qtip
tag: tip
tag: x.eml
parent: 4566:f987c24c7bf2
user: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <funman at videolan.org>
date: Mon Oct 21 14:46:46 2013 +0200
summary: [PATCH] ratecontrol: initialize frameThreads
It uses the From: e-mail header instead of Sender: header, but my name
contains non-ASCII characters and those are not decoded to UTF-8.
Perhaps e-mail header decoding is not implemented in hg import/qimport :(
Le 22/10/2013 02:35, Deepthi Nandakumar a écrit :
> Yes, hg import worked fine. You probably need to configure your username in
> git settings to firstname lastname. Does this help?
> https://help.github.com/articles/setting-your-username-in-git
>
>
> On Mon, Oct 21, 2013 at 10:52 PM, Rafaël Carré <funman at videolan.org> wrote:
>
>>
>> https://bitbucket.org/multicoreware/x265/commits/3fe9a9d0a0b6279643c9272805f4d9b46c2cdcd9
>>
>> "=?utf-8?b?UmFmYcOrbCBDYXJyw6kgPGZ1bm1hbkB2aWRlb2xhbi5vcmc+?= committed"
>>
>> Indeed :)
>>
>> I am sending these from my git hg clone with git send-email.
>>
>> Any idea how to make these patches more smooth from hg point of view?
>>
>>
>> http://stackoverflow.com/questions/2626898/mercurial-copy-patch-to-repository
>> seems to say hg import should work.
>>
>> How did you apply this one?
>>
>> Thanks,
>>
>> Le 21/10/2013 18:47, Deepthi Nandakumar a écrit :
>>> Pushed this - but the user name has not been configured properly.
>>>
>>>
>>> On Mon, Oct 21, 2013 at 6:16 PM, Rafaël Carré <funman at videolan.org>
>> wrote:
>>>
>>>> Fix a floating point exceptio
>>>> ---
>>>> source/encoder/ratecontrol.cpp | 1 +
>>>> 1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/source/encoder/ratecontrol.cpp
>>>> b/source/encoder/ratecontrol.cpp
>>>> index b588bde..9085ec3 100644
>>>> --- a/source/encoder/ratecontrol.cpp
>>>> +++ b/source/encoder/ratecontrol.cpp
>>>> @@ -129,6 +129,7 @@ void RateControl::calcAdaptiveQuantFrame(TComPic
>> *pic)
>>>> RateControl::RateControl(TEncCfg * _cfg)
>>>> {
>>>> this->cfg = _cfg;
>>>> + frameThreads = cfg->param.frameNumThreads;
>>>> bitrate = cfg->param.rc.bitrate * 1000;
>>>> frameDuration = 1.0 / cfg->param.frameRate;
>>>> ncu = (int)((cfg->param.sourceHeight * cfg->param.sourceWidth) /
>>>> pow((int)cfg->param.maxCUSize, 2.0));
>>>> --
>>>> 1.8.3.2
>> _______________________________________________
>> x265-devel mailing list
>> x265-devel at videolan.org
>> https://mailman.videolan.org/listinfo/x265-devel
>>
>
>
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
More information about the x265-devel
mailing list