Home
last modified time | relevance | path

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

/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);
/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 Dformat_adapter_impl.cpp35 VideoPixelFormatAdapter FormatAdapterImpl::GetPixelFormat() in GetPixelFormat()
55 void FormatAdapterImpl::SetPixelFormat(VideoPixelFormatAdapter format) in SetPixelFormat()
H A Dcamera_manager_adapter_impl.cpp46 const std::unordered_map<CameraFormat, VideoPixelFormatAdapter> TO_ADAPTER_PIXEL_FORMAT_MAP = {
47 { 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 },
54 const std::unordered_map<VideoPixelFormatAdapter, CameraFormat> TO_OHOS_PIXEL_FORMAT_MAP = {
55 { VideoPixelFormatAdapter::FORMAT_RGBA_8888, CAMERA_FORMAT_RGBA_8888 },
56 { VideoPixelFormatAdapter::FORMAT_YCBCR_420_888, CAMERA_FORMAT_YCBCR_420_888 },
57 { VideoPixelFormatAdapter
[all...]
/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;
/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;
/base/web/webview/test/fuzztest/ohos_adapter/camera_adapter/formatadapter_fuzzer/
H A Dformatadapter_fuzzer.cpp34 adapter.SetPixelFormat(VideoPixelFormatAdapter::FORMAT_UNKNOWN); in FormatAdapterFuzzTest()
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dcamera_manager_adapter.h52 enum class VideoPixelFormatAdapter : int32_t { class
125 virtual VideoPixelFormatAdapter GetPixelFormat() = 0;
161 virtual VideoPixelFormatAdapter GetPixelFormat() = 0;
/base/web/webview/test/unittest/ohos_adapter/camera_adapter_impl_test/
H A Dcamera_adapter_impl_test.cpp139 VideoPixelFormatAdapter GetPixelFormat() override
152 VideoPixelFormatAdapter pixelFormat;
280 VideoPixelFormatAdapter formatAdapter = in HWTEST_F()
282 EXPECT_EQ(formatAdapter, VideoPixelFormatAdapter::FORMAT_YCBCR_420_888); in HWTEST_F()
284 EXPECT_EQ(formatAdapter, VideoPixelFormatAdapter::FORMAT_UNKNOWN); in HWTEST_F()
285 CameraFormat format = adapter.TransToOriCameraFormat(VideoPixelFormatAdapter::FORMAT_YCBCR_420_888); in HWTEST_F()
287 format = adapter.TransToOriCameraFormat(static_cast<VideoPixelFormatAdapter>(-1)); in HWTEST_F()
352 captureParams->pixelFormat = VideoPixelFormatAdapter::FORMAT_RGBA_8888; in HWTEST_F()
404 captureParams->pixelFormat = VideoPixelFormatAdapter::FORMAT_RGBA_8888; in HWTEST_F()
528 captureParams->pixelFormat = VideoPixelFormatAdapter in HWTEST_F()
[all...]

Completed in 6 milliseconds