Searched refs:formatVideo (Results 1 - 3 of 3) sorted by relevance
/foundation/multimedia/av_codec/test/nativedemo/avmuxer/ |
H A D | native_avmuxer_demo.c | 129 OH_AVFormat *formatVideo = OH_AVFormat_CreateVideoFormat(param->mimeType, in AddTrackVideo() local 131 if (formatVideo == NULL) { in AddTrackVideo() 135 OH_AVFormat_SetDoubleValue(formatVideo, OH_MD_KEY_FRAME_RATE, param->frameRate); in AddTrackVideo() 136 OH_AVFormat_SetIntValue(formatVideo, "video_delay", param->videoDelay); // 不对外key in AddTrackVideo() 138 OH_AVFormat_SetIntValue(formatVideo, OH_MD_KEY_COLOR_PRIMARIES, param->colorPrimaries); in AddTrackVideo() 139 OH_AVFormat_SetIntValue(formatVideo, OH_MD_KEY_TRANSFER_CHARACTERISTICS, param->colorTransfer); in AddTrackVideo() 140 OH_AVFormat_SetIntValue(formatVideo, OH_MD_KEY_MATRIX_COEFFICIENTS, param->colorMatrixCoeff); in AddTrackVideo() 141 OH_AVFormat_SetIntValue(formatVideo, OH_MD_KEY_RANGE_FLAG, param->colorRange); in AddTrackVideo() 142 OH_AVFormat_SetIntValue(formatVideo, OH_MD_KEY_VIDEO_IS_HDR_VIVID, param->isHdrVivid); in AddTrackVideo() 149 OH_AVFormat_SetBuffer(formatVideo, OH_MD_KEY_CODEC_CONFI in AddTrackVideo() [all...] |
/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/ |
H A D | avcodec_task_manager.cpp | 157 auto formatVideo = make_shared<Format>(); in CreateAVMuxer() local 159 formatVideo->PutStringValue(MediaDescriptionKey::MD_KEY_CODEC_MIME, videoCodecType_ in CreateAVMuxer() 161 formatVideo->PutStringValue(MediaDescriptionKey::MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_AVC); in CreateAVMuxer() 162 formatVideo->PutIntValue(MediaDescriptionKey::MD_KEY_WIDTH, frameRecords[0]->GetFrameSize()->width); in CreateAVMuxer() 163 formatVideo->PutIntValue(MediaDescriptionKey::MD_KEY_HEIGHT, frameRecords[0]->GetFrameSize()->height); in CreateAVMuxer() 165 muxer->AddTrack(videoTrackId, formatVideo, VIDEO_TRACK); in CreateAVMuxer()
|
/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/ |
H A D | camera_capture_video.cpp | 360 for (auto &formatVideo : videoFormats) { in InitCameraFormatAndResolution() 361 MEDIA_DEBUG_LOG("format : %{public}d", formatVideo); in InitCameraFormatAndResolution()
|
Completed in 3 milliseconds