Home
last modified time | relevance | path

Searched refs:videoRecorderProfile (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/multimedia/player_framework/frameworks/native/recorder_profiles/test/unittest/
H A Drecorder_profiles_unit_test.cpp186 std::shared_ptr<VideoRecorderProfile> videoRecorderProfile = variable
188 ASSERT_TRUE(videoRecorderProfile != nullptr);
191 EXPECT_EQ(2, videoRecorderProfile->audioChannels); // 2 expect channels
192 EXPECT_EQ(CodecMimeType::AUDIO_AAC, videoRecorderProfile->audioCodec);
195 EXPECT_EQ(RECORDER_QUALITY_LOW, videoRecorderProfile->qualityLevel);
197 EXPECT_EQ(CodecMimeType::VIDEO_MPEG4, videoRecorderProfile->videoCodec);
198 EXPECT_EQ(176, videoRecorderProfile->videoFrameWidth); // 176 expect width
199 EXPECT_EQ(144, videoRecorderProfile->videoFrameHeight); // 144 expect height
200 EXPECT_EQ(30, videoRecorderProfile->videoFrameRate); // 30 expect frame rate
213 std::shared_ptr<VideoRecorderProfile> videoRecorderProfile = variable
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/recorder_profiles/
H A Drecorder_profiles_impl.cpp117 std::shared_ptr<VideoRecorderProfile> videoRecorderProfile = in GetVideoRecorderProfile() local
119 CHECK_AND_RETURN_RET_LOG(videoRecorderProfile != nullptr, videoRecorderProfile, "Is null mem"); in GetVideoRecorderProfile()
120 return videoRecorderProfile; in GetVideoRecorderProfile()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avrecorder/
H A Davrecorder_napi.cpp2201 std::shared_ptr<VideoRecorderProfile> videoRecorderProfile = in GetAVRecorderProfile() local
2206 …ret = AVRecorderNapi::GetOutputFormat(videoRecorderProfile->containerFormatType, profile ->fileFor… in GetAVRecorderProfile()
2209 …ret = AVRecorderNapi::GetAudioCodecFormat(videoRecorderProfile->audioCodec, profile ->audioCodecFo… in GetAVRecorderProfile()
2212 …ret = AVRecorderNapi::GetVideoCodecFormat(videoRecorderProfile->videoCodec, profile ->videoCodecFo… in GetAVRecorderProfile()
2215 profile->audioBitrate = videoRecorderProfile->audioBitrate; in GetAVRecorderProfile()
2216 profile->audioChannels = videoRecorderProfile->audioChannels; in GetAVRecorderProfile()
2217 profile->auidoSampleRate = videoRecorderProfile->audioSampleRate; in GetAVRecorderProfile()
2218 profile->videoBitrate = videoRecorderProfile->videoBitrate; in GetAVRecorderProfile()
2219 profile->videoFrameWidth = videoRecorderProfile->videoFrameWidth; in GetAVRecorderProfile()
2220 profile->videoFrameHeight = videoRecorderProfile->videoFrameHeight; in GetAVRecorderProfile()
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/recorder/
H A Drecorder_capability_napi.cpp206 …auto videoRecorderProfile = RecorderProfilesFactory::CreateRecorderProfiles().GetVideoRecorderProf… in GetVideoRecorderProfile() local
208 … asyncCtx->JsResult = std::make_unique<MediaJsVideoRecorderProfile>(videoRecorderProfile); in GetVideoRecorderProfile()