|
FireSync API
|
Collection of utility functions.
Public Member Functions | |
| kStatus | kCalculateSubframe (kSize desiredSubframeCount, kSize pixelCount, kSize *subframeCount, kSize *subframeCapacity) |
| Calculates the expected compressed subframe capacity given a desired number of subframes and image size. More... | |
| k32u | kCountBits32u (k32u value) |
| Counts the number of bits that are set in a 32-bit unsigned integer. More... | |
| kStatus | kFindOsProgram (kControllerType type, kChar *path, kSize capacity, kVersion *version) |
| Obtain the absolute path to the OS firmware program and its version. More... | |
| kStatus | kFindPlProgram (k32u configuration, kVersion expectingVersion, kChar *path, kSize capacity, kVersion *version) |
| Gives the path and the version of a Pl file given a specific configuration. More... | |
| kStatus | kFsUtils_FindPsProgram (const kChar *programName, kControllerType type, kBool isDebug, kChar *path, kSize capacity) |
| This function returns the fully qualified (absolute) path for a given program name based on the controller type. More... | |
| kStatus | kLoadFromFile (kObject *object, const kChar *path, kLoadStreamFx loadFunction, kAlloc allocator) |
| Loads a file and parses a user-defined object from the file using the specified callback. More... | |
| kStatus | kSaveToFile (kObject object, const kChar *path, kSaveStreamFx saveFunction) |
| Formats a user-defined object using the specified callback and saves the result to file. More... | |