Home
last modified time | relevance | path

Searched refs:pixel (Results 1 – 21 of 21) sorted by relevance

/foundation/graphic/standard/rosen/modules/2d_graphics/src/image/
Dbitmap.cpp50 void Bitmap::SetPixels(void* pixel) in SetPixels() argument
52 pixels_ = pixel; in SetPixels()
53 bmpImplPtr->SetPixels(pixel); in SetPixels()
/foundation/multimedia/media_standard/services/engine/gstreamer/avcodec/
Dcodec_common.cpp80 std::string PixelFormatToGst(VideoPixelFormat pixel) in PixelFormatToGst() argument
82 if (PIXEL_TO_STRING.count(pixel) != 0) { in PixelFormatToGst()
83 return PIXEL_TO_STRING.at(pixel); in PixelFormatToGst()
145 uint32_t PixelBufferSize(VideoPixelFormat pixel, uint32_t width, uint32_t height, uint32_t alignmen… in PixelBufferSize() argument
152 switch (pixel) { in PixelBufferSize()
Dcodec_common.h110 std::string PixelFormatToGst(VideoPixelFormat pixel);
116 uint32_t PixelBufferSize(VideoPixelFormat pixel, uint32_t width, uint32_t height, uint32_t alignmen…
/foundation/graphic/standard/rosen/samples/composer/
Dlayer_context.cpp163 uint32_t *pixel = static_cast<uint32_t *>(image); in DrawExtraColor() local
166 *pixel++ = color_; in DrawExtraColor()
184 uint32_t *pixel = static_cast<uint32_t *>(image); in DrawBaseColor() local
187 *pixel++ = value; in DrawBaseColor()
Dhello_composer.cpp371 uint32_t *pixel = static_cast<uint32_t *>(image); in DrawFrameBufferData() local
374 *pixel++ = value; in DrawFrameBufferData()
/foundation/ace/ace_engine_lite/frameworks/src/core/components/
Dcomponent.h38 int16_t pixel; member
220 width_.value.pixel = width; in SetWidth()
226 height_.value.pixel = height; in SetHeight()
435 return (height_.type == TYPE_PIXEL) ? height_.value.pixel : INVALID_PIXEL_VALUE; in GetHeight()
439 return (width_.type == TYPE_PIXEL) ? width_.value.pixel : INVALID_PIXEL_VALUE; in GetWidth()
Dcomponent.cpp366 dimension.value.pixel = (int16_t)(pixelValue); in GetDimensionFromStyle()
374 dimension.value.pixel = (int16_t)((dimension.value.percentage * base) / hundred); in CalculateDimensionPixel()
431 param.maxWidth = width_.value.pixel; in GetConstrainedParam()
432 param.maxHeight = height_.value.pixel; in GetConstrainedParam()
438 uiView.SetStyle(STYLE_MARGIN_TOP, marginTop_.value.pixel); in ApplyAlignedMargin()
441 uiView.SetStyle(STYLE_MARGIN_BOTTOM, marginBottom_.value.pixel); in ApplyAlignedMargin()
444 uiView.SetStyle(STYLE_MARGIN_LEFT, marginLeft_.value.pixel); in ApplyAlignedMargin()
447 uiView.SetStyle(STYLE_MARGIN_RIGHT, marginRight_.value.pixel); in ApplyAlignedMargin()
465 uiView.SetY(top_.value.pixel); in ApplyAlignedPosition()
468 uiView.SetX(left_.value.pixel); in ApplyAlignedPosition()
[all …]
/foundation/graphic/standard/rosen/modules/2d_graphics/src/engine_adapter/impl_interface/
Dbitmap_impl.h41 virtual void SetPixels(void* pixel) = 0;
/foundation/graphic/standard/rosen/modules/2d_graphics/include/image/
Dbitmap.h37 void SetPixels(void* pixel);
/foundation/aafwk/standard/services/abilitymgr/src/
Dability_manager_client.cpp302 auto pixel = Media::PixelMap::Create((const uint32_t *)data, in GetMissionSnapshot() local
304 if (!pixel) { in GetMissionSnapshot()
308 HILOG_INFO("width = [%{public}d]", pixel->GetWidth()); in GetMissionSnapshot()
309 HILOG_INFO("height = [%{public}d]", pixel->GetHeight()); in GetMissionSnapshot()
312 missionSnapshot.snapshot = std::move(pixel); in GetMissionSnapshot()
/foundation/graphic/standard/rosen/samples/2d_graphics/
Drender_context_sample.cpp187 uint32_t *pixel = static_cast<uint32_t*>(addr); in ProduceBackGroundBuffer() local
191 *pixel++ = value; in ProduceBackGroundBuffer()
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/jsview/
Djs_canvas_renderer.cpp820 auto pixel = data->data[idx]; in JsGetImageData() local
822 colorArray->SetValueAt(count, JSRef<JSVal>::Make(ToJSValue(pixel.GetRed()))); in JsGetImageData()
823 colorArray->SetValueAt(count + 1, JSRef<JSVal>::Make(ToJSValue(pixel.GetGreen()))); in JsGetImageData()
824 colorArray->SetValueAt(count + 2, JSRef<JSVal>::Make(ToJSValue(pixel.GetBlue()))); in JsGetImageData()
825 colorArray->SetValueAt(count + 3, JSRef<JSVal>::Make(ToJSValue(pixel.GetAlpha()))); in JsGetImageData()
882 Color pixel = canvasData->data[idx]; in JsGetPixelMap() local
883 data[idx] = pixel.GetValue(); in JsGetPixelMap()
/foundation/multimedia/image_standard/
DREADME_zh.md125 通过调用writeBufferToPixels写到pixel
/foundation/ace/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
Dpercent_tdd_test.cpp141 EXPECT_EQ(dimension.value.pixel, targetPX); in VerifyDimension()
/foundation/ace/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
Djsi_canvas_bridge.cpp1752 auto pixel = data->data[idx]; in JsGetImageData() local
1753 … colorArray->SetProperty(runtime, runtime->NewInt32(count), runtime->NewInt32(pixel.GetRed())); in JsGetImageData()
1754 …colorArray->SetProperty(runtime, runtime->NewInt32(count + 1), runtime->NewInt32(pixel.GetGreen())… in JsGetImageData()
1755 …colorArray->SetProperty(runtime, runtime->NewInt32(count + 2), runtime->NewInt32(pixel.GetBlue())); in JsGetImageData()
1756 …colorArray->SetProperty(runtime, runtime->NewInt32(count + 3), runtime->NewInt32(pixel.GetAlpha())… in JsGetImageData()
1812 Color pixel = imageData->data[idx]; in JsGetPixelMap() local
1813 data[idx] = pixel.GetValue(); in JsGetPixelMap()
Djsi_offscreen_canvas_bridge.cpp1580 auto pixel = data->data[idx]; in JsGetImageData() local
1581 … colorArray->SetProperty(runtime, runtime->NewInt32(count), runtime->NewInt32(pixel.GetRed())); in JsGetImageData()
1582 …colorArray->SetProperty(runtime, runtime->NewInt32(count + 1), runtime->NewInt32(pixel.GetGreen())… in JsGetImageData()
1583 …colorArray->SetProperty(runtime, runtime->NewInt32(count + 2), runtime->NewInt32(pixel.GetBlue())); in JsGetImageData()
1584 …colorArray->SetProperty(runtime, runtime->NewInt32(count + 3), runtime->NewInt32(pixel.GetAlpha())… in JsGetImageData()
/foundation/ace/ace_engine/frameworks/bridge/js_frontend/engine/quickjs/
Dcanvas_bridge.cpp1644 auto pixel = data->data[idx]; in JsGetImageData() local
1645 JS_SetPropertyUint32(ctx, colorArray, count, JS_NewInt32(ctx, pixel.GetRed())); in JsGetImageData()
1646 JS_SetPropertyUint32(ctx, colorArray, count + 1, JS_NewInt32(ctx, pixel.GetGreen())); in JsGetImageData()
1647 JS_SetPropertyUint32(ctx, colorArray, count + 2, JS_NewInt32(ctx, pixel.GetBlue())); in JsGetImageData()
1648 JS_SetPropertyUint32(ctx, colorArray, count + 3, JS_NewInt32(ctx, pixel.GetAlpha())); in JsGetImageData()
Doffscreen_canvas_bridge.cpp1405 auto pixel = data->data[idx]; in JsGetImageData() local
1406 JS_SetPropertyUint32(ctx, colorArray, count, JS_NewInt32(ctx, pixel.GetRed())); in JsGetImageData()
1407 JS_SetPropertyUint32(ctx, colorArray, count + 1, JS_NewInt32(ctx, pixel.GetGreen())); in JsGetImageData()
1408 JS_SetPropertyUint32(ctx, colorArray, count + 2, JS_NewInt32(ctx, pixel.GetBlue())); in JsGetImageData()
1409 JS_SetPropertyUint32(ctx, colorArray, count + 3, JS_NewInt32(ctx, pixel.GetAlpha())); in JsGetImageData()
/foundation/ace/ace_engine/frameworks/bridge/js_frontend/engine/v8/
Dv8_offscreen_canvas_bridge.cpp1752 auto pixel = data->data[idx]; in GetImageData() local
1753 colorArray->Set(context, count, v8::Integer::New(isolate, pixel.GetRed())).ToChecked(); in GetImageData()
1754 … colorArray->Set(context, count + 1, v8::Integer::New(isolate, pixel.GetGreen())).ToChecked(); in GetImageData()
1755 … colorArray->Set(context, count + 2, v8::Integer::New(isolate, pixel.GetBlue())).ToChecked(); in GetImageData()
1756 … colorArray->Set(context, count + 3, v8::Integer::New(isolate, pixel.GetAlpha())).ToChecked(); in GetImageData()
Dv8_canvas_bridge.cpp1761 auto pixel = data->data[idx]; in GetImageData() local
1762 colorArray->Set(context, count, v8::Integer::New(isolate, pixel.GetRed())).ToChecked(); in GetImageData()
1763 … colorArray->Set(context, count + 1, v8::Integer::New(isolate, pixel.GetGreen())).ToChecked(); in GetImageData()
1764 … colorArray->Set(context, count + 2, v8::Integer::New(isolate, pixel.GetBlue())).ToChecked(); in GetImageData()
1765 … colorArray->Set(context, count + 3, v8::Integer::New(isolate, pixel.GetAlpha())).ToChecked(); in GetImageData()
/foundation/multimodalinput/input/patch/prebuild_eudev/hwdb.d/
D20-usb-vendor-model.hwdb50895 ID_MODEL_FROM_DATABASE=2M pixel Microscope Camera
50898 ID_MODEL_FROM_DATABASE=3M pixel Microscope Camera
50901 ID_MODEL_FROM_DATABASE=1.3M pixel Microscope Camera (mono)
50904 ID_MODEL_FROM_DATABASE=1.3M pixel Microscope Camera (colour)
50907 ID_MODEL_FROM_DATABASE=3M pixel Microscope Camera (Mk 2)
50910 ID_MODEL_FROM_DATABASE=2M pixel Microscope Camera (with capture button)
50913 ID_MODEL_FROM_DATABASE=3M pixel Microscope Camera (with capture button)
50916 ID_MODEL_FROM_DATABASE=1.3M pixel Microscope Camera (colour, with capture button)
50919 ID_MODEL_FROM_DATABASE=1.3M pixel Microscope Camera (colour, with capture button)
50922 ID_MODEL_FROM_DATABASE=2M pixel Microscope Camera (Mk 2)
[all …]