[x265] [PATCH] Add param options to bitstream when info is enabled

Divya Manivannan divya at multicorewareinc.com
Wed Nov 16 06:30:40 CET 2016


Okay. I will add all the remaining fields.


Thanks,
Divya M.

On Wed, Nov 16, 2016 at 10:25 AM, Deepthi Nandakumar <
deepthipnandakumar at gmail.com> wrote:

> Divya, thanks. Can you please walk through the x265_param structure and
> make sure every single field in x265_param is logged in this string? It
> will help if you stick to the exact same order as the x265_param structure.
>
> On Fri, Nov 11, 2016 at 4:13 PM, Divya Manivannan <
> divya at multicorewareinc.com> wrote:
>
>> # HG changeset patch
>> # User Divya Manivannan <divya at multicorewareinc.com>
>> # Date 1478860402 -19800
>> #      Fri Nov 11 16:03:22 2016 +0530
>> # Node ID ee0730643d795663682c24ea30ade5566ab3ab5b
>> # Parent  a378efc939e37f13ec1673fda055b1c3d0632e68
>> Add param options to bitstream when info is enabled
>>
>> diff -r a378efc939e3 -r ee0730643d79 source/common/param.cpp
>> --- a/source/common/param.cpp   Sun Nov 06 23:24:16 2016 +0100
>> +++ b/source/common/param.cpp   Fri Nov 11 16:03:22 2016 +0530
>> @@ -1442,6 +1442,9 @@
>>      s += sprintf(s, "%dx%d", p->sourceWidth,p->sourceHeight);
>>      s += sprintf(s, " fps=%u/%u", p->fpsNum, p->fpsDenom);
>>      s += sprintf(s, " bitdepth=%d", p->internalBitDepth);
>> +    s += sprintf(s, " frame-threads=%d", p->frameNumThreads);
>> +    s += sprintf(s, " level-idc=%d", p->levelIdc);
>> +    s += sprintf(s, " numa-pools=%s", p->numaPools);
>>      BOOL(p->bEnableWavefront, "wpp");
>>      s += sprintf(s, " ctu=%d", p->maxCUSize);
>>      s += sprintf(s, " min-cu-size=%d", p->minCUSize);
>> @@ -1519,10 +1522,10 @@
>>                            p->rc.complexityBlur, p->rc.qblur);
>>          if (p->rc.vbvBufferSize)
>>          {
>> -            s += sprintf(s, " vbv-maxrate=%d vbv-bufsize=%d",
>> -                          p->rc.vbvMaxBitrate, p->rc.vbvBufferSize);
>> +            s += sprintf(s, " vbv-maxrate=%d vbv-bufsize=%d
>> vbv-init=%.1f",
>> +                          p->rc.vbvMaxBitrate, p->rc.vbvBufferSize,
>> p->rc.vbvBufferInit);
>>              if (p->rc.rateControlMode == X265_RC_CRF)
>> -                s += sprintf(s, " crf-max=%.1f", p->rc.rfConstantMax);
>> +                s += sprintf(s, " crf-max=%.1f crf-min=%.1f",
>> p->rc.rfConstantMax, p->rc.rfConstantMin);
>>          }
>>      }
>>      else if (p->rc.rateControlMode == X265_RC_CQP)
>> @@ -1538,6 +1541,8 @@
>>          BOOL(p->bMultiPassOptRPS, "multi-pass-opt-rps");
>>          BOOL(p->bRepeatHeaders, "repeat-headers");
>>      }
>> +    s += sprintf(s, " uhd-bd=%d", p->uhdBluray);
>> +    s += sprintf(s, " slices=%d", p->maxSlices);
>>  #undef BOOL
>>      return buf;
>>  }
>> _______________________________________________
>> x265-devel mailing list
>> x265-devel at videolan.org
>> https://mailman.videolan.org/listinfo/x265-devel
>>
>
>
>
> --
> Deepthi
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20161116/6ed85c44/attachment.html>


More information about the x265-devel mailing list