<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I receive the following message:<div>







<p class="p1"><b>[swscaler @ 0x8b0de00] No accelerated colorspace conversion found from yuv420p to rgb24.</b></p><p class="p1"><b><br></b></p><p class="p1">when issuing:</p><p class="p1">







<p class="p1">        sws_ctx =</p>
<p class="p2"><span class="s1">        </span>sws_getContext</p>
<p class="p1">        (</p>
<p class="p3"><span class="s1">         </span>pCodecCtx<span class="s1">-></span>width<span class="s1">,</span></p>
<p class="p3"><span class="s1">         </span>pCodecCtx<span class="s1">-></span>height<span class="s1">,</span></p>
<p class="p3"><span class="s1">         </span>pCodecCtx<span class="s1">-></span>pix_fmt<span class="s1">,</span></p>
<p class="p3"><span class="s1">         </span>pCodecCtx<span class="s1">-></span>width<span class="s1">,</span></p>
<p class="p3"><span class="s1">         </span>pCodecCtx<span class="s1">-></span>height<span class="s1">,</span></p>
<p class="p2"><span class="s1">         </span>PIX_FMT_RGB24<span class="s1">,</span></p>
<p class="p4"><span class="s1">         </span>SWS_BILINEAR<span class="s1">,</span></p>
<p class="p1">         <span class="s2">NULL</span>,</p>
<p class="p1">         <span class="s2">NULL</span>,</p>
<p class="p1">         <span class="s2">NULL</span></p>
<p class="p1">         );</p><p class="p1"><br></p><p class="p1">in my iOS app when running the iPhone or IPad simulator.  I am decoding and h264 video. I had to turn off assembler optimizations (<span style="font-size: 12pt;">--disable-asm)</span><span style="font-size: 12pt;"> in my configure script for the i386 compile in order to avoid the following error during the make of the i386 libraries:</span></p><p class="p1"><br></p><p class="p1"><p class="p1">cc1: error in backend: Ran out of registers during register allocation!</p><p class="p1">make: *** [libavcodec/h264_cabac.o] Error 1</p><p class="p1"><br></p><p class="p1">My questions:</p><p class="p1">1) Does "No accelerated colorspace conversion found" mean that there were no assembler optimizations?</p><p class="p1">2) If so, is there a way to make it run without assembler optimizations? ( I don't mind if it is slow on the simulator)</p><p class="p1">3) If so again, how do I avoid the error when attempting the make with assembler optimizations?</p><p class="p1">4) Most importantly, am I even on the right path to solving this problem?</p><p class="p1"><br></p><p class="p1">I truly appreciate your kind response:</p><p class="p1"><br></p><p class="p1">Here is a copy of my configure command for the i386 build.</p><p class="p1"><br></p><p class="p1"><br></p><p class="p1"><p class="p1">./configure \</p><p class="p1">--prefix=i386 \</p><p class="p1">--disable-programs \</p><p class="p1">--enable-avresample \</p><p class="p1">--disable-bzlib --disable-doc --enable-pic --disable-zlib --enable-decoder=h264 --enable-demuxer=h264 --enable-parser=h264 --disable-libschroedinger --disable-libspeex --disable-libtheora --disable-libvorbis --disable-libvpx \</p><p class="p1">--enable-cross-compile \</p><p class="p1">--sysroot="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk" \</p><p class="p1">--target-os=darwin \</p><p class="p1">--cc="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc" \</p><p class="p1">--extra-cflags="-arch i386" \</p><p class="p1">--extra-ldflags="-arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk" \</p><p class="p1">--arch=i386 \</p><p class="p1">--cpu=i386 \</p><p class="p1">--enable-pic \</p><p class="p1">--disable-asm \</p></p><p class="p1"><br></p></p></p></div>                                        </div></body>
</html>