Home
last modified time | relevance | path

Searched refs:videoSourceId (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/multimedia/player_framework/test/unittest/screen_capture_test/screen_capture_unittest/src/
H A Dscreen_capture_unit_test_exclude.cpp668 int32_t videoSourceId = 0; variable
679 sptr<OHOS::Surface> consumer = recorder->GetSurface(videoSourceId);
722 int32_t videoSourceId = 0; variable
770 int32_t videoSourceId = 0; variable
1551 int32_t videoSourceId = 0; variable
1612 int32_t videoSourceId = 0; variable
1672 int32_t videoSourceId = 0; variable
1737 int32_t videoSourceId = 0; variable
1788 int32_t videoSourceId = 0; variable
1849 int32_t videoSourceId = 0; variable
[all …]
H A Dscreen_capture_unit_test_state.cpp1188 int32_t videoSourceId = 0; variable
1193 EXPECT_EQ(MSERR_OK, recorder->SetVideoFrameRate(videoSourceId, 30));
1199 sptr<OHOS::Surface> consumer = recorder->GetSurface(videoSourceId);
1249 int32_t videoSourceId = 0; variable
1254 EXPECT_EQ(MSERR_OK, recorder->SetVideoFrameRate(videoSourceId, 30));
1260 sptr<OHOS::Surface> consumer = recorder->GetSurface(videoSourceId);
1303 int32_t videoSourceId = 0; variable
1308 EXPECT_EQ(MSERR_OK, recorder->SetVideoFrameRate(videoSourceId, 30));
1314 sptr<OHOS::Surface> consumer = recorder->GetSurface(videoSourceId);
1360 int32_t videoSourceId = 0; variable
[all …]
H A Dscreen_capture_unit_test.cpp1927 int32_t videoSourceId = 0; variable
1930 EXPECT_EQ(MSERR_OK, recorder->SetVideoEncoder(videoSourceId, VideoCodecFormat::H264));
1931 EXPECT_EQ(MSERR_OK, recorder->SetVideoSize(videoSourceId, 720, 1280));
1932 EXPECT_EQ(MSERR_OK, recorder->SetVideoFrameRate(videoSourceId, 30));
1933 EXPECT_EQ(MSERR_OK, recorder->SetVideoEncodingBitRate(videoSourceId, 2000000));
1938 sptr<OHOS::Surface> consumer = recorder->GetSurface(videoSourceId);
1971 int32_t videoSourceId = 0; variable
1975 EXPECT_EQ(MSERR_OK, recorder->SetVideoSize(videoSourceId, 480, 640));
1976 EXPECT_EQ(MSERR_OK, recorder->SetVideoFrameRate(videoSourceId, 30));
1977 EXPECT_EQ(MSERR_OK, recorder->SetVideoEncodingBitRate(videoSourceId, 2000000));
[all …]
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/
H A Dcamera_video.cpp52 int32_t videoSourceId, int32_t width, int32_t height) in ConfigureVideoParams() argument
58 if (recorder->SetVideoEncoder(videoSourceId, Media::H264)) { in ConfigureVideoParams()
63 if (recorder->SetVideoSize(videoSourceId, width, height)) { in ConfigureVideoParams()
68 if (recorder->SetVideoFrameRate(videoSourceId, frameRate)) { in ConfigureVideoParams()
73 if (recorder->SetVideoEncodingBitRate(videoSourceId, encodingBitRate)) { in ConfigureVideoParams()
78 if (recorder->SetCaptureRate(videoSourceId, captureRate)) { in ConfigureVideoParams()
116 int32_t &videoSourceId, int32_t width, int32_t height) in CreateAndConfigureRecorder() argument
127 if (recorder->SetVideoSource(Media::VIDEO_SOURCE_SURFACE_ES, videoSourceId)) { in CreateAndConfigureRecorder()
142 if (!ConfigureVideoParams(recorder, videoSourceId, width, height)) { in CreateAndConfigureRecorder()
364 int32_t videoSourceId = 0; in main() local
[all …]
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/common/
H A Dtest_recorder.cpp147 recorder->SetVideoSource(recorderConfig.vSource, recorderConfig.videoSourceId); in SetVideoSource()
193 recorder->SetDataSource(dataType, recorderConfig.videoSourceId); in SetDataSource()
250 recorder->SetVideoEncoder(recorderConfig.videoSourceId, recorderConfig.videoFormat); in SetVideoEncoder()
255 … recorder->SetVideoSize(recorderConfig.videoSourceId, recorderConfig.width, recorderConfig.height); in SetVideoSize()
260 recorder->SetVideoFrameRate(recorderConfig.videoSourceId, recorderConfig.frameRate); in SetVideoFrameRate()
265 …recorder->SetVideoEncodingBitRate(recorderConfig.videoSourceId, recorderConfig.videoEncodingBitRat… in SetVideoEncodingBitRate()
270 recorder->SetCaptureRate(recorderConfig.videoSourceId, fps); in SetCaptureRate()
285 producerSurface = recorder->GetSurface(recorderConfig.videoSourceId); in GetSurface()
H A Daw_common.h52 int32_t videoSourceId = 0; member
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/src/
H A Drecorder_mock.cpp320 producerSurface_ = recorder_->GetSurface(recorderConfig.videoSourceId); in RequesetBuffer()
523 int32_t ret = recorder_->SetVideoEncoder(recorderConfig.videoSourceId, in CameraServicesForVideo()
527 ret = recorder_->SetVideoSize(recorderConfig.videoSourceId, in CameraServicesForVideo()
531 ret = recorder_->SetVideoFrameRate(recorderConfig.videoSourceId, recorderConfig.frameRate); in CameraServicesForVideo()
534 ret = recorder_->SetVideoEncodingBitRate(recorderConfig.videoSourceId, in CameraServicesForVideo()
563 ret = recorder_->SetVideoSource(recorderConfig.vSource, recorderConfig.videoSourceId); in SetAudVidFormat()
573 …ret = recorder_->SetVideoEnableTemporalScale(recorderConfig.videoSourceId, recorderConfig.enableTe… in SetAudVidFormat()
592 ret = recorder_->SetVideoSource(recorderConfig.vSource, recorderConfig.videoSourceId); in SetFormat()
596 …ret = recorder_->SetVideoEnableTemporalScale(recorderConfig.videoSourceId, recorderConfig.enableTe… in SetFormat()
H A Drecorder_unit_test.cpp1445 recorder_->SetDataSource(DataSourceType::METADATA, g_videoRecorderConfig.videoSourceId));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/camera/standard_system/
H A Dcamera.cpp98 int32_t videoSourceId = 0; in CreateRecorder() local
105 if ((ret = recorder->SetVideoSource(videoSource, videoSourceId)) != ERR_OK) { in CreateRecorder()
117 if ((ret = recorder->SetVideoEncoder(videoSourceId, encoder)) != ERR_OK) { in CreateRecorder()
121 if ((ret = recorder->SetVideoSize(videoSourceId, width, height)) != ERR_OK) { in CreateRecorder()
125 if ((ret = recorder->SetVideoFrameRate(videoSourceId, FRAME_RATE)) != ERR_OK) { in CreateRecorder()
129 if ((ret = recorder->SetVideoEncodingBitRate(videoSourceId, RATE)) != ERR_OK) { in CreateRecorder()
133 if ((ret = recorder->SetCaptureRate(videoSourceId, FPS)) != ERR_OK) { in CreateRecorder()
157 videoSourceId_ = videoSourceId; in CreateRecorder()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetvideoframerate_fuzzer/
H A Drecordersetvideoframerate_fuzzer.cpp57 g_videoRecorderConfig.videoSourceId = *reinterpret_cast<int32_t *>(data); in RecorderSetVideoFrameRateFuzz()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetvideosize_fuzzer/
H A Drecordersetvideosize_fuzzer.cpp56 g_videoRecorderConfig.videoSourceId = *reinterpret_cast<int32_t *>(data); in RecorderSetVideoSizeFuzz()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetvideoencoder_fuzzer/
H A Drecordersetvideoencoder_fuzzer.cpp62 g_videoRecorderConfig.videoSourceId = *reinterpret_cast<int32_t *>(data); in RecorderSetVideoEncoderFuzz()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetvideosource_fuzzer/
H A Drecordersetvideosource_fuzzer.cpp54 g_videoRecorderConfig.videoSourceId = *reinterpret_cast<int32_t *>(data); in FuzzRecorderSetVideoSource()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetdatasource_fuzzer/
H A Drecordersetdatasource_fuzzer.cpp54 g_videoRecorderConfig.videoSourceId = *reinterpret_cast<int32_t *>(data); in FuzzRecorderSetDataSource()
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/include/
H A Drecorder_mock.h84 int32_t videoSourceId = 0; member