<div dir="ltr"><br><div><div class="gmail_extra"><div class="gmail_quote">
On Sun, Jan 13, 2013 at 10:59 PM, Xiang, Haihao <span dir="ltr"><<a href="mailto:haihao.xiang@intel.com" target="_blank">haihao.xiang@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div>On Sun, 2013-01-13 at 20:38 -0800, Ratin wrote:<br>
> Hi, I have noticed that since september / octorber of 2012, VAAPI<br>
> structs, signatures changed  so much that I had to throw out all my<br>
> decode/rendering code that I previously wrote and basically start<br>
> writing from scratch again.<br>
<br>
</div>The official release has stable APIs. You are using staging branch,<br>
right ? The staging branch is created for new features, so some of the<br>
APIs for new features aren't stable enough.<br>
<div><br>
</div></blockquote><div><br><div>Hi Xiang, Thanks for your reply, Yes, I am using the staging 
branch, but irrespective of which branch I am working on, I think if the
 the basic signatures should not change (for example vaCreateSurfaces 
signature completely re-ordered) Things like 
VAEncPictureParameterBufferH264 does not exist anymore, so the 
whole section of code which is based on this stucture variable kind of 
falls apart.. I am sure it will not be changing anymore soon - just 
curious to know if  a drastic change like that will happen soon , should I wait until that moment etc.<br>

<br><br></div><div>BTW, I have a question regarding pushing the decode / render cycles to a limit.  I have got success bulding the code base on ubuntu 13.04, kernel version  3.7.0-7-generic, staging branches of inetl driver and VAAPI. I am decoding h.264 video from a file, decode and then render (put surface). I am pushing 9 1080P decode/render on a little Intel Nano box, with HD4000 with core i3. Initially the latency is nothing , load average is only .35, cpu percentage is only 48 % . As time progresses, load average slowly gets higher and higher, and at t+2 hr, load average is at 7.9, cpu usage is 312 %. What would cause something like this? I forced the cpu to goto max performance via sysctl tunables so this should have been consistent. I am also monitoring the cpu temperature and its gets hot but not alarming hot, besides the temperature based cpu stepping thresholds kind disabled, as I picked max cpu freq via kernel tunables. <br>
<br>The project I am doing requires the system to be up and running for days so this is kind of important for me to keep some kind of consistency for days. Do you guys do similar long term tests with high load and if yes, can you elaborate what you have seen? <br>
</div><div><br></div><div>Thanks for your input.. <br><br></div><div>Ratin<br></div><br><br><br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>> For example, the changes in test program avcenc is drastic. I was just<br>
> curious how often do you make these kind of core API changes? Is it<br>
> possible to follow some basic programming standards like, don't change<br>
> the signature drastically, use structs for signatures so its only<br>
> elements within strucs that changes, and also call version 2 of the<br>
> function from within function 1 internally , dont change version 1's<br>
> signature ..  etc?<br>
><br>
><br>
> Thanks<br>
><br>
><br>
> Ratin<br>
><br>
</div>> _______________________________________________<br>
> Libva mailing list<br>
> <a href="mailto:Libva@lists.freedesktop.org" target="_blank">Libva@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/libva" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libva</a><br>
<br>
<br>
</blockquote></div><br></div></div></div>