Home
last modified time | relevance | path

Searched refs:cs (Results 1 – 16 of 16) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgLottieModel.cpp199 Fill::ColorStop cs; in populate() local
205 cs.offset = (*color.input)[cidx]; in populate()
206 cs.r = (uint8_t)nearbyint((*color.input)[cidx + 1] * 255.0f); in populate()
207 cs.g = (uint8_t)nearbyint((*color.input)[cidx + 2] * 255.0f); in populate()
208 cs.b = (uint8_t)nearbyint((*color.input)[cidx + 3] * 255.0f); in populate()
209 cs.a = (uint8_t)nearbyint((*color.input)[aidx + 1] * 255.0f); in populate()
213 cs.offset = (*color.input)[cidx]; in populate()
214 cs.r = (uint8_t)nearbyint((*color.input)[cidx + 1] * 255.0f); in populate()
215 cs.g = (uint8_t)nearbyint((*color.input)[cidx + 2] * 255.0f); in populate()
216 cs.b = (uint8_t)nearbyint((*color.input)[cidx + 3] * 255.0f); in populate()
[all …]
DtvgSwCanvas.cpp85 Result SwCanvas::target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, Colorspace cs) n… in target() argument
96 …if (!renderer->target(buffer, stride, w, h, static_cast<ColorSpace>(cs))) return Result::InvalidAr… in target()
101 ImageLoader::cs = static_cast<ColorSpace>(cs); in target()
DtvgRender.h64 ColorSpace cs = ColorSpace::Unsupported; member
78 cs = rhs->cs; in RenderSurface()
332 virtual RenderCompositor* target(const RenderRegion& region, ColorSpace cs) = 0;
362 static inline uint8_t CHANNEL_SIZE(ColorSpace cs) in CHANNEL_SIZE() argument
364 switch(cs) { in CHANNEL_SIZE()
374 TVGERR("RENDERER", "Unsupported Channel Size! = %d", (int)cs); in CHANNEL_SIZE()
DtvgSwRenderer.cpp222 rasterConvertCS(source, surface->cs); in run()
360 bool SwRenderer::target(pixel_t* data, uint32_t stride, uint32_t w, uint32_t h, ColorSpace cs) in target() argument
372 surface->cs = cs; in target()
373 surface->channelSize = CHANNEL_SIZE(cs); in target()
401 if (surface->cs == ColorSpace::ABGR8888S || surface->cs == ColorSpace::ARGB8888S) { in postRender()
589 RenderCompositor* SwRenderer::target(const RenderRegion& region, ColorSpace cs) in target() argument
601 auto cmp = request(CHANNEL_SIZE(cs)); in target()
673 if (surface) return surface->cs; in colorSpace()
DtvgSwRenderer.h58 bool target(pixel_t* data, uint32_t stride, uint32_t w, uint32_t h, ColorSpace cs);
61 RenderCompositor* target(const RenderRegion& region, ColorSpace cs) override;
DtvgRawLoader.cpp72 surface.cs = ColorSpace::ARGB8888; in open()
DtvgLoadModule.h83 static ColorSpace cs; //desired value member
DtvgSwRaster.cpp1635 if (surface->cs == ColorSpace::ABGR8888 || surface->cs == ColorSpace::ABGR8888S) { in rasterCompositor()
1639 } else if (surface->cs == ColorSpace::ARGB8888 || surface->cs == ColorSpace::ARGB8888S) { in rasterCompositor()
1644 TVGERR("SW_ENGINE", "Unsupported Colorspace(%d) is expected!", surface->cs); in rasterCompositor()
1807 if (surface->cs == to) return true; in rasterConvertCS()
1810 auto from = surface->cs; in rasterConvertCS()
1813 surface->cs = to; in rasterConvertCS()
1817 surface->cs = to; in rasterConvertCS()
DtvgLoader.cpp72 ColorSpace ImageLoader::cs = ColorSpace::ARGB8888; member in ImageLoader
DtvgCapi.cpp89 …t(Tvg_Canvas* canvas, uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, Tvg_Colorspace cs) in tvg_swcanvas_set_target() argument
92 …rpret_cast<SwCanvas*>(canvas)->target(buffer, stride, w, h, static_cast<SwCanvas::Colorspace>(cs)); in tvg_swcanvas_set_target()
Dthorvg_capi.h503 …(Tvg_Canvas* canvas, uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, Tvg_Colorspace cs);
Dthorvg.h1689 … Result target(uint32_t* buffer, uint32_t stride, uint32_t w, uint32_t h, Colorspace cs) noexcept;
/lvgl-latest/src/osal/
Dlv_windows.c155 InitializeCriticalSection(&sync->cs); in lv_thread_sync_init()
168 EnterCriticalSection(&sync->cs); in lv_thread_sync_wait()
170 SleepConditionVariableCS(&sync->cv, &sync->cs, INFINITE); in lv_thread_sync_wait()
173 LeaveCriticalSection(&sync->cs); in lv_thread_sync_wait()
184 EnterCriticalSection(&sync->cs); in lv_thread_sync_signal()
187 LeaveCriticalSection(&sync->cs); in lv_thread_sync_signal()
198 DeleteCriticalSection(&sync->cs); in lv_thread_sync_delete()
Dlv_windows.h35 CRITICAL_SECTION cs; member
/lvgl-latest/docs/
DREADME.md207 - `.. code-block:: csharp` (or "cs"),
DDoxyfile814 # *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc,