Why max size of SurfaceView(Android) for play video is 1024x1024?
<p>I use SurfaceView for play video. I use Samsung Galaxy Tab to test. I set size:</p>

<pre><code>LinearLayout.LayoutParams videoViewParams = new   LinearLayout.LayoutParams(m_mainView.getPictureWidth(), m_mainView.getPictureHeight());       
mPreview = (SurfaceView) videoView.findViewById(R.id.surface); 
mPreview.setLayoutParams(videoViewParams);
</code></pre>

<p>When mainView.getPictureWidth() or mainView.getPictureHeight() is higer then 1024 - i get message in logcat:</p>

<blockquote>
  <p>01-12 11:49:15.839: ERROR/SurfaceFlinger(2491): LayerBuffer init temp buff failed with w=1210, h=922, exp max=1024x1024 on 0</p>
</blockquote>

<p>and i see only black screen.</p>

<p>Why?
In my application I use video scaling, and sometimes I need to get a video of a size greater than 1024.</p>
