Home
last modified time | relevance | path

Searched refs:surface (Results 1 - 18 of 18) sorted by relevance

/drivers/peripheral/display/hal/default_standard/src/display_device/composer/
H A Dhdi_gfx_composition.cpp114 void HdiGfxComposition::InitGfxSurface(ISurface &surface, HdiLayerBuffer &buffer) in InitGfxSurface() argument
116 surface.width = buffer.GetWidth(); in InitGfxSurface()
117 surface.height = buffer.GetHeight(); in InitGfxSurface()
118 surface.phyAddr = buffer.GetMemHandle(); in InitGfxSurface()
119 surface.enColorFmt = (PixelFormat)buffer.GetFormat(); in InitGfxSurface()
120 surface.stride = buffer.GetStride(); in InitGfxSurface()
121 surface.bAlphaExt1555 = true; in InitGfxSurface()
122 surface.bAlphaMax255 = true; in InitGfxSurface()
123 surface.alpha0 = 0XFF; in InitGfxSurface()
124 surface in InitGfxSurface()
[all...]
H A Dhdi_video_composition.h38 void InitGfxSurface(ISurface &surface, HdiLayerBuffer &buffer);
H A Dhdi_gfx_composition.h35 void InitGfxSurface(ISurface &surface, HdiLayerBuffer &buffer);
/drivers/peripheral/display/test/unittest/lite/
H A Ddisplay_test.c29 OsdSurface surface; in LoadBmp() local
57 surface.colorFmt = OSD_COLOR_FMT_RGB1555; in LoadBmp()
58 CreateSurfaceByBitMap(fileName, &surface, pBuf, (*buffer)->size); in LoadBmp()
88 static void PicSourceSurfaceInit(ISurface *surface, uint64_t phyAddr, int32_t bpp) in PicSourceSurfaceInit() argument
90 surface->width = SAMPLE_IMAGE_WIDTH; in PicSourceSurfaceInit()
91 surface->height = SAMPLE_IMAGE_HEIGHT; in PicSourceSurfaceInit()
92 surface->phyAddr = phyAddr; in PicSourceSurfaceInit()
93 surface->enColorFmt = PIXEL_FMT_RGBA_5551; in PicSourceSurfaceInit()
94 surface->stride = SAMPLE_IMAGE_WIDTH * bpp / BITS_PER_BYTE; in PicSourceSurfaceInit()
95 surface in PicSourceSurfaceInit()
101 DestSurfaceInit(ISurface *surface, uint64_t phyAddr, int32_t bpp) DestSurfaceInit() argument
[all...]
/drivers/peripheral/display/composer/vdi_base/include/
H A Ddisplay_gfx.h47 * @param surface Indicates the pointer to the canvas.
55 int32_t (*FillRect)(ISurface *surface, IRect *rect, uint32_t color, GfxOpt *opt);
60 * @param surface Indicates the pointer to the canvas.
68 int32_t (*DrawRectangle)(ISurface *surface, Rectangle *rect, uint32_t color, GfxOpt *opt);
73 * @param surface Indicates the pointer to the canvas.
80 int32_t (*DrawLine)(ISurface *surface, ILine *line, GfxOpt *opt);
85 * @param surface Indicates the pointer to the canvas.
92 int32_t (*DrawCircle)(ISurface *surface, ICircle *circle, GfxOpt *opt);
/drivers/peripheral/display/hal/default_standard/src/display_device/
H A Ddisplay_gfx.h47 * @param surface Indicates the pointer to the canvas.
55 int32_t (*FillRect)(ISurface *surface, IRect *rect, uint32_t color, GfxOpt *opt);
60 * @param surface Indicates the pointer to the canvas.
68 int32_t (*DrawRectangle)(ISurface *surface, Rectangle *rect, uint32_t color, GfxOpt *opt);
73 * @param surface Indicates the pointer to the canvas.
80 int32_t (*DrawLine)(ISurface *surface, ILine *line, GfxOpt *opt);
85 * @param surface Indicates the pointer to the canvas.
92 int32_t (*DrawCircle)(ISurface *surface, ICircle *circle, GfxOpt *opt);
/drivers/peripheral/display/interfaces/include/
H A Ddisplay_gfx.h75 * @param surface Indicates the pointer to the canvas.
85 int32_t (*FillRect)(ISurface *surface, IRect *rect, uint32_t color, GfxOpt *opt);
90 * @param surface Indicates the pointer to the canvas.
100 int32_t (*DrawRectangle)(ISurface *surface, Rectangle *rect, uint32_t color, GfxOpt *opt);
105 * @param surface Indicates the pointer to the canvas.
114 int32_t (*DrawLine)(ISurface *surface, ILine *line, GfxOpt *opt);
119 * @param surface Indicates the pointer to the canvas.
128 int32_t (*DrawCircle)(ISurface *surface, ICircle *circle, GfxOpt *opt);
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/buffer_adapter/lite/
H A Dbuffer_adapter.cpp21 const std::shared_ptr<OHOS::Surface>& surface, in SurfaceBufferToCameraBuffer()
29 buffer->SetStride(surface->GetStride()); in SurfaceBufferToCameraBuffer()
30 buffer->SetWidth(surface->GetWidth()); in SurfaceBufferToCameraBuffer()
31 buffer->SetHeight(surface->GetHeight()); in SurfaceBufferToCameraBuffer()
32 int32_t format = static_cast<int32_t>(PixelFormatToCameraFormat(surface->GetFormat())); in SurfaceBufferToCameraBuffer()
34 buffer->SetUsage(CameraUsageToGrallocUsage(surface->GetUsage())); in SurfaceBufferToCameraBuffer()
20 SurfaceBufferToCameraBuffer(const OHOS::SurfaceBuffer* surfaceBuffer, const std::shared_ptr<OHOS::Surface>& surface, const std::shared_ptr<IBuffer>& buffer) SurfaceBufferToCameraBuffer() argument
H A Dbuffer_adapter.h23 #include "surface.h"
30 const std::shared_ptr<OHOS::Surface>& surface,
/drivers/peripheral/distributed_camera/hdi_service/test/sample/
H A Dstream_customer.h24 #include <surface.h>
41 TestBuffersConsumerListener(const sptr<IConsumerSurface>& surface, in TestBuffersConsumerListener() argument
42 const std::function<void(void*, const uint32_t)> callback) : callback_(callback), consumer_(surface) in TestBuffersConsumerListener()
H A Ddcamera_hdf_demo.h23 #include <surface.h>
/drivers/peripheral/face_auth/test/fuzztest/face_auth/faceauthinterfaceservice_fuzzer/
H A Dface_auth_interface_service_fuzzer.cpp53 auto surface = IConsumerSurface::Create(); in FuzzSetBufferProducer() local
54 if (surface == nullptr) { in FuzzSetBufferProducer()
58 bufferProducer = surface->GetProducer(); in FuzzSetBufferProducer()
/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dstream_operator/
H A Dstream_consumer.h19 #include <surface.h>
/drivers/peripheral/camera/test/ut/v4l2/
H A Dstream_customer.h24 #include <surface.h>
/drivers/peripheral/camera/test/demo_3A/
H A Dohos_camera_demo_3a.h23 #include <surface.h>
/drivers/peripheral/camera/test/demo/
H A Dohos_camera_demo.h23 #include <surface.h>
/drivers/peripheral/camera/test/mpi/src/
H A Dcommon.cpp459 Surface* surface = OHOS::Surface::CreateSurface(); in CreateProducer() local
460 consumer_ = std::shared_ptr<OHOS::Surface>(surface); in CreateProducer()
/drivers/peripheral/camera/test/mpi/include/
H A Dcommon.h37 #include <surface.h>

Completed in 7 milliseconds