• 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: CVPixelBufferCreateWithPlanarBytes does not execute callback when released
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVPixelBufferCreateWithPlanarBytes does not execute callback when released


  • Subject: Re: CVPixelBufferCreateWithPlanarBytes does not execute callback when released
  • From: Matthieu Bouron <email@hidden>
  • Date: Mon, 25 Nov 2013 12:45:25 +0000

On Sun, Nov 10, 2013 at 10:50 PM, Matthieu Bouron <email@hidden
> wrote:

> Hello,
>
> First of all, sorry in advance if i'm not addressing the right mailing
> list.
>
> I'm currently using the CVPixelBufferRef API and more precisely
> the CVPixelBufferCreateWithPlanarBytes function so I can use my own video
> buffers.
>
> This function let the user provide a callback so the user can provide
> a function to free its buffer on release. However I can't get my own
> callback to be executed which leads to severe memory leaks in my
> application.
>
> You can find attached to this email, an example to reproduce the issue.
> Note that the first example with CVPixelBufferCreateWithBytes works but
> the CVPixelBufferCreateWithPlanarBytes one don't.
> Maybe i'm missing something ?
>
> I'm facing this issue on OSX 10.9.
>
> To compile the example:
> gcc -framework CoreVideo test_cvbuffer.m -o test_cvbuffer
>
> Thanks in advance for your help.
>

ping

[...]
_______________________________________________

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: 
 >CVPixelBufferCreateWithPlanarBytes does not execute callback when released (From: Matthieu Bouron <email@hidden>)

  • Prev by Date: iOS screen physical size (or px density)
  • Next by Date: Re: Sending a message to a Toll free bridge
  • Previous by thread: CVPixelBufferCreateWithPlanarBytes does not execute callback when released
  • Next by thread: dataWithPDFInsideRect: subview positions when using layer backed views
  • Index(es):
    • Date
    • Thread