/external/opencore/nodes/pvomxencnode/include/ |
H A D | pvmf_omx_enc_port.h | 136 * @param aKvp Output parameter to hold the allocated key-value pairs 141 PVMFStatus AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams); 148 * @param aKvp Key-value pair parameter to be verified 152 PVMFStatus VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam = false); 205 static int GetPriority(PvmiKvp*& aKvp) argument 207 if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_YUV420) == 0) 211 else if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_YUV422) == 0) 215 else if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_YUV422_INTERLEAVED_UYVY) == 0) 219 else if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_YUV422_INTERLEAVED_YUYV) == 0) 223 else if (pv_mime_strcmp(aKvp [all...] |
/external/opencore/protocols/rtsp_client_engine/src/ |
H A D | pvrtsp_client_engine_port.cpp | 157 PvmiKvp*& aKvp) 162 aKvp = NULL; 170 aKvp = new(ptr) PvmiKvp; 172 aKvp->key = (PvmiKeyType)ptr; 173 oscl_strncpy(aKvp->key, aFormatValType, strLen); 174 aKvp->length = aKvp->capacity = strLen; 175 aKvp->value.bool_value = false; 156 pvmiGetPortInPlaceDataProcessingInfoSync(const char* aFormatValType, PvmiKvp*& aKvp) argument
|
/external/opencore/nodes/pvaacffparsernode/src/ |
H A D | pvmf_aacffparser_outport.cpp | 254 PvmiKvp*& aKvp) 269 aKvp->key = NULL; 270 aKvp->length = oscl_strlen(aFormatValType) + 1; // +1 for \0 271 aKvp->key = (PvmiKeyType)alloc.ALLOCATE(aKvp->length); 272 if (aKvp->key == NULL) 276 oscl_strncpy(aKvp->key, aFormatValType, aKvp->length); 278 aKvp->value.key_specific_value = (OsclAny*)(trackInfoPtr->iFormatSpecificConfig.getMemFragPtr()); 279 aKvp 253 pvmiGetPortFormatSpecificInfoSync(const char* aFormatValType, PvmiKvp*& aKvp) argument [all...] |
/external/opencore/nodes/pvamrffparsernode/src/ |
H A D | pvmf_amrffparser_port.cpp | 256 PvmiKvp*& aKvp) 271 aKvp->key = NULL; 272 aKvp->length = oscl_strlen(aFormatValType) + 1; // +1 for \0 273 aKvp->key = (PvmiKeyType)alloc.ALLOCATE(aKvp->length); 274 if (aKvp->key == NULL) 278 oscl_strncpy(aKvp->key, aFormatValType, aKvp->length); 280 aKvp->value.key_specific_value = (OsclAny*)(trackInfoPtr->iFormatSpecificConfig.getMemFragPtr()); 281 aKvp 255 pvmiGetPortFormatSpecificInfoSync(const char* aFormatValType, PvmiKvp*& aKvp) argument [all...] |
/external/opencore/nodes/pvclientserversocketnode/src/ |
H A D | pvmf_clientserver_socket_port.cpp | 242 PvmiKvp*& aKvp) 245 aKvp = NULL; 256 aKvp = new(ptr) PvmiKvp; 258 aKvp->key = (PvmiKeyType)ptr; 259 oscl_strncpy(aKvp->key, aFormatValType, strLen); 260 aKvp->length = aKvp->capacity = strLen; 261 aKvp->value.bool_value = true; 240 pvmiGetPortInPlaceDataProcessingInfoSync(const char* aFormatValType, PvmiKvp*& aKvp) argument
|
/external/opencore/nodes/pvmp3ffparsernode/src/ |
H A D | pvmf_mp3ffparser_outport.cpp | 188 PvmiKvp*& aKvp) 196 aKvp->key = NULL; 198 aKvp->key = (PvmiKeyType)alloc.ALLOCATE(KeyLenth); 199 if (aKvp->key == NULL) 203 oscl_strncpy(aKvp->key, aFormatValType, KeyLenth); 206 aKvp->value.key_specific_value = 0; 207 aKvp->length = aKvp->capacity = 0; 211 aKvp->value.key_specific_value = (OsclAny*)(iMP3ParserNode->iDecodeFormatSpecificInfo.getMemFragPtr()); 212 aKvp 187 pvmiGetPortFormatSpecificInfoSync(const char* aFormatValType, PvmiKvp*& aKvp) argument [all...] |
/external/opencore/nodes/pvmp4ffparsernode/src/ |
H A D | pvmf_mp4ffparser_outport.cpp | 474 PvmiKvp*& aKvp) 487 aKvp->key = NULL; 488 aKvp->length = oscl_strlen(aFormatValType) + 1; // +1 for \0 489 aKvp->key = (PvmiKeyType)alloc.ALLOCATE(aKvp->length); 490 if (aKvp->key == NULL) 494 oscl_strncpy(aKvp->key, aFormatValType, aKvp->length); 497 aKvp->value.key_specific_value = 0; 498 aKvp 473 pvmiGetPortFormatSpecificInfoSync(const char* aFormatValType, PvmiKvp*& aKvp) argument [all...] |
/external/opencore/nodes/pvsocketnode/src/ |
H A D | pvmf_socket_port.cpp | 154 PvmiKvp*& aKvp) 159 aKvp = NULL; 168 aKvp = new(ptr) PvmiKvp; 170 aKvp->key = (PvmiKeyType)ptr; 171 oscl_strncpy(aKvp->key, aFormatValType, strLen); 172 aKvp->length = aKvp->capacity = strLen; 176 aKvp->value.bool_value = false;//for the multiple UDP recv feature 179 aKvp->value.bool_value = true; 153 pvmiGetPortInPlaceDataProcessingInfoSync(const char* aFormatValType, PvmiKvp*& aKvp) argument
|
/external/opencore/nodes/pvvideoparsernode/src/ |
H A D | pvmf_videoparser_port.cpp | 293 PvmiKvp*& aKvp) 302 aKvp->key = NULL; 303 aKvp->length = oscl_strlen(aFormatValType) + 1; // +1 for \0 304 aKvp->key = (PvmiKeyType)alloc.ALLOCATE(aKvp->length); 305 if (aKvp->key == NULL) 309 oscl_strncpy(aKvp->key, aFormatValType, aKvp->length); 312 aKvp->value.key_specific_value = 0; 313 aKvp 292 pvmiGetPortFormatSpecificInfoSync(const char* aFormatValType, PvmiKvp*& aKvp) argument [all...] |
/external/opencore/pvmi/pvmf/src/ |
H A D | pvmi_config_and_capability_utils.cpp | 151 OSCL_EXPORT_REF PVMFStatus AllocateKvp(OsclMemAllocator& aAlloc, PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) argument 167 PvmiKvp* curKvp = aKvp = new(buf) PvmiKvp; 178 aKvp[i].key = (char*)buf; 179 oscl_strncpy(aKvp[i].key, aKey, keyLen);
|
/external/opencore/nodes/pvdummyinputnode/src/ |
H A D | pvmf_fileinput_port.cpp | 375 PVMFStatus PVMFFileDummyInputPort::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) argument 393 PvmiKvp* curKvp = aKvp = OSCL_PLACEMENT_NEW(buf, PvmiKvp); 404 aKvp[i].key = (char*)buf; 405 oscl_strncpy(aKvp[i].key, aKey, oscl_strlen(aKvp[i].key)); 406 buf += oscl_strlen(aKvp[i].key); 413 PVMFStatus PVMFFileDummyInputPort::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) argument 415 LOG_STACK_TRACE((0, "PVMFFileDummyInputPort::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); 417 if (!aKvp) 446 pvmiGetPortFormatSpecificInfoSync(const char* aFormatValType, PvmiKvp*& aKvp) argument [all...] |
/external/opencore/nodes/pvmp4ffcomposernode/src/ |
H A D | pvmp4ffcn_port.cpp | 556 PVMFStatus PVMp4FFComposerPort::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) argument 574 PvmiKvp* curKvp = aKvp = OSCL_PLACEMENT_NEW(buf, PvmiKvp); 585 aKvp[i].key = (char*)buf; 586 oscl_strncpy(aKvp[i].key, aKey, keyLen); 594 PVMFStatus PVMp4FFComposerPort::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) argument 596 LOG_STACK_TRACE((0, "PVMp4FFComposerPort::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); 598 if (!aKvp) 604 if (pv_mime_strcmp(aKvp->key, INPUT_FORMATS_VALTYPE) == 0) 606 if (pv_mime_strcmp(aKvp [all...] |
/external/opencore/nodes/streaming/medialayernode/src/ |
H A D | pvmf_medialayer_port.cpp | 384 PvmiKvp*& aKvp) 397 aKvp->key = NULL; 398 aKvp->length = oscl_strlen(aFormatValType) + 1; // +1 for \0 399 aKvp->key = (PvmiKeyType)alloc.ALLOCATE(aKvp->length); 400 if (aKvp->key == NULL) 404 oscl_strncpy(aKvp->key, aFormatValType, aKvp->length); 407 aKvp->value.key_specific_value = 0; 408 aKvp 383 pvmiGetPortFormatSpecificInfoSync(const char* aFormatValType, PvmiKvp*& aKvp) argument [all...] |
/external/opencore/nodes/pvdummyoutputnode/src/ |
H A D | pvmf_dummy_fileoutput_inport.cpp | 622 PVMFStatus PVMFDummyFileOutputInPort::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) argument 640 PvmiKvp* curKvp = aKvp = OSCL_PLACEMENT_NEW(buf, PvmiKvp); 651 aKvp[i].key = (char*)buf; 652 oscl_strncpy(aKvp[i].key, aKey, keyLen); 660 PVMFStatus PVMFDummyFileOutputInPort::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) argument 662 LOG_STACK_TRACE((0, "PVMFDummyFileOutputInPort::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); 664 if (!aKvp) 670 if (pv_mime_strcmp(aKvp->key, INPUT_FORMATS_VALTYPE) == 0) 672 if (IsFormatSupported(aKvp [all...] |
/external/opencore/nodes/pvfileoutputnode/src/ |
H A D | pvmf_fileoutput_inport.cpp | 638 PVMFStatus PVMFFileOutputInPort::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) argument 656 PvmiKvp* curKvp = aKvp = new(buf) PvmiKvp; 667 aKvp[i].key = (char*)buf; 668 oscl_strncpy(aKvp[i].key, aKey, keyLen); 676 PVMFStatus PVMFFileOutputInPort::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) argument 678 LOG_STACK_TRACE((0, "PVMFFileOutputInPort::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); 680 if (!aKvp) 686 if (pv_mime_strcmp(aKvp->key, INPUT_FORMATS_VALTYPE) == 0) 688 if (IsFormatSupported(aKvp [all...] |
/external/opencore/engines/2way/src/ |
H A D | pv_2way_datapath.cpp | 1367 PvmiKvp*& aKvp, 1388 keyType, aKvp, aNumKvpElem, context); 1397 keyType, aKvp, aNumKvpElem, context); 1407 keyType, aKvp, aNumKvpElem, context); 1365 GetKvp(PVMFPortInterface &aPort, bool aInput, PvmiKvp*& aKvp, int32& aNumKvpElem, OsclAny*& aconfigPtr) argument
|
/external/opencore/nodes/pvomxencnode/src/ |
H A D | pvmf_omx_enc_port.cpp | 621 PVMFStatus PVMFOMXEncPort::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) argument 639 PvmiKvp* curKvp = aKvp = new(buf) PvmiKvp; 650 aKvp[i].key = (char*)buf; 651 oscl_strncpy(aKvp[i].key, aKey, keyLen); 659 PVMFStatus PVMFOMXEncPort::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) argument 661 PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, PVLOGMSG_STACK_TRACE, (0, "PVMFOMXEncPort::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); 663 if (!aKvp) 669 if (pv_mime_strcmp(aKvp->key, INPUT_FORMATS_VALTYPE) == 0 && 676 if (pv_mime_strcmp(aKvp 1113 PushKVP(OsclPriorityQueue<PvmiKvp*, OsclMemAllocator, Oscl_Vector<PvmiKvp*, OsclMemAllocator>, PVMFOMXEncInputFormatCompareLess> &aSortedKvp, PvmiKvp *aKvp) argument [all...] |
/external/opencore/android/author/ |
H A D | android_camera_input.cpp | 1054 PVMFStatus AndroidCameraInput::AllocateKvp(PvmiKvp*& aKvp, argument 1075 PvmiKvp* curKvp = aKvp = new (buf) PvmiKvp; 1084 aKvp[i].key = (char*)buf; 1085 oscl_strncpy(aKvp[i].key, aKey, keyLen); 1092 PVMFStatus AndroidCameraInput::VerifyAndSetParameter(PvmiKvp* aKvp, argument 1097 if (!aKvp) { 1102 if (!pv_mime_strcmp(aKvp->key, OUTPUT_FORMATS_VALTYPE)) { 1103 if(pv_mime_strcmp(aKvp->value.pChar_value, ANDROID_VIDEO_FORMAT) == 0) { 1106 LOGE("Unsupported format %d", aKvp->value.uint32_value); 1110 else if (pv_mime_strcmp(aKvp [all...] |
H A D | android_audio_input.cpp | 1337 PVMFStatus AndroidAudioInput::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) argument 1353 PvmiKvp* curKvp = aKvp = new (buf) PvmiKvp; 1364 aKvp[i].key = (char*)buf; 1365 oscl_strncpy(aKvp[i].key, aKey, keyLen); 1373 PVMFStatus AndroidAudioInput::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) argument 1375 if(!aKvp) 1377 LOGE("aKvp is a NULL pointer"); 1381 if(pv_mime_strcmp(aKvp->key, OUTPUT_FORMATS_VALTYPE) == 0) 1383 if(pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_PCM16) == 0) 1389 LOGE("unsupported format (%s) for key %s", aKvp [all...] |
/external/opencore/pvmi/media_io/pvmio_comm_loopback/src/ |
H A D | pvmi_mio_comm_loopback.cpp | 820 PVMFStatus PvmiMIOCommLoopback::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) argument 838 PvmiKvp* curKvp = aKvp = new(buf) PvmiKvp; 849 aKvp[i].key = (char*)buf; 850 oscl_strncpy(aKvp[i].key, aKey, keyLen); 858 PVMFStatus PvmiMIOCommLoopback::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) argument 861 LOG_STACK_TRACE((0, "PvmiMIOCommLoopback::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); 863 if (!aKvp) 869 if (pv_mime_strcmp(aKvp->key, OUTPUT_FORMATS_VALTYPE) == 0) 871 if (pv_mime_strcmp(iSettings.iMediaFormat.getMIMEStrPtr(), aKvp [all...] |
/external/opencore/protocols/systems/3g-324m_pvterminal/h223/src/ |
H A D | logicalchannel.cpp | 1138 PVMFStatus H223OutgoingChannel::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) argument 1141 PVLOGGER_LOGMSG(PVLOGMSG_INST_HLDBG, iLogger, PVLOGMSG_WARNING, (0, "H223OutgoingChannel::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); 1143 if (!aKvp) 1155 if (pv_mime_strcmp(aKvp->key, INPUT_FORMATS_VALTYPE) == 0) 1159 if (pv_mime_strcmp(lcn_format_type.getMIMEStrPtr(), aKvp->value.pChar_value) != 0) 1161 PVLOGGER_LOGMSG(PVLOGMSG_INST_HLDBG, iLogger, PVLOGMSG_WARNING, (0, "H223OutgoingChannel::VerifyAndSetParameter: Error - Input format %s not supported", aKvp->value.pChar_value)); 1165 else if (pv_mime_strcmp(aKvp->key, PVMF_FORMAT_SPECIFIC_INFO_KEY) == 0) 1167 ReceivedFSIFromPeer(aKvp); 1994 PVMFStatus H223IncomingChannel::VerifyAndSetParameter(PvmiKvp* aKvp, boo argument [all...] |
/external/opencore/pvmi/media_io/pvmi_mio_avi_wav_fileinput/src/ |
H A D | pvmi_mio_avi_wav_file.cpp | 1589 PVMFStatus PvmiMIOAviWavFile::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) argument 1610 PvmiKvp* curKvp = aKvp = OSCL_PLACEMENT_NEW(buf, PvmiKvp); 1621 aKvp[ii].key = (char*)buf; 1622 oscl_strncpy(aKvp[ii].key, aKey, keyLen); 1630 PVMFStatus PvmiMIOAviWavFile::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) argument 1633 LOG_STACK_TRACE((0, "PvmiMIOAviWavFile::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); 1635 if (!aKvp) 1641 if (pv_mime_strcmp(aKvp->key, OUTPUT_FORMATS_VALTYPE) == 0) 1643 if (aKvp [all...] |
/external/opencore/pvmi/media_io/pvmi_mio_fileinput/src/ |
H A D | pvmi_mio_fileinput.cpp | 1808 PVMFStatus PvmiMIOFileInput::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) argument 1826 PvmiKvp* curKvp = aKvp = new(buf) PvmiKvp; 1837 aKvp[i].key = (char*)buf; 1838 oscl_strncpy(aKvp[i].key, aKey, keyLen); 1846 PVMFStatus PvmiMIOFileInput::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) argument 1849 LOG_STACK_TRACE((0, "PvmiMIOFileInput::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); 1851 if (!aKvp) 1857 if (pv_mime_strcmp(aKvp->key, OUTPUT_FORMATS_VALTYPE) == 0) 1859 if (iSettings.iMediaFormat == aKvp 2230 PvmiKvp* aKvp = NULL; local [all...] |
/external/opencore/fileformats/id3parcom/src/ |
H A D | pv_id3_parcom.cpp | 3662 PVMFStatus PVID3ParCom::GetKvpValueType(PvmiKvpSharedPtr aKvp, argument 3666 aValueType = GetValTypeFromKeyString(aKvp->key); 3673 if (pv_mime_string_parse_param(aKvp->key, (char*) KVP_PARAM_CHAR_ENCODING_UTF8, param) > 0) 3678 if (pv_mime_string_parse_param(aKvp->key, (char*) KVP_PARAM_CHAR_ENCODING_UTF16BE, param) > 0) 3694 PVMFStatus PVID3ParCom::GetFrameTypeFromKvp(PvmiKvpSharedPtr aKvp, argument 3698 return GetFrameTypeFromKvp(*aKvp, aFrameID, aFrameType); 3702 PVMFStatus PVID3ParCom::GetFrameTypeFromKvp(const PvmiKvp& aKvp, argument 3708 if (pv_mime_strcmp(aKvp.key, KVP_KEY_TITLE) == 0) 3713 else if (pv_mime_strcmp(aKvp.key, KVP_KEY_ARTIST) == 0) 3718 else if (pv_mime_strcmp(aKvp 3902 GetID3v2FrameDataSize(PvmiKvpSharedPtr aKvp, PvmiKvpValueType aValueType, PVID3CharacterSet aCharSet, uint32& aSize) argument [all...] |