Home
last modified time | relevance | path

Searched refs:outputType (Results 1 - 10 of 10) sorted by relevance

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/
H A Dext_decoder_test.cpp387 AlphaType outputType; in HWTEST_F() local
388 bool ret = extDecoder->ConvertInfoToAlphaType(alphaType, outputType); in HWTEST_F()
392 ret = extDecoder->ConvertInfoToAlphaType(alphaType, outputType); in HWTEST_F()
396 ret = extDecoder->ConvertInfoToAlphaType(alphaType, outputType); in HWTEST_F()
437 AlphaType outputType; in HWTEST_F() local
439 auto ret = extDecoder->ConvertToAlphaType(desiredType, outputType); in HWTEST_F()
440 ASSERT_EQ(outputType, AlphaType::IMAGE_ALPHA_TYPE_OPAQUE); in HWTEST_F()
444 ret = extDecoder->ConvertToAlphaType(desiredType, outputType); in HWTEST_F()
445 ASSERT_EQ(outputType, AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in HWTEST_F()
450 ret = extDecoder->ConvertToAlphaType(desiredType, outputType); in HWTEST_F()
[all...]
/foundation/multimedia/camera_framework/test/fuzztest/cloudenhancesession_fuzzer/
H A Dcloud_enhance_session_fuzzer.cpp135 CaptureOutputType outputType = static_cast<CaptureOutputType>( in TestSession() local
137 session->ValidateOutputProfile(profile, outputType); in TestSession()
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Dcapture_output.cpp29 CaptureOutput::CaptureOutput(CaptureOutputType outputType, StreamType streamType, sptr<IBufferProducer> bufferProducer, in CaptureOutput() argument
31 : outputType_(outputType), streamType_(streamType), stream_(stream), bufferProducer_(bufferProducer) in CaptureOutput()
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/
H A Dcapture_output.h113 explicit CaptureOutput(CaptureOutputType outputType, StreamType streamType, sptr<IBufferProducer> bufferProducer,
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/
H A Dext_decoder.h100 bool ConvertInfoToAlphaType(SkAlphaType &alphaType, OHOS::Media::AlphaType &outputType);
103 SkAlphaType ConvertToAlphaType(OHOS::Media::AlphaType desiredType, OHOS::Media::AlphaType &outputType);
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageplugin_fuzzer/src/
H A Dimage_plugin_fuzz.cpp83 AlphaType outputType; in ExtDecoderFuncTest001() local
84 extDecoder->ConvertInfoToAlphaType(alphaType, outputType); in ExtDecoderFuncTest001()
/foundation/multimedia/camera_framework/test/fuzztest/capturesession_fuzzer/
H A Dcapture_session_fuzzer.cpp486 CaptureOutputType outputType = static_cast<CaptureOutputType>( in TestSession() local
488 session->ValidateOutputProfile(profile, outputType); in TestSession()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp1364 bool ExtDecoder::ConvertInfoToAlphaType(SkAlphaType &alphaType, AlphaType &outputType) in HeapMemAlloc() argument
1377 outputType = findItem->first; in HeapMemAlloc()
1400 SkAlphaType ExtDecoder::ConvertToAlphaType(AlphaType desiredType, AlphaType &outputType) in HeapMemAlloc() argument
1405 outputType = alphaType->first; in HeapMemAlloc()
1411 if (ConvertInfoToAlphaType(res, outputType)) { in HeapMemAlloc()
1412 IMAGE_LOGD("Using alpha type:%{public}d", outputType); in HeapMemAlloc()
1416 outputType = AlphaType::IMAGE_ALPHA_TYPE_PREMUL; in HeapMemAlloc()
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dcapture_session.cpp820 MEDIA_INFO_LOG("CaptureSession::ConfigureOutput outputType is:%{public}d", type); in ConfigureOutput()
942 auto outputType = output->GetOutputType(); in CanAddOutput() local
944 switch (outputType) { in CanAddOutput()
969 return ValidateOutputProfile(*profilePtr, outputType); in CanAddOutput()
4459 bool CaptureSession::ValidateOutputProfile(Profile& outputProfile, CaptureOutputType outputType) in ValidateOutputProfile() argument
4462 "CaptureSession::ValidateOutputProfile profile:w(%{public}d),h(%{public}d),f(%{public}d) outputType:%{public}d", in ValidateOutputProfile()
4463 outputProfile.size_.width, outputProfile.size_.height, outputProfile.format_, outputType); in ValidateOutputProfile()
4470 if (outputType == CAPTURE_OUTPUT_TYPE_METADATA) { in ValidateOutputProfile()
4474 if (outputType == CAPTURE_OUTPUT_TYPE_DEPTH_DATA) { in ValidateOutputProfile()
4491 switch (outputType) { in ValidateOutputProfile()
[all...]
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/
H A Dcapture_session.h1233 * @param outputType The type of output profile.
1237 bool ValidateOutputProfile(Profile& outputProfile, CaptureOutputType outputType);

Completed in 19 milliseconds