Lines Matching refs:selfPtr
482 HANDLE_BSF_INSTANCE *selfPtr) { in fdk_sacenc_destroySpatialBitstreamEncoder() argument
485 if ((selfPtr == NULL) || (*selfPtr == NULL)) { in fdk_sacenc_destroySpatialBitstreamEncoder()
488 if (*selfPtr != NULL) { in fdk_sacenc_destroySpatialBitstreamEncoder()
489 FDK_FREE_MEMORY_1D(*selfPtr); in fdk_sacenc_destroySpatialBitstreamEncoder()
497 HANDLE_BSF_INSTANCE *selfPtr) { in fdk_sacenc_createSpatialBitstreamEncoder() argument
500 if (NULL == selfPtr) { in fdk_sacenc_createSpatialBitstreamEncoder()
504 FDK_ALLOCATE_MEMORY_1D(*selfPtr, 1, BSF_INSTANCE); in fdk_sacenc_createSpatialBitstreamEncoder()
509 fdk_sacenc_destroySpatialBitstreamEncoder(selfPtr); in fdk_sacenc_createSpatialBitstreamEncoder()
515 HANDLE_BSF_INSTANCE selfPtr) { in fdk_sacenc_initSpatialBitstreamEncoder() argument
518 if (selfPtr == NULL) { in fdk_sacenc_initSpatialBitstreamEncoder()
522 clearFrame(&selfPtr->frame); in fdk_sacenc_initSpatialBitstreamEncoder()
530 HANDLE_BSF_INSTANCE selfPtr) { in fdk_sacenc_getSpatialSpecificConfig() argument
531 return ((selfPtr == NULL) ? NULL : &(selfPtr->spatialSpecificConfig)); in fdk_sacenc_getSpatialSpecificConfig()
604 SPATIALFRAME *fdk_sacenc_getSpatialFrame(HANDLE_BSF_INSTANCE selfPtr, in fdk_sacenc_getSpatialFrame() argument
617 return (((selfPtr == NULL) || (idx == -1)) ? NULL : &selfPtr->frame); in fdk_sacenc_getSpatialFrame()
731 HANDLE_BSF_INSTANCE selfPtr) { in fdk_sacenc_writeSpatialFrame() argument
734 if ((pOutputBuffer == NULL) || (pnOutputBits == NULL) || (selfPtr == NULL)) { in fdk_sacenc_writeSpatialFrame()
744 (frame = fdk_sacenc_getSpatialFrame(selfPtr, READ_SPATIALFRAME))) || in fdk_sacenc_writeSpatialFrame()
745 (NULL == (config = &(selfPtr->spatialSpecificConfig)))) { in fdk_sacenc_writeSpatialFrame()
750 numOttBoxes = selfPtr->spatialSpecificConfig.treeDescription.numOttBoxes; in fdk_sacenc_writeSpatialFrame()
774 selfPtr->spatialSpecificConfig.bsFrameLength))) { in fdk_sacenc_writeSpatialFrame()
783 (error = writeOttData(&bitstream, &selfPtr->prevFrameData.prevOttData, in fdk_sacenc_writeSpatialFrame()
800 (error = WriteSpatialExtensionFrame(&bitstream, selfPtr))) { in fdk_sacenc_writeSpatialFrame()
805 (frame = fdk_sacenc_getSpatialFrame(selfPtr, WRITE_SPATIALFRAME))) { in fdk_sacenc_writeSpatialFrame()