Home
last modified time | relevance | path

Searched refs:fromConvertData (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c556 pOutput->fromConvertData.pBuffer = malloc(pSession->outputBufferSize); in FwdLockConv_WriteHeader()
557 if (pOutput->fromConvertData.pBuffer == NULL) { in FwdLockConv_WriteHeader()
567 memcpy(pOutput->fromConvertData.pBuffer, pSession->topHeader, TOP_HEADER_SIZE); in FwdLockConv_WriteHeader()
568 memcpy((char *)pOutput->fromConvertData.pBuffer + TOP_HEADER_SIZE, in FwdLockConv_WriteHeader()
570 memcpy((char *)pOutput->fromConvertData.pBuffer + encryptedSessionKeyPos, in FwdLockConv_WriteHeader()
574 memset((char *)pOutput->fromConvertData.pBuffer + dataSignaturePos, 0, in FwdLockConv_WriteHeader()
576 memset((char *)pOutput->fromConvertData.pBuffer + headerSignaturePos, 0, in FwdLockConv_WriteHeader()
579 pOutput->fromConvertData.numBytes = pSession->dataOffset; in FwdLockConv_WriteHeader()
836 if (pOutput->fromConvertData.numBytes == pSession->outputBufferSize) { in FwdLockConv_WriteEncryptedChar()
839 pBuffer = realloc(pOutput->fromConvertData.pBuffer, pSession->outputBufferSize); in FwdLockConv_WriteEncryptedChar()
[all …]
DFwdLockConv.h64 FwdLockConv_ConvertData_Output_t fromConvertData; member
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp424 if (convSession->output.fromConvertData.numBytes > 0) {
425 convResult->data = new char[convSession->output.fromConvertData.numBytes];
428 convResult->length = convSession->output.fromConvertData.numBytes;
430 (char *)convSession->output.fromConvertData.pBuffer,
435 offset = convSession->output.fromConvertData.errorPos;