Home
last modified time | relevance | path

Searched refs:aKvp (Results 1 – 25 of 46) sorted by relevance

12

/external/opencore/nodes/pvmp4ffparsernode/src/
Dpvmf_mp4ffparser_outport.cpp474 PvmiKvp*& aKvp) in pvmiGetPortFormatSpecificInfoSync() argument
487 aKvp->key = NULL; in pvmiGetPortFormatSpecificInfoSync()
488 aKvp->length = oscl_strlen(aFormatValType) + 1; // +1 for \0 in pvmiGetPortFormatSpecificInfoSync()
489 aKvp->key = (PvmiKeyType)alloc.ALLOCATE(aKvp->length); in pvmiGetPortFormatSpecificInfoSync()
490 if (aKvp->key == NULL) in pvmiGetPortFormatSpecificInfoSync()
494 oscl_strncpy(aKvp->key, aFormatValType, aKvp->length); in pvmiGetPortFormatSpecificInfoSync()
497 aKvp->value.key_specific_value = 0; in pvmiGetPortFormatSpecificInfoSync()
498 aKvp->capacity = 0; in pvmiGetPortFormatSpecificInfoSync()
502aKvp->value.key_specific_value = (OsclAny*)(trackInfoPtr->iFormatSpecificConfig.getMemFragPtr()); in pvmiGetPortFormatSpecificInfoSync()
503 aKvp->capacity = trackInfoPtr->iFormatSpecificConfig.getMemFragSize(); in pvmiGetPortFormatSpecificInfoSync()
[all …]
/external/opencore/nodes/pvaacffparsernode/src/
Dpvmf_aacffparser_outport.cpp254 PvmiKvp*& aKvp) in pvmiGetPortFormatSpecificInfoSync() argument
269 aKvp->key = NULL; in pvmiGetPortFormatSpecificInfoSync()
270 aKvp->length = oscl_strlen(aFormatValType) + 1; // +1 for \0 in pvmiGetPortFormatSpecificInfoSync()
271 aKvp->key = (PvmiKeyType)alloc.ALLOCATE(aKvp->length); in pvmiGetPortFormatSpecificInfoSync()
272 if (aKvp->key == NULL) in pvmiGetPortFormatSpecificInfoSync()
276 oscl_strncpy(aKvp->key, aFormatValType, aKvp->length); in pvmiGetPortFormatSpecificInfoSync()
278aKvp->value.key_specific_value = (OsclAny*)(trackInfoPtr->iFormatSpecificConfig.getMemFragPtr()); in pvmiGetPortFormatSpecificInfoSync()
279 aKvp->capacity = trackInfoPtr->iFormatSpecificConfig.getMemFragSize(); in pvmiGetPortFormatSpecificInfoSync()
286 aKvp->key = NULL; in pvmiGetPortFormatSpecificInfoSync()
287 aKvp->length = oscl_strlen(aFormatValType) + 1; // +1 for \0 in pvmiGetPortFormatSpecificInfoSync()
[all …]
/external/opencore/nodes/pvamrffparsernode/src/
Dpvmf_amrffparser_port.cpp256 PvmiKvp*& aKvp) in pvmiGetPortFormatSpecificInfoSync() argument
271 aKvp->key = NULL; in pvmiGetPortFormatSpecificInfoSync()
272 aKvp->length = oscl_strlen(aFormatValType) + 1; // +1 for \0 in pvmiGetPortFormatSpecificInfoSync()
273 aKvp->key = (PvmiKeyType)alloc.ALLOCATE(aKvp->length); in pvmiGetPortFormatSpecificInfoSync()
274 if (aKvp->key == NULL) in pvmiGetPortFormatSpecificInfoSync()
278 oscl_strncpy(aKvp->key, aFormatValType, aKvp->length); in pvmiGetPortFormatSpecificInfoSync()
280aKvp->value.key_specific_value = (OsclAny*)(trackInfoPtr->iFormatSpecificConfig.getMemFragPtr()); in pvmiGetPortFormatSpecificInfoSync()
281 aKvp->capacity = trackInfoPtr->iFormatSpecificConfig.getMemFragSize(); in pvmiGetPortFormatSpecificInfoSync()
288 aKvp->key = NULL; in pvmiGetPortFormatSpecificInfoSync()
289 aKvp->length = oscl_strlen(aFormatValType) + 1; // +1 for \0 in pvmiGetPortFormatSpecificInfoSync()
[all …]
/external/opencore/nodes/streaming/medialayernode/src/
Dpvmf_medialayer_port.cpp384 PvmiKvp*& aKvp) in pvmiGetPortFormatSpecificInfoSync() argument
397 aKvp->key = NULL; in pvmiGetPortFormatSpecificInfoSync()
398 aKvp->length = oscl_strlen(aFormatValType) + 1; // +1 for \0 in pvmiGetPortFormatSpecificInfoSync()
399 aKvp->key = (PvmiKeyType)alloc.ALLOCATE(aKvp->length); in pvmiGetPortFormatSpecificInfoSync()
400 if (aKvp->key == NULL) in pvmiGetPortFormatSpecificInfoSync()
404 oscl_strncpy(aKvp->key, aFormatValType, aKvp->length); in pvmiGetPortFormatSpecificInfoSync()
407 aKvp->value.key_specific_value = 0; in pvmiGetPortFormatSpecificInfoSync()
408 aKvp->capacity = 0; in pvmiGetPortFormatSpecificInfoSync()
412aKvp->value.key_specific_value = (OsclAny*)(portContainerPtr->iTrackConfig.getMemFragPtr()); in pvmiGetPortFormatSpecificInfoSync()
413 aKvp->capacity = portContainerPtr->iTrackConfig.getMemFragSize(); in pvmiGetPortFormatSpecificInfoSync()
[all …]
/external/opencore/nodes/pvfileoutputnode/src/
Dpvmf_fileoutput_inport.cpp638 PVMFStatus PVMFFileOutputInPort::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) in AllocateKvp() argument
656 PvmiKvp* curKvp = aKvp = new(buf) PvmiKvp; in AllocateKvp()
667 aKvp[i].key = (char*)buf; in AllocateKvp()
668 oscl_strncpy(aKvp[i].key, aKey, keyLen); in AllocateKvp()
676 PVMFStatus PVMFFileOutputInPort::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) in VerifyAndSetParameter() argument
678 …RACE((0, "PVMFFileOutputInPort::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); in VerifyAndSetParameter()
680 if (!aKvp) in VerifyAndSetParameter()
686 if (pv_mime_strcmp(aKvp->key, INPUT_FORMATS_VALTYPE) == 0) in VerifyAndSetParameter()
688 if (IsFormatSupported(aKvp->value.pChar_value)) in VerifyAndSetParameter()
691 iFormat = aKvp->value.pChar_value; in VerifyAndSetParameter()
[all …]
Dpvmf_fileoutput_inport.h144 PVMFStatus AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams);
155 PVMFStatus VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam = false);
/external/opencore/nodes/pvdummyoutputnode/src/
Dpvmf_dummy_fileoutput_inport.cpp622 PVMFStatus PVMFDummyFileOutputInPort::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParam… in AllocateKvp() argument
640 PvmiKvp* curKvp = aKvp = OSCL_PLACEMENT_NEW(buf, PvmiKvp); in AllocateKvp()
651 aKvp[i].key = (char*)buf; in AllocateKvp()
652 oscl_strncpy(aKvp[i].key, aKey, keyLen); in AllocateKvp()
660 PVMFStatus PVMFDummyFileOutputInPort::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) in VerifyAndSetParameter() argument
662 …(0, "PVMFDummyFileOutputInPort::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); in VerifyAndSetParameter()
664 if (!aKvp) in VerifyAndSetParameter()
670 if (pv_mime_strcmp(aKvp->key, INPUT_FORMATS_VALTYPE) == 0) in VerifyAndSetParameter()
672 if (IsFormatSupported(aKvp->value.pChar_value)) in VerifyAndSetParameter()
675 iFormat = aKvp->value.pChar_value; in VerifyAndSetParameter()
[all …]
Dpvmf_dummy_fileoutput_inport.h147 PVMFStatus AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams);
158 PVMFStatus VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam = false);
/external/opencore/nodes/pvdummyinputnode/src/
Dpvmf_fileinput_port.cpp375 PVMFStatus PVMFFileDummyInputPort::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) in AllocateKvp() argument
393 PvmiKvp* curKvp = aKvp = OSCL_PLACEMENT_NEW(buf, PvmiKvp); in AllocateKvp()
404 aKvp[i].key = (char*)buf; in AllocateKvp()
405 oscl_strncpy(aKvp[i].key, aKey, oscl_strlen(aKvp[i].key)); in AllocateKvp()
406 buf += oscl_strlen(aKvp[i].key); in AllocateKvp()
413 PVMFStatus PVMFFileDummyInputPort::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) in VerifyAndSetParameter() argument
415 …CE((0, "PVMFFileDummyInputPort::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); in VerifyAndSetParameter()
417 if (!aKvp) in VerifyAndSetParameter()
425 if (pv_mime_strcmp(aKvp->key, OUTPUT_FORMATS_VALTYPE) == 0) in VerifyAndSetParameter()
427 if (aKvp->value.pChar_value == node->iSettings.iMediaFormat.getMIMEStrPtr()) in VerifyAndSetParameter()
[all …]
/external/opencore/nodes/pvmp3ffparsernode/src/
Dpvmf_mp3ffparser_outport.cpp188 PvmiKvp*& aKvp) in pvmiGetPortFormatSpecificInfoSync() argument
196 aKvp->key = NULL; in pvmiGetPortFormatSpecificInfoSync()
198 aKvp->key = (PvmiKeyType)alloc.ALLOCATE(KeyLenth); in pvmiGetPortFormatSpecificInfoSync()
199 if (aKvp->key == NULL) in pvmiGetPortFormatSpecificInfoSync()
203 oscl_strncpy(aKvp->key, aFormatValType, KeyLenth); in pvmiGetPortFormatSpecificInfoSync()
206 aKvp->value.key_specific_value = 0; in pvmiGetPortFormatSpecificInfoSync()
207 aKvp->length = aKvp->capacity = 0; in pvmiGetPortFormatSpecificInfoSync()
211aKvp->value.key_specific_value = (OsclAny*)(iMP3ParserNode->iDecodeFormatSpecificInfo.getMemFragPt… in pvmiGetPortFormatSpecificInfoSync()
212aKvp->length = aKvp->capacity = iMP3ParserNode->iDecodeFormatSpecificInfo.getMemFragSize(); in pvmiGetPortFormatSpecificInfoSync()
/external/opencore/nodes/pvomxencnode/include/
Dpvmf_omx_enc_port.h141 PVMFStatus AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams);
152 PVMFStatus VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam = false);
205 static int GetPriority(PvmiKvp*& aKvp) in GetPriority() argument
207 if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_YUV420) == 0) in GetPriority()
211 else if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_YUV422) == 0) in GetPriority()
215 … else if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_YUV422_INTERLEAVED_UYVY) == 0) in GetPriority()
219 … else if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_YUV422_INTERLEAVED_YUYV) == 0) in GetPriority()
223 else if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_RGB12) == 0) in GetPriority()
227 else if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_RGB24) == 0) in GetPriority()
/external/opencore/nodes/pvvideoparsernode/src/
Dpvmf_videoparser_port.cpp293 PvmiKvp*& aKvp) in pvmiGetPortFormatSpecificInfoSync() argument
302 aKvp->key = NULL; in pvmiGetPortFormatSpecificInfoSync()
303 aKvp->length = oscl_strlen(aFormatValType) + 1; // +1 for \0 in pvmiGetPortFormatSpecificInfoSync()
304 aKvp->key = (PvmiKeyType)alloc.ALLOCATE(aKvp->length); in pvmiGetPortFormatSpecificInfoSync()
305 if (aKvp->key == NULL) in pvmiGetPortFormatSpecificInfoSync()
309 oscl_strncpy(aKvp->key, aFormatValType, aKvp->length); in pvmiGetPortFormatSpecificInfoSync()
312 aKvp->value.key_specific_value = 0; in pvmiGetPortFormatSpecificInfoSync()
313 aKvp->capacity = 0; in pvmiGetPortFormatSpecificInfoSync()
317 aKvp->value.key_specific_value = (OsclAny*)iFormatSpecificInfo; in pvmiGetPortFormatSpecificInfoSync()
318 aKvp->capacity = iFormatSpecificInfoLen; in pvmiGetPortFormatSpecificInfoSync()
/external/opencore/protocols/rtsp_client_engine/src/
Dpvrtsp_client_engine_port.cpp157 PvmiKvp*& aKvp) in pvmiGetPortInPlaceDataProcessingInfoSync() argument
162 aKvp = NULL; in pvmiGetPortInPlaceDataProcessingInfoSync()
170 aKvp = new(ptr) PvmiKvp; in pvmiGetPortInPlaceDataProcessingInfoSync()
172 aKvp->key = (PvmiKeyType)ptr; in pvmiGetPortInPlaceDataProcessingInfoSync()
173 oscl_strncpy(aKvp->key, aFormatValType, strLen); in pvmiGetPortInPlaceDataProcessingInfoSync()
174 aKvp->length = aKvp->capacity = strLen; in pvmiGetPortInPlaceDataProcessingInfoSync()
175 aKvp->value.bool_value = false; in pvmiGetPortInPlaceDataProcessingInfoSync()
/external/opencore/nodes/pvsocketnode/src/
Dpvmf_socket_port.cpp154 PvmiKvp*& aKvp) in pvmiGetPortInPlaceDataProcessingInfoSync() argument
159 aKvp = NULL; in pvmiGetPortInPlaceDataProcessingInfoSync()
168 aKvp = new(ptr) PvmiKvp; in pvmiGetPortInPlaceDataProcessingInfoSync()
170 aKvp->key = (PvmiKeyType)ptr; in pvmiGetPortInPlaceDataProcessingInfoSync()
171 oscl_strncpy(aKvp->key, aFormatValType, strLen); in pvmiGetPortInPlaceDataProcessingInfoSync()
172 aKvp->length = aKvp->capacity = strLen; in pvmiGetPortInPlaceDataProcessingInfoSync()
176 aKvp->value.bool_value = false;//for the multiple UDP recv feature in pvmiGetPortInPlaceDataProcessingInfoSync()
179 aKvp->value.bool_value = true; in pvmiGetPortInPlaceDataProcessingInfoSync()
/external/opencore/nodes/pvclientserversocketnode/src/
Dpvmf_clientserver_socket_port.cpp242 PvmiKvp*& aKvp) in pvmiGetPortInPlaceDataProcessingInfoSync() argument
245 aKvp = NULL; in pvmiGetPortInPlaceDataProcessingInfoSync()
256 aKvp = new(ptr) PvmiKvp; in pvmiGetPortInPlaceDataProcessingInfoSync()
258 aKvp->key = (PvmiKeyType)ptr; in pvmiGetPortInPlaceDataProcessingInfoSync()
259 oscl_strncpy(aKvp->key, aFormatValType, strLen); in pvmiGetPortInPlaceDataProcessingInfoSync()
260 aKvp->length = aKvp->capacity = strLen; in pvmiGetPortInPlaceDataProcessingInfoSync()
261 aKvp->value.bool_value = true; in pvmiGetPortInPlaceDataProcessingInfoSync()
/external/opencore/nodes/pvmp4ffcomposernode/src/
Dpvmp4ffcn_port.cpp556 PVMFStatus PVMp4FFComposerPort::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) in AllocateKvp() argument
574 PvmiKvp* curKvp = aKvp = OSCL_PLACEMENT_NEW(buf, PvmiKvp); in AllocateKvp()
585 aKvp[i].key = (char*)buf; in AllocateKvp()
586 oscl_strncpy(aKvp[i].key, aKey, keyLen); in AllocateKvp()
594 PVMFStatus PVMp4FFComposerPort::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) in VerifyAndSetParameter() argument
596 …LOG_STACK_TRACE((0, "PVMp4FFComposerPort::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, a… in VerifyAndSetParameter()
598 if (!aKvp) in VerifyAndSetParameter()
604 if (pv_mime_strcmp(aKvp->key, INPUT_FORMATS_VALTYPE) == 0) in VerifyAndSetParameter()
606 if (pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_3GPP_TIMEDTEXT) == 0 || in VerifyAndSetParameter()
607 pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_AMR_IETF) == 0 || in VerifyAndSetParameter()
[all …]
/external/opencore/pvmi/media_io/pvmio_comm_loopback/src/
Dpvmi_mio_comm_loopback.cpp820 PVMFStatus PvmiMIOCommLoopback::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) in AllocateKvp() argument
838 PvmiKvp* curKvp = aKvp = new(buf) PvmiKvp; in AllocateKvp()
849 aKvp[i].key = (char*)buf; in AllocateKvp()
850 oscl_strncpy(aKvp[i].key, aKey, keyLen); in AllocateKvp()
858 PVMFStatus PvmiMIOCommLoopback::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) in VerifyAndSetParameter() argument
861 …LOG_STACK_TRACE((0, "PvmiMIOCommLoopback::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, a… in VerifyAndSetParameter()
863 if (!aKvp) in VerifyAndSetParameter()
869 if (pv_mime_strcmp(aKvp->key, OUTPUT_FORMATS_VALTYPE) == 0) in VerifyAndSetParameter()
871 if (pv_mime_strcmp(iSettings.iMediaFormat.getMIMEStrPtr(), aKvp->value.pChar_value) == 0) in VerifyAndSetParameter()
878 aKvp->value.pChar_value)); in VerifyAndSetParameter()
[all …]
/external/opencore/fileformats/id3parcom/src/
Dpv_id3_parcom.cpp3662 PVMFStatus PVID3ParCom::GetKvpValueType(PvmiKvpSharedPtr aKvp, in GetKvpValueType() argument
3666 aValueType = GetValTypeFromKeyString(aKvp->key); in GetKvpValueType()
3673 … if (pv_mime_string_parse_param(aKvp->key, (char*) KVP_PARAM_CHAR_ENCODING_UTF8, param) > 0) in GetKvpValueType()
3678 … if (pv_mime_string_parse_param(aKvp->key, (char*) KVP_PARAM_CHAR_ENCODING_UTF16BE, param) > 0) in GetKvpValueType()
3694 PVMFStatus PVID3ParCom::GetFrameTypeFromKvp(PvmiKvpSharedPtr aKvp, in GetFrameTypeFromKvp() argument
3698 return GetFrameTypeFromKvp(*aKvp, aFrameID, aFrameType); in GetFrameTypeFromKvp()
3702 PVMFStatus PVID3ParCom::GetFrameTypeFromKvp(const PvmiKvp& aKvp, in GetFrameTypeFromKvp() argument
3708 if (pv_mime_strcmp(aKvp.key, KVP_KEY_TITLE) == 0) in GetFrameTypeFromKvp()
3713 else if (pv_mime_strcmp(aKvp.key, KVP_KEY_ARTIST) == 0) in GetFrameTypeFromKvp()
3718 else if (pv_mime_strcmp(aKvp.key, KVP_KEY_PART_OF_SET) == 0) in GetFrameTypeFromKvp()
[all …]
/external/opencore/nodes/pvomxencnode/src/
Dpvmf_omx_enc_port.cpp621 PVMFStatus PVMFOMXEncPort::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) in AllocateKvp() argument
639 PvmiKvp* curKvp = aKvp = new(buf) PvmiKvp; in AllocateKvp()
650 aKvp[i].key = (char*)buf; in AllocateKvp()
651 oscl_strncpy(aKvp[i].key, aKey, keyLen); in AllocateKvp()
659 PVMFStatus PVMFOMXEncPort::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) in VerifyAndSetParameter() argument
661 …ACK_TRACE, (0, "PVMFOMXEncPort::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSetParam)); in VerifyAndSetParameter()
663 if (!aKvp) in VerifyAndSetParameter()
669 if (pv_mime_strcmp(aKvp->key, INPUT_FORMATS_VALTYPE) == 0 && in VerifyAndSetParameter()
676 if (pv_mime_strcmp(aKvp->value.pChar_value, it->getMIMEStrPtr()) == 0) in VerifyAndSetParameter()
680 iFormat = aKvp->value.pChar_value; in VerifyAndSetParameter()
[all …]
/external/opencore/android/author/
Dandroid_audio_input.cpp1315 PVMFStatus AndroidAudioInput::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) in AllocateKvp() argument
1331 PvmiKvp* curKvp = aKvp = new (buf) PvmiKvp; in AllocateKvp()
1342 aKvp[i].key = (char*)buf; in AllocateKvp()
1343 oscl_strncpy(aKvp[i].key, aKey, keyLen); in AllocateKvp()
1351 PVMFStatus AndroidAudioInput::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) in VerifyAndSetParameter() argument
1353 if(!aKvp) in VerifyAndSetParameter()
1359 if(pv_mime_strcmp(aKvp->key, OUTPUT_FORMATS_VALTYPE) == 0) in VerifyAndSetParameter()
1361 if(pv_mime_strcmp(aKvp->value.pChar_value, PVMF_MIME_PCM16) == 0) in VerifyAndSetParameter()
1367 LOGE("unsupported format (%s) for key %s", aKvp->value.pChar_value, aKvp->key); in VerifyAndSetParameter()
1371 else if (pv_mime_strcmp(aKvp->key, PVMF_AUTHORING_CLOCK_KEY) == 0) in VerifyAndSetParameter()
[all …]
Dandroid_camera_input.cpp1051 PVMFStatus AndroidCameraInput::AllocateKvp(PvmiKvp*& aKvp, in AllocateKvp() argument
1072 PvmiKvp* curKvp = aKvp = new (buf) PvmiKvp; in AllocateKvp()
1081 aKvp[i].key = (char*)buf; in AllocateKvp()
1082 oscl_strncpy(aKvp[i].key, aKey, keyLen); in AllocateKvp()
1089 PVMFStatus AndroidCameraInput::VerifyAndSetParameter(PvmiKvp* aKvp, in VerifyAndSetParameter() argument
1094 if (!aKvp) { in VerifyAndSetParameter()
1099 if (!pv_mime_strcmp(aKvp->key, OUTPUT_FORMATS_VALTYPE)) { in VerifyAndSetParameter()
1100 if(pv_mime_strcmp(aKvp->value.pChar_value, ANDROID_VIDEO_FORMAT) == 0) { in VerifyAndSetParameter()
1103 LOGE("Unsupported format %d", aKvp->value.uint32_value); in VerifyAndSetParameter()
1107 else if (pv_mime_strcmp(aKvp->key, PVMF_AUTHORING_CLOCK_KEY) == 0) in VerifyAndSetParameter()
[all …]
/external/opencore/pvmi/pvmf/src/
Dpvmi_config_and_capability_utils.cpp151 OSCL_EXPORT_REF PVMFStatus AllocateKvp(OsclMemAllocator& aAlloc, PvmiKvp*& aKvp, PvmiKeyType aKey, … in AllocateKvp() argument
167 PvmiKvp* curKvp = aKvp = new(buf) PvmiKvp; in AllocateKvp()
178 aKvp[i].key = (char*)buf; in AllocateKvp()
179 oscl_strncpy(aKvp[i].key, aKey, keyLen); in AllocateKvp()
/external/opencore/nodes/pvdummyinputnode/include/
Dpvmf_fileinput_port.h137 PVMFStatus AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams);
148 PVMFStatus VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam = false);
150 bool pvmiGetPortFormatSpecificInfoSync(const char* aFormatValType, PvmiKvp*& aKvp);
/external/opencore/pvmi/media_io/pvmi_mio_fileinput/src/
Dpvmi_mio_fileinput.cpp1808 PVMFStatus PvmiMIOFileInput::AllocateKvp(PvmiKvp*& aKvp, PvmiKeyType aKey, int32 aNumParams) in AllocateKvp() argument
1826 PvmiKvp* curKvp = aKvp = new(buf) PvmiKvp; in AllocateKvp()
1837 aKvp[i].key = (char*)buf; in AllocateKvp()
1838 oscl_strncpy(aKvp[i].key, aKey, keyLen); in AllocateKvp()
1846 PVMFStatus PvmiMIOFileInput::VerifyAndSetParameter(PvmiKvp* aKvp, bool aSetParam) in VerifyAndSetParameter() argument
1849 …LOG_STACK_TRACE((0, "PvmiMIOFileInput::VerifyAndSetParameter: aKvp=0x%x, aSetParam=%d", aKvp, aSet… in VerifyAndSetParameter()
1851 if (!aKvp) in VerifyAndSetParameter()
1857 if (pv_mime_strcmp(aKvp->key, OUTPUT_FORMATS_VALTYPE) == 0) in VerifyAndSetParameter()
1859 if (iSettings.iMediaFormat == aKvp->value.pChar_value) in VerifyAndSetParameter()
1866 aKvp->value.pChar_value)); in VerifyAndSetParameter()
[all …]
/external/opencore/fileformats/id3parcom/include/
Dpv_id3_parcom.h821 …PVMFStatus GetKvpValueType(PvmiKvpSharedPtr aKvp, PvmiKvpValueType& aValueType, PVID3CharacterSet&…
830 …PVMFStatus GetFrameTypeFromKvp(PvmiKvpSharedPtr aKvp, OSCL_String& aFrameID, PVID3FrameType& aFram…
839 …PVMFStatus GetFrameTypeFromKvp(const PvmiKvp& aKvp, OSCL_String& aFrameID, PVID3FrameType& aFrameT…
849 PVMFStatus GetID3v2FrameDataSize(PvmiKvpSharedPtr aKvp, PvmiKvpValueType aValueType,

12