Home
last modified time | relevance | path

Searched refs:videoFormat (Results 1 – 25 of 53) sorted by relevance

123

/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/media_manager/
H A Dmpeg_manager.cpp177 Format videoFormat; in InitVideoCodec() local
182 videoFormat.PutIntValue(Tag::MEDIA_LEVEL, codecInfo.level); in InitVideoCodec()
183 videoFormat.PutIntValue(Tag::MEDIA_PROFILE, codecInfo.profile); in InitVideoCodec()
187 videoFormat.PutStringValue(Tag::MIME_TYPE, codecInfo.mimeType); in InitVideoCodec()
188 videoFormat.PutLongValue(Tag::MEDIA_BITRATE, codecInfo.bitRate); in InitVideoCodec()
189 videoFormat.PutDoubleValue(Tag::VIDEO_FRAME_RATE, codecInfo.fps); in InitVideoCodec()
190 videoFormat.PutIntValue(Tag::VIDEO_WIDTH, codecInfo.width); in InitVideoCodec()
191 videoFormat.PutIntValue(Tag::VIDEO_HEIGHT, codecInfo.height); in InitVideoCodec()
192 videoFormat.PutIntValue(Tag::VIDEO_ROTATION, codecInfo.rotation); in InitVideoCodec()
193 videoFormat.PutLongValue(Tag::MEDIA_DURATION, codecInfo.duration); in InitVideoCodec()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/test/unittest/utils/
H A Dvideo_param_test.cpp142 uint8_t videoFormat = 1; variable
143 videoParam_->SetVideoFormat(videoFormat);
145 EXPECT_EQ(videoFormat, actual);
158 uint8_t videoFormat = DEFAULT_VIDEO_FORMAT; variable
167 videoParam.SetVideoFormat(videoFormat);
191 uint8_t videoFormat = DEFAULT_VIDEO_FORMAT; variable
200 videoParam.SetVideoFormat(videoFormat);
222 uint8_t videoFormat = DEFAULT_VIDEO_FORMAT; variable
238 j[KEY_COLOR_FORMAT] = videoFormat;
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/
H A DNativeAVMuxerStablityTest.cpp169 OH_AVFormat* videoFormat = OH_AVFormat_Create(); in AddVideoTrack() local
170 if (videoFormat == NULL) { in AddVideoTrack()
191 muxerDemo->NativeAddTrack(handle, &trackId, videoFormat); in AddVideoTrack()
192 OH_AVFormat_Destroy(videoFormat); in AddVideoTrack()
330 OH_AVFormat* videoFormat = OH_AVFormat_Create(); in AddVideoTrackByFd() local
331 if (videoFormat == NULL) { in AddVideoTrackByFd()
351 muxerDemo->NativeAddTrack(handle, &trackId, videoFormat); in AddVideoTrackByFd()
352 OH_AVFormat_Destroy(videoFormat); in AddVideoTrackByFd()
358 OH_AVFormat* videoFormat = OH_AVFormat_Create(); in AddVideoTrackH264ByFd() local
359 if (videoFormat == NULL) { in AddVideoTrackH264ByFd()
[all …]
H A DNativeAVMuxerFunctionTest.cpp96 OH_AVFormat* videoFormat = OH_AVFormat_Create(); in AddVideoTrack() local
97 if (videoFormat == NULL) { in AddVideoTrack()
115 muxerDemo->NativeAddTrack(handle, &trackId, videoFormat); in AddVideoTrack()
116 OH_AVFormat_Destroy(videoFormat); in AddVideoTrack()
317 OH_AVFormat* videoFormat = OH_AVFormat_Create(); in AddVideoTrackByFd() local
318 if (videoFormat == NULL) { in AddVideoTrackByFd()
337 muxerDemo->NativeAddTrack(handle, &trackId, videoFormat); in AddVideoTrackByFd()
338 OH_AVFormat_Destroy(videoFormat); in AddVideoTrackByFd()
552 OH_AVFormat* videoFormat = OH_AVFormat_Create(); in AddVideoTrackH264ByFd() local
553 if (videoFormat == NULL) { in AddVideoTrackH264ByFd()
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/src/
H A Drecorder_unit_test.cpp152 g_videoRecorderConfig.videoFormat = H264;
170 g_videoRecorderConfig.videoFormat = H264;
312 videoRecorderConfig.videoFormat = H264;
340 videoRecorderConfig.videoFormat = H264;
362 videoRecorderConfig.videoFormat = H264;
391 videoRecorderConfig.videoFormat = H264;
412 videoRecorderConfig.videoFormat = H264;
433 videoRecorderConfig.videoFormat = H264;
475 videoRecorderConfig.videoFormat = H264;
496 videoRecorderConfig.videoFormat = H264;
[all …]
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetvideoencoder_fuzzer/
H A Drecordersetvideoencoder_fuzzer.cpp49 g_videoRecorderConfig.videoFormat = MPEG4; in RecorderSetVideoEncoderFuzz()
63 int32_t videoFormat = abs((ProduceRandomNumberCrypt()) % (videoCodecFormatList)); in RecorderSetVideoEncoderFuzz() local
64 g_videoRecorderConfig.videoFormat = videoCodecFormats[videoFormat]; in RecorderSetVideoEncoderFuzz()
/ohos5.0/foundation/multimedia/media_foundation/src/capi/
H A Dnative_avformat.cpp54 OH_AVFormat *videoFormat = new (std::nothrow) OH_AVFormat(); in OH_AVFormat_CreateVideoFormat() local
55 FALSE_RETURN_V_MSG_E(videoFormat != nullptr, nullptr, "new format is nullptr!"); in OH_AVFormat_CreateVideoFormat()
56 videoFormat->format_.PutStringValue(Tag::MIME_TYPE, mimeType); in OH_AVFormat_CreateVideoFormat()
57 videoFormat->format_.PutIntValue(Tag::VIDEO_WIDTH, width); in OH_AVFormat_CreateVideoFormat()
58 videoFormat->format_.PutIntValue(Tag::VIDEO_HEIGHT, height); in OH_AVFormat_CreateVideoFormat()
59 return videoFormat; in OH_AVFormat_CreateVideoFormat()
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/
H A Dcamera_video.cpp185 int32_t videoFormat = CAMERA_FORMAT_YUV_420_SP; in main() local
208 videoFormat = atoi(argv[videoFormatIndex]); in main()
300 videoFormat = CAMERA_FORMAT_YUV_420_SP; in main()
303 videoFormat = videoFormats[0]; in main()
327 videoFormat, videoWidth, videoHeight); in main()
380 videoSurface->SetUserData(CameraManager::surfaceFormat, std::to_string(videoFormat)); in main()
390 …VideoProfile videoprofile = VideoProfile(static_cast<CameraFormat>(videoFormat), videosize, videof… in main()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcameramgr/
H A Ddcamera_sink_data_process.cpp215 Videoformat videoFormat; in GetPipelineFormat() local
218 videoFormat = Videoformat::RGBA_8888; in GetPipelineFormat()
221 videoFormat = Videoformat::NV21; in GetPipelineFormat()
224 return videoFormat; in GetPipelineFormat()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/2.0/src/
H A Dscreenregion_test.cpp386 uint8_t videoFormat = VIDEO_DATA_FORMAT_YUVI420; variable
389 screenRegion_->videoParam_->SetVideoFormat(videoFormat);
394 videoFormat = VIDEO_DATA_FORMAT_RGBA8888;
396 screenRegion_->videoParam_->SetVideoFormat(videoFormat);
400 videoFormat = VIDEO_DATA_FORMAT_NV21;
402 screenRegion_->videoParam_->SetVideoFormat(videoFormat);
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/utils/src/
H A Dvideo_param.cpp94 void VideoParam::SetVideoFormat(uint8_t videoFormat) in SetVideoFormat() argument
96 videoFormat_ = videoFormat; in SetVideoFormat()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/
H A Ddcamera_stream_data_process.cpp295 Videoformat videoFormat; in GetPipelineFormat() local
298 videoFormat = Videoformat::RGBA_8888; in GetPipelineFormat()
301 videoFormat = Videoformat::NV21; in GetPipelineFormat()
304 return videoFormat; in GetPipelineFormat()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetcapturerate_fuzzer/
H A Drecordersetcapturerate_fuzzer.cpp47 g_videoRecorderConfig.videoFormat = MPEG4; in FuzzRecorderSetCaptureRate()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/utils/include/
H A Dvideo_param.h41 void SetVideoFormat(uint8_t videoFormat);
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetparameter_fuzzer/
H A Drecordersetparameter_fuzzer.cpp48 g_videoRecorderConfig.videoFormat = MPEG4; in FuzzRecorderSetParameter()
/ohos5.0/foundation/multimedia/media_lite/services/recorder_lite/impl/include/
H A Drecorder_source.h47 VideoCodecFormat videoFormat = HEVC; member
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/common/
H A Daw_common.h69 VideoCodecFormat videoFormat = MPEG4; member
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetlocation_fuzzer/
H A Drecordersetlocation_fuzzer.cpp48 g_videoRecorderConfig.videoFormat = MPEG4; in FuzzRecorderSetLocation()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetorientationhint_fuzzer/
H A Drecordersetorientationhint_fuzzer.cpp47 g_videoRecorderConfig.videoFormat = MPEG4; in FuzzRecorderSetOrientationHint()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetvideoframerate_fuzzer/
H A Drecordersetvideoframerate_fuzzer.cpp48 g_videoRecorderConfig.videoFormat = MPEG4; in RecorderSetVideoFrameRateFuzz()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetvideosize_fuzzer/
H A Drecordersetvideosize_fuzzer.cpp48 g_videoRecorderConfig.videoFormat = MPEG4; in RecorderSetVideoSizeFuzz()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetaudiochannels_fuzzer/
H A Drecordersetaudiochannels_fuzzer.cpp49 g_videoRecorderConfig.videoFormat = MPEG4; in FuzzRecorderSetAudioChannels()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetaudiochannelsnum_fuzzer/
H A Drecordersetaudiochannelsnum_fuzzer.cpp49 g_videoRecorderConfig.videoFormat = MPEG4; in FuzzRecorderSetAudioChannelsNum()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetaudioencodingbitrate_fuzzer/
H A Drecordersetaudioencodingbitrate_fuzzer.cpp48 g_videoRecorderConfig.videoFormat = MPEG4; in FuzzRecorderSetAudioEncodingBitRate()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetaudiosamplerate_fuzzer/
H A Drecordersetaudiosamplerate_fuzzer.cpp47 g_videoRecorderConfig.videoFormat = MPEG4; in FuzzRecorderSetAudioSampleRatee()

123