• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Overload operator new in C++ plugins

New Here ,
Dec 04, 2010 Dec 04, 2010

Copy link to clipboard

Copied

Hi,

Does it make sense to overload "operator new" in C++ plugins and have it call the Premiere memory allocation routines?

Thanks!

TOPICS
SDK

Views

737

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 06, 2010 Dec 06, 2010

Copy link to clipboard

Copied

LATEST

Hi Annabella,

Yes, this could be done, although not necessarily required.  Remember though, when allocating buffers for video frames, to specifically use the PPix Creator Suite in PrSDKPPixCreatorSuite.h.  This will ensure that the created PPixes are stored in the Media Cache.

Regards,

Zac

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines