On Wed, Dec 12, 2012 at 1:45 AM, Rahul Ganure <rahul...@gmail.com> wrote:
> Hello everyone,
>
> I have used libvpx(1.1.0) source and created xcode project to port vp8
> codec on IOS platform. I have built a static library for armv7 architecture.
With or without NEON? I believe the 3GS and newer have support and
will benefit significantly from it.
> Porject setting done is,
>
> complier selected : Apple LLVM complier 4.1 (both for asm and c source)
What version of XCode?
Did you convert the assembly files? There is a script:
build/make/ads2gas_apple.pl
Did you generate the offset files? There are a number of manual steps
if you want to use XCode.
On Wed, Dec 12, 2012 at 8:57 PM, Rahul Ganure <rahul...@gmail.com> wrote:
> On Wednesday, 12 December 2012 21:10:34 UTC+5:30, Johann wrote:
> I have complied in Xcode, by adding all the arm assembly files including
> neon assembly. I have taken complete source from libvpx after ./configure
> --target=armv7-darwin-gcc --enable-realtime-only -sdk-path=IOS_SDK_PATH
> --libc-path=LIBC_PATH.
You may want to try a more recent checkout of libvpx. We're looking to
cut a new release soon. Current master branch should be stable for
your use. We improved Xcode detection. You no longer need to specify
the SDK path. We detect it using 'xcode-select'. However, if you are
building with something other than OS 5.1 you do need to specify
--libc=
Unit tests do not build correctly for iOS, so I've uploaded a patch to
disable them for now:
https://gerrit.chromium.org/gerrit/39656
My command line is:
../libvpx/configure --target=armv7-darwin-gcc
--libc=/Applications/Xcode.app//Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/
--disable-unit-tests
> Created static library for vp8 works fine in debug mode, but for release
> mode its not working.
You mentioned in your original message the Debug mode has image
quality issues and in Release that the decoder does not work at all.
Can you capture the stream and decode with another tool? Can you
decode static webm content on the device?
On Thu, Dec 13, 2012 at 11:11 PM, Rahul Ganure <rahul...@gmail.com> wrote:
> On Friday, 14 December 2012 01:17:44 UTC+5:30, Johann wrote:
>> > Created static library for vp8 works fine in debug mode, but for release
>> > mode its not working.
>>
>> You mentioned in your original message the Debug mode has image
>> quality issues and in Release that the decoder does not work at all.
>> Can you capture the stream and decode with another tool? Can you
>> decode static webm content on the device?
>
> I have worked on finding the reason behind the quality issue in debug mode
> and decoding problems in release mode. I have found out that this sought of
> issue occur only I am setting any sought of optimisation level through xcode
> using apple LLVM complier 4.1
What sort of issue? Is this with libvpx built independently or in XCode?
Why are you trying to build libvpx in XCode?
> Moreover I have written the encoded stream in file for for both debug mode
> and release mode library by setting same input parameters and by feeding
> same input test data YUV file.
>
> I have compared the encoded data files obtained form debug and release mode
> run, found that these files are not matching when compared with a file
> compare tool Hex edit.
How are you storing the files? Do you get the same results if you run
the debug or release code multiple times? If you write out the data as
ivf files you can decode them on the desktop with vpxdec. There is
example code in simple_encoder.c which is a generated file. I've
attached it.
> do we have any problems with vp8 codec when optimisation is enabled for IOS
> platform, because same code works fine even with optimisation level set on
> different platforms with their corresponding assembly source for each
> platform.
When you adjust the optimization level are turning off/on the assembly code?
--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To post to this group, send email to webm-d...@webmproject.org.
To unsubscribe from this group, send email to webm-discuss...@webmproject.org.
For more options, visit this group at http://groups.google.com/a/webmproject.org/group/webm-discuss/?hl=en.