<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Thanks David for replay,</div>
<span id="OLK_SRC_BODY_SECTION">
<div bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<p>Maybe my question should be better defined, I know that my platforms Adreno 530 GPU supports certain hardware accelerated encoding for both h.264 and h.265, but I failed to find any API for access it, so I was wondering is it integrated and supported in
 ffmpeg?</p>
<p><br>
</p>
<p><br>
</p>
<p>Oljahim.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 08.05.2017. 15:36, David Yuan wrote:<br>
</div>
<blockquote cite="mid:DM5PR13MB12116592DB2367F752911EDDBDEE0@DM5PR13MB1211.namprd13.prod.outlook.com" type="cite">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Based on this a little dated announcement on Qualcomm, <a moz-do-not-send="true" href="https://www.qualcomm.com/news/releases/2015/08/12/qualcomm-introduces-next-generation-gpu-architecture-and-image-signal" class="OWAAutoLink" id="LPlnk212937" previewremoved="true">https://www.qualcomm.com/news/releases/2015/08/12/qualcomm-introduces-next-generation-gpu-architecture-and-image-signal</a>,
 it supports 60FPS HEVC decoding, but no where it mentions about its capability to encode in HEVC. </p>
<div id="LPBorder_GT_14942503450470.8338968636467718" style="margin-bottom: 20px; overflow: auto; width: 100%;
          text-indent: 0px;">
<table id="LPContainer_14942503450430.6853878132736178" role="presentation" style="width: 90%; background-color:
            rgb(255, 255, 255); position: relative; overflow: auto;
            padding-top: 20px; padding-bottom: 20px; margin-top: 20px;
            border-top: 1px dotted rgb(200, 200, 200); border-bottom:
            1px dotted rgb(200, 200, 200);" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="TextCell_14942503450440.4913796175369596" colspan="2" style="vertical-align: top; position:
                  relative; padding: 0px; display: table-cell;">
<div id="LPTitle_14942503450440.5660115655392735" style="top: 0px; color: rgb(0, 120, 215);
                    font-weight: normal; font-size: 21px; font-family:
                    wf_segoe-ui_light, "Segoe UI Light",
                    "Segoe WP Light", "Segoe UI",
                    "Segoe WP", Tahoma, Arial, sans-serif;
                    line-height: 21px;">
<a moz-do-not-send="true" id="LPUrlAnchor_14942503450450.5430672407303165" href="https://www.qualcomm.com/news/releases/2015/08/12/qualcomm-introduces-next-generation-gpu-architecture-and-image-signal" target="_blank" style="text-decoration: none;">Qualcomm
 Introduces Next-Generation GPU Architecture and ...</a></div>
<div id="LPMetadata_14942503450450.864705965221529" style="margin: 10px 0px 16px; color: rgb(102, 102,
                    102); font-weight: normal; font-family:
                    wf_segoe-ui_normal, "Segoe UI",
                    "Segoe WP", Tahoma, Arial, sans-serif;
                    font-size: 14px; line-height: 14px;">
<a class="moz-txt-link-abbreviated" href="http://www.qualcomm.com">www.qualcomm.com</a></div>
<div id="LPDescription_14942503450460.5406213125585195" style="display: block; color: rgb(102, 102, 102);
                    font-weight: normal; font-family:
                    wf_segoe-ui_normal, "Segoe UI",
                    "Segoe WP", Tahoma, Arial, sans-serif;
                    font-size: 14px; line-height: 20px; max-height:
                    100px; overflow: hidden;">
Qualcomm Incorporated (NASDAQ: QCOM) today announced that its subsidiary, Qualcomm Technologies, Inc. (QTI), has introduced its next-generation visual processing ...</div>
</td>
</tr>
</tbody>
</table>
</div>
I think your question could be better answered at Qualcomm's developer's forum. And if the answer is yes the Adreno 530 GPU does support HW encoding for HEVC, the next stop is here to ask the ffmpeg developers whether that is integrated into ffmpeg. 
<div><br>
</div>
<div>Please let me know if you find out the answer, as I'm interested in knowing too. </div>
<div><br>
</div>
<div>thanks!</div>
<div>David<br>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri,sans-serif" color="#000000"><b>From:</b> Libav-user
<a class="moz-txt-link-rfc2396E" href="mailto:libav-user-bounces@ffmpeg.org"><libav-user-bounces@ffmpeg.org></a> on behalf of MIhajlo Jovanovic
<a class="moz-txt-link-rfc2396E" href="mailto:mihajlo.jovanovic@rt-rk.com"><mihajlo.jovanovic@rt-rk.com></a><br>
<b>Sent:</b> May 8, 2017 8:29 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:libav-user@ffmpeg.org">
libav-user@ffmpeg.org</a><br>
<b>Subject:</b> [Libav-user] From buffer encoding</font>
<div> </div>
</div>
<div>Hello everyone,<br>
<br>
I have multiple questions that I couldn't find answers for. I am hoping that I'll get any answers here.<br>
So, I am working on Qualcomm Snapdragon 820 android platform, I have 6(!!) cameras
<span id="result_box" class="short_text" lang="en"><span class="">attached on it, I have camera library<br>
that supplies me with 30 raw 1280*720 yuv422 (UYVY) frames per sec in vector/buffer format. I need them to convert into h.264/5 video for real time(!!!) streaming.<br>
1:<br>
    Does ffmpeg supports HW acceleration for This device? I couldn't completely find answer for that here:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://trac.ffmpeg.org/wiki/HWAccelIntro" id="LPlnk891494" previewremoved="true">
