HDLink SDK ReadActiveTable OSX

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Eric Cameron

  • Posts: 1
  • Joined: Tue Mar 03, 2015 4:24 pm

HDLink SDK ReadActiveTable OSX

PostTue Mar 03, 2015 5:16 pm

Hi there,
I've been using the HDLink SDK on Mac for a while, but recently I wanted to try something new with it, and of course I ran into an issue.

In attempting to use:
IHDLink3DLUTConfiguration::ReadActiveTable (LOOKUPTABLE_COLOR** table, uint32_t* cubeDimension, CFStringRef* tableName)

I am finding that the tableName is not ever being read. I don't know if this is a bug in the SDK or a usage issue on my end. Quick sample code:

uint32_t size = 0;
LOOKUPTABLE_COLOR* lut;
CFStringRef name;
result = hdlink3dLutConfig->ReadActiveTable(&lut, &size, &name);
//etc...

This returns fine, and the size and lut appear to be good, but the name is not getting filled in, even when I explicitly set a name in a WriteTable call immediately before this (stored to NVRAM or not).

Any thoughts here? Being able to save and retrieve the table name would be very useful to me. Hoping I'm just missing something silly.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 30 guests