Home
last modified time | relevance | path

Searched refs:pixel_value (Results 1 – 8 of 8) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_shape.c73 Uint32 bitmap_pixel,pixel_value = 0,mask_value = 0; in SDL_CalculateShapeBitmap() local
80 pixel_value = 0; in SDL_CalculateShapeBitmap()
84 pixel_value = *(Uint8*)pixel; in SDL_CalculateShapeBitmap()
87 pixel_value = *(Uint16*)pixel; in SDL_CalculateShapeBitmap()
90 pixel_value = *(Uint32*)pixel & (~shape->format->Amask); in SDL_CalculateShapeBitmap()
93 pixel_value = *(Uint32*)pixel; in SDL_CalculateShapeBitmap()
96 SDL_GetRGBA(pixel_value,shape->format,&r,&g,&b,&alpha); in SDL_CalculateShapeBitmap()
124 Uint32 pixel_value = 0; in RecursivelyCalculateShapeTree() local
134 pixel_value = 0; in RecursivelyCalculateShapeTree()
138 pixel_value = *(Uint8*)pixel; in RecursivelyCalculateShapeTree()
[all …]
/third_party/boost/libs/gil/test/core/pixel/
Dtest_fixture.hpp67 class pixel_value class
74 pixel_value() = default;
75 explicit pixel_value(pixel_t const& pixel) in pixel_value() function in boost::gil::test::fixture::pixel_value
87 using value_core = pixel_value<Pixel, Tag>;
91 : pixel_value
104 using parent_t = pixel_value<typename pixel_t::value_type, Tag>;
Dtest_fixture.cpp39 fixture::pixel_value<pixel_t> fix; in operator ()()
60 fixture::pixel_value<pixel_t> fix{sample_pixel}; in operator ()()
/third_party/boost/libs/gil/test/extension/dynamic_image/
Dtest_fixture.hpp39 fill_any_view(std::initializer_list<int> dst_view_indices, pixel_t pixel_value) in fill_any_view()
40 : dst_view_indices_(dst_view_indices), pixel_value_(pixel_value) in fill_any_view()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dgen_overlay_fonts.py226 pixel_value = bitmap.buffer[y * pitch + x]
227 output_bit = 1 if pixel_value >= 122 else 0
/third_party/skia/tools/skqp/
DREADME_ALGORITHM.md26 function calculate_pixel_error(pixel_value, pixel_max, pixel_min):
30 value = get_color(pixel_value, color_channel)
/third_party/flutter/skia/tools/skqp/
DREADME_ALGORITHM.md26 function calculate_pixel_error(pixel_value, pixel_max, pixel_min):
30 value = get_color(pixel_value, color_channel)
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dimage_utils.cc626 uint8_t pixel_value = 0; in CopyTensorValue() local
627 RETURN_IF_NOT_OK(source_tensor->GetItemAt(&pixel_value, source_indx)); in CopyTensorValue()
628 RETURN_IF_NOT_OK((*dest_tensor)->SetItemAt(dest_indx, pixel_value)); in CopyTensorValue()
630 float pixel_value = 0; in CopyTensorValue() local
631 RETURN_IF_NOT_OK(source_tensor->GetItemAt(&pixel_value, source_indx)); in CopyTensorValue()
632 RETURN_IF_NOT_OK((*dest_tensor)->SetItemAt(dest_indx, pixel_value)); in CopyTensorValue()