Home
last modified time | relevance | path

Searched refs:trackFormat (Results 1 – 2 of 2) sorted by relevance

/test/xts/acts/multimedia/avsource/entry/src/main/cpp/
Dnativeavmuxerndk.cpp68 OH_AVFormat *trackFormat = OH_AVFormat_Create(); in OHAVMuxerSetRotation() local
71 OH_AVMuxer_AddTrack(muxer, &audioTrackId, trackFormat); in OHAVMuxerSetRotation()
103 OH_AVFormat *trackFormat = OH_AVFormat_Create(); in OHAVMuxerStart() local
105 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC); in OHAVMuxerStart()
106 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, BIGVAL); in OHAVMuxerStart()
107 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_CHANNEL_COUNT, TWOVAL); in OHAVMuxerStart()
108 OH_AVMuxer_AddTrack(muxer, &audioTrackId, trackFormat); in OHAVMuxerStart()
140 OH_AVFormat *trackFormat = OH_AVFormat_Create(); in OHAVMuxerStop() local
142 OH_AVFormat_SetStringValue(trackFormat, OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_AUDIO_AAC); in OHAVMuxerStop()
143 OH_AVFormat_SetIntValue(trackFormat, OH_MD_KEY_AUD_SAMPLE_RATE, BIGVAL); in OHAVMuxerStop()
[all …]
Dnativeavdemuxerndk.cpp170 OH_AVFormat *trackFormat = OH_AVSource_GetTrackFormat(GetSource(), videoTrackIndex); in OHAVDemuxerSelectTrackByID() local
171 OH_AVFormat_GetIntValue(trackFormat, OH_MD_KEY_VIDEO_IS_HDR_VIVID, &isHDRVivid); in OHAVDemuxerSelectTrackByID()