Lines Matching defs:frameData
801 uint8* frameData = NULL;
805 frameData = NULL;
810 frameData = (uint8*) AllocateValueArray(err, PVMI_KVPVALTYPE_UINT8PTR, frameDataSize, &iAlloc);
811 if (OsclErrNone != err || !frameData)
816 oscl_memset(frameData, 0, frameDataSize);
818 if (readByteData(iInputFile, ID3V1_MAX_NUM_BYTES_COMMENT, frameData) == false)
820 iAlloc.deallocate(frameData);
826 if (frameData[ID3V1_MAX_NUM_BYTES_COMMENT-2] == 0 &&
827 frameData[ID3V1_MAX_NUM_BYTES_COMMENT-1] != 0)
837 iAlloc.deallocate(frameData);
847 iAlloc.deallocate(frameData);
854 kvpPtr->value.uint32_value = (uint32)frameData[ID3V1_MAX_NUM_BYTES_COMMENT - 1];
859 iAlloc.deallocate(frameData);
870 frameData[ID3V1_MAX_NUM_BYTES_COMMENT] = 0;
874 iAlloc.deallocate(frameData);
884 iAlloc.deallocate(frameData);
891 uint32 comment_size = oscl_strlen((char*) frameData);
892 oscl_strncpy(kvpPtr->value.pChar_value, (char *)frameData, dataSize);
900 iAlloc.deallocate(frameData);
906 iAlloc.deallocate(frameData);
920 frameData = (uint8*) AllocateValueArray(err, PVMI_KVPVALTYPE_UINT8PTR, frameDataSize, &iAlloc);
921 if (OsclErrNone != err || !frameData)
926 oscl_memset(frameData, 0, frameDataSize);
928 if (readByteData(iInputFile, ID3V1_MAX_NUM_BYTES_GENRE, frameData) == false)
930 iAlloc.deallocate(frameData);
937 iAlloc.deallocate(frameData);
945 iAlloc.deallocate(frameData);
953 kvpPtr->value.uint32_value = (uint32)(frameData[ID3V1_MAX_NUM_BYTES_GENRE - 1]);
957 iAlloc.deallocate(frameData);
962 iAlloc.deallocate(frameData);
2607 LOG_ERR((0, "PVID3ParCom::ReadStringValueFrame: Error - frameData allocation failed"));