It's just no documented at all, but i think it does.<br>SurfaceView is just the "frontend". components behind it are designed to do it.<br><br>There's a sample on android source code which does just that :<br>
<a href="http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=services/surfaceflinger/tests/resize/resize.cpp" target="_blank">http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=services/surfaceflinger/tests/resize/resize.cpp</a><br>
<br>And a site i found with some info : <a href="http://kcchao.wikidot.com/surfaceflinger" target="_blank">http://kcchao.wikidot.com/surfaceflinger</a><br>
<br><br><div class="gmail_quote">On Thu, May 19, 2011 at 10:58 AM, Ludovic Fauvet <span dir="ltr"><<a href="mailto:etix@l0cal.com">etix@l0cal.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, May 19, 2011 at 10:11 AM, XilasZ <<a href="mailto:xilasz@gmail.com">xilasz@gmail.com</a>> wrote:<br>
> I think a SurfaceView (which is used by all good player i know, including<br>
> vlc) scales its content if it doesn't match the display size using hardware,<br>
> but i'm not sure.<br>
<br>
</div>The Android vout uses pixman to scale the content. It is very fast on<br>
ARM but the scaling is far from being perfect.<br>
<div class="im"><br>
> I'll try to prevent vlc-android from scaling anything and send the video<br>
> unscaled to the SurfaceView.<br>
<br>
</div>This should be fairly easy but as far as I know a SurfaceView can't<br>
scale the content by itself.<br>
<font color="#888888"><br>
--<br>
Ludovic Fauvet (etix)<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br>