<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - amdgpu hevc encoding problems: segment fault and contents of garbage"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110673#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - amdgpu hevc encoding problems: segment fault and contents of garbage"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110673">bug 110673</a>
              from <span class="vcard"><a class="email" href="mailto:boyuan.zhang@amd.com" title="Boyuan Zhang <boyuan.zhang@amd.com>"> <span class="fn">Boyuan Zhang</span></a>
</span></b>
        <pre>(In reply to zhoulei from <a href="show_bug.cgi?id=110673#c6">comment #6</a>)
<span class="quote">> (In reply to Boyuan Zhang from <a href="show_bug.cgi?id=110673#c5">comment #5</a>)
> > Hi Zhoulei,
> > 
> > I fixed the second issue you reported (cbr/vbr corruption for hevc encoding).
> > 
> > Please give a try using this patch:
> > <a href="https://lists.freedesktop.org/archives/mesa-dev/2019-June/220304.html">https://lists.freedesktop.org/archives/mesa-dev/2019-June/220304.html</a>
> > 
> > Thanks,
> > Boyuan

> Hi Boyuan:

> I have tested these patches on RX580, it works.

> In addition:

> Changes in radeon_vcn_enc_1_2.c cannot applied.

> It looks like a typo.

> RENC_UVD_RATE_CONTROL_METHOD_NONE, radeon_uvd_enc_code_fixed_bits and

> radeon_uvd_enc_code_ue are defined in radeon_uvd_enc.h.

> shoud use marco and funtions defined in radeon_vcn_enc.h.</span >


Thanks for your testing Zhoulei.

The typo has been fixed in the patch V2:
<a href="https://lists.freedesktop.org/archives/mesa-dev/2019-June/220450.html">https://lists.freedesktop.org/archives/mesa-dev/2019-June/220450.html</a>

Regards,
Boyuan</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>