https://trac.ffmpeg.org/wiki/HWAccelIntro</a>.
<div id="LPBorder_GT_14942503162510.4475400620335068" style="margin-bottom: 20px; overflow: auto; width:
                    100%; text-indent: 0px;">
<table id="LPContainer_14942503162470.7074665432745024" role="presentation" style="width: 90%;
                      background-color: rgb(255, 255, 255); position:
                      relative; overflow: auto; padding-top: 20px;
                      padding-bottom: 20px; margin-top: 20px;
                      border-top: 1px dotted rgb(200, 200, 200);
                      border-bottom: 1px dotted rgb(200, 200, 200);" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="TextCell_14942503162490.41818340035370016" colspan="2" style="vertical-align: top;
                            position: relative; padding: 0px; display:
                            table-cell;">
<div id="LPTitle_14942503162490.9591186734187767" style="top: 0px; color: rgb(0, 120, 215);
                              font-weight: normal; font-size: 21px;
                              font-family: wf_segoe-ui_light,
                              "Segoe UI Light", "Segoe WP
                              Light", "Segoe UI",
                              "Segoe WP", Tahoma, Arial,
                              sans-serif; line-height: 21px;">
<a moz-do-not-send="true" id="LPUrlAnchor_14942503162500.5403924631516612" href="https://trac.ffmpeg.org/wiki/HWAccelIntro" target="_blank" style="text-decoration: none;">HWAccelIntro – FFmpeg</a></div>
<div id="LPMetadata_14942503162500.15655475553401388" style="margin: 10px 0px 16px; color:
                              rgb(102, 102, 102); font-weight: normal;
                              font-family: wf_segoe-ui_normal,
                              "Segoe UI", "Segoe
                              WP", Tahoma, Arial, sans-serif;
                              font-size: 14px; line-height: 14px;">
trac.ffmpeg.org</div>
<div id="LPDescription_14942503162510.20329358883011817" style="display: block; color: rgb(102,
                              102, 102); font-weight: normal;
                              font-family: wf_segoe-ui_normal,
                              "Segoe UI", "Segoe
                              WP", Tahoma, Arial, sans-serif;
                              font-size: 14px; line-height: 20px;
                              max-height: 100px; overflow: hidden;">
FFmpeg provides a subsystem for hardware acceleration. Hardware acceleration allows to use specific devices (usually graphical card or other specific devices) to ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
1.1:<br>
    And if doesn't support HW acceleration, is it possible to achieve real-time encoding without it. 
<br>
2:<br>
    Is it possible to encode separate frames not from file? I am asking this because I got hard time with
</span></span><span id="result_box" class="short_text" lang="en"><span class=""><span id="result_box" class="short_text" lang="en"><span class="">nonexistent</span><span class="">appropriate documentation
</span></span>doing this in MediaCodec.<br>
<br>
I would </span></span><span id="result_box" class="short_text" lang="en"><span class="">much</span><span class="">appreciate if got any answers before i step deeper in ffmpeg API-s also any help or
</span></span><span id="result_box" class="short_text" lang="en"><span class=""><span id="result_box" class="short_text" lang="en"><span class="alt-edited">guidance too.<br>
 </span></span><br>
</span></span>Best Regards.<br>
<br>
Oljahim.</div>
</div>
</div>
</div>
</blockquote>
</div>
</span>
<div><br>
</div>
<div><br>
</div>
<div>Hi Oljahim – This type of question might get a better response on the x264-devel list.  Ffmpeg afaik doesn’t have an internal h264 encoder, only decoder.  It uses libx264 for encoding h264 video.</div>
<div>- David</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div bgcolor="#FFFFFF" text="#000000"><br>
</div>
</span>
</body>
</html>