• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Accelerate framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accelerate framework


  • Subject: Re: Accelerate framework
  • From: Roland King <email@hidden>
  • Date: Sat, 12 May 2012 20:35:44 +0800

Never used the framework but my first thought would be to create a CGImageRef which can take directly formatted data (I'm assuming that vImages are just a byte buffer) and then make a UIImage from there.

What did you do to get a vImage from your UIImage in the first place?

On May 12, 2012, at 8:26 PM, Luca Ciciriello wrote:

> Now my problem is:
> How can I rebuild an UIImage from the output of the vImageConvolve_ARGB8888 elaboration?
> I can't find any code sample on this.
>
> L.
> On May 12, 2012, at 11:16 AM, Luca Ciciriello wrote:
>
>> Yes You are right. It was a my stupid syntax error.
>>
>> L.
>>
>> On May 12, 2012, at 10:34 AM, Ken Thomases wrote:
>>
>>> On May 12, 2012, at 3:25 AM, Luca Ciciriello wrote:
>>>
>>>> Using the accelerate framework in iOS 5.1 I've imported the header Accelerate/Accelerate.h and in my code I'm using the line:
>>>>
>>>> uint_8 kernel = {-2, -2, 0, -2, 6, 0, 0, 0, 0};
>>>>
>>>> My problem is that I've got the error:
>>>>
>>>> "Use of undeclared identifier uint_8".
>>>>
>>>> Which is the header I've to use for uint_8?
>>>
>>> Do you perhaps mean uint8_t?  Certainly, the Accelerate framework won't require you to use any type which it hasn't included the definition for.
>>>
>>> Regards,
>>> Ken
>>>
>>>
>>
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Accelerate framework (From: Luca Ciciriello <email@hidden>)
 >Re: Accelerate framework (From: Ken Thomases <email@hidden>)
 >Re: Accelerate framework (From: Luca Ciciriello <email@hidden>)
 >Re: Accelerate framework (From: Luca Ciciriello <email@hidden>)

  • Prev by Date: Re: Accelerate framework
  • Next by Date: Re: Accelerate framework
  • Previous by thread: Re: Accelerate framework
  • Next by thread: Re: Accelerate framework
  • Index(es):
    • Date
    • Thread