Home
last modified time | relevance | path

Searched refs:VideoPixelFormatAdapter (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/web/webview/ohos_adapter/camera_adapter/include/
H A Dformat_adapter_impl.h33 VideoPixelFormatAdapter GetPixelFormat() override;
41 void SetPixelFormat(VideoPixelFormatAdapter format);
48 VideoPixelFormatAdapter pixel_format_ = VideoPixelFormatAdapter::FORMAT_UNKNOWN;
H A Dcamera_manager_adapter_impl.h125 VideoPixelFormatAdapter TransToAdapterCameraFormat(CameraFormat format);
127 CameraFormat TransToOriCameraFormat(VideoPixelFormatAdapter format);
/ohos5.0/base/web/webview/ohos_adapter/camera_adapter/src/
H A Dformat_adapter_mock.cpp35 VideoPixelFormatAdapter FormatAdapterImpl::GetPixelFormat() in GetPixelFormat()
37 return VideoPixelFormatAdapter::FORMAT_UNKNOWN; in GetPixelFormat()
52 void FormatAdapterImpl::SetPixelFormat(VideoPixelFormatAdapter format) in SetPixelFormat()
H A Dcamera_manager_adapter_impl.cpp47 { CAMERA_FORMAT_RGBA_8888, VideoPixelFormatAdapter::FORMAT_RGBA_8888 },
48 { CAMERA_FORMAT_YCBCR_420_888, VideoPixelFormatAdapter::FORMAT_YCBCR_420_888 },
49 { CAMERA_FORMAT_YUV_420_SP, VideoPixelFormatAdapter::FORMAT_YUV_420_SP },
50 { CAMERA_FORMAT_JPEG, VideoPixelFormatAdapter::FORMAT_JPEG },
51 { CAMERA_FORMAT_INVALID, VideoPixelFormatAdapter::FORMAT_UNKNOWN },
55 { VideoPixelFormatAdapter::FORMAT_RGBA_8888, CAMERA_FORMAT_RGBA_8888 },
56 { VideoPixelFormatAdapter::FORMAT_YCBCR_420_888, CAMERA_FORMAT_YCBCR_420_888 },
57 { VideoPixelFormatAdapter::FORMAT_YUV_420_SP, CAMERA_FORMAT_YUV_420_SP },
58 { VideoPixelFormatAdapter::FORMAT_JPEG, CAMERA_FORMAT_JPEG },
59 { VideoPixelFormatAdapter::FORMAT_UNKNOWN, CAMERA_FORMAT_INVALID },
[all …]
H A Dformat_adapter_impl.cpp35 VideoPixelFormatAdapter FormatAdapterImpl::GetPixelFormat() in GetPixelFormat()
55 void FormatAdapterImpl::SetPixelFormat(VideoPixelFormatAdapter format) in SetPixelFormat()
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_format_adapter_wrapper.cpp37 NWeb::VideoPixelFormatAdapter ArkFormatAdapterWrapper::GetPixelFormat() in GetPixelFormat()
39 return (NWeb::VideoPixelFormatAdapter)ctocpp_->GetPixelFormat(); in GetPixelFormat()
H A Dark_format_adapter_wrapper.h35 NWeb::VideoPixelFormatAdapter GetPixelFormat() override;
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_video_capture_params_adapter_wrapper.cpp41 NWeb::VideoPixelFormatAdapter ArkVideoCaptureParamsAdapterWrapper::GetPixelFormat() in GetPixelFormat()
43 return (NWeb::VideoPixelFormatAdapter)ctocpp_->GetPixelFormat(); in GetPixelFormat()
H A Dark_video_capture_params_adapter_wrapper.h35 NWeb::VideoPixelFormatAdapter GetPixelFormat() override;
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/camera_adapter_impl_test/
H A Dcamera_adapter_impl_test.cpp139 VideoPixelFormatAdapter GetPixelFormat() override in GetPixelFormat()
152 VideoPixelFormatAdapter pixelFormat;
280 VideoPixelFormatAdapter formatAdapter =
282 EXPECT_EQ(formatAdapter, VideoPixelFormatAdapter::FORMAT_YCBCR_420_888);
284 EXPECT_EQ(formatAdapter, VideoPixelFormatAdapter::FORMAT_UNKNOWN);
285 …CameraFormat format = adapter.TransToOriCameraFormat(VideoPixelFormatAdapter::FORMAT_YCBCR_420_888…
287 format = adapter.TransToOriCameraFormat(static_cast<VideoPixelFormatAdapter>(-1));
352 captureParams->pixelFormat = VideoPixelFormatAdapter::FORMAT_RGBA_8888;
404 captureParams->pixelFormat = VideoPixelFormatAdapter::FORMAT_RGBA_8888;
528 captureParams->pixelFormat = VideoPixelFormatAdapter::FORMAT_RGBA_8888;
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dcamera_manager_adapter.h52 enum class VideoPixelFormatAdapter : int32_t { enum
125 virtual VideoPixelFormatAdapter GetPixelFormat() = 0;
161 virtual VideoPixelFormatAdapter GetPixelFormat() = 0;
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/camera_adapter/formatadapter_fuzzer/
H A Dformatadapter_fuzzer.cpp34 adapter.SetPixelFormat(VideoPixelFormatAdapter::FORMAT_UNKNOWN); in FormatAdapterFuzzTest()