Searched refs:colorMap (Results 1 - 6 of 6) sorted by relevance
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/overdraw/ |
H A D | rs_overdraw_controller.cpp | 133 std::map<int, Drawing::ColorQuad> colorMap; in OnColorChange() local 135 colorMap[i + 1] = colors[i]; in OnColorChange() 137 colorMap[0] = colors.back(); in OnColorChange() 142 that.colorMap_ = colorMap; in OnColorChange()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/jpeg_hw_decode/common/ |
H A D | mock_jpeg_hw_decode_flow.cpp | 125 static const std::map<UserColorFormat, PixelFormat> colorMap = { in UserColorFmtToPixelFmt() local 129 auto iter = colorMap.find(usrColorFmt); in UserColorFmtToPixelFmt() 130 if (iter == colorMap.end()) { in UserColorFmtToPixelFmt()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_image_view.cpp | 63 const ColorMapObject* colorMap) const; 154 ColorMapObject* colorMap = nullptr; in SetGifFrame() local 156 colorMap = gifImageDesc->ColorMap; in SetGifFrame() 158 colorMap = gifFileType->SColorMap; in SetGifFrame() 161 DealGifImageData(gifFileType, gifImageDesc, savedImage, gcb, colorMap); in SetGifFrame() 185 const ColorMapObject* colorMap) const in DealGifImageData() 188 (savedImage->RasterBits == nullptr) || (colorMap == nullptr) || (colorMap->Colors == nullptr)) { in DealGifImageData() 211 gifColorType = &colorMap->Colors[colorIndex]; in DealGifImageData()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/ |
H A D | gif_encoder.cpp | 273 ColorType *colorMap = (ColorType *)malloc(sizeof(ColorType) * COLOR_MAP_SIZE); in processFrame() local 274 if (colorMap == NULL) { in processFrame() 284 free(colorMap); in processFrame() 287 if (colorQuantize(index, width, height, colorBuffer, colorMap)) { in processFrame() 290 free(colorMap); in processFrame() 294 Write(&(colorMap[j].red), 1); in processFrame() 295 Write(&(colorMap[j].green), 1); in processFrame() 296 Write(&(colorMap[j].blue), 1); in processFrame() 302 free(colorMap); in processFrame() 307 free(colorMap); in processFrame() [all...] |
H A D | gif_decoder.cpp | 432 const ColorMapObject *colorMap = gifPtr_->SColorMap; in PaddingData() local 434 colorMap = savedImage->ImageDesc.ColorMap; // local color map in PaddingData() 436 if (colorMap == nullptr) { in PaddingData() 440 int32_t colorCount = colorMap->ColorCount; in PaddingData() 441 int32_t bitsPerPixel = colorMap->BitsPerPixel; in PaddingData() 463 CopyLine(srcFrame, dstPixelMapBuffer, frameWidth, transparentColor, colorMap); in PaddingData() 471 int32_t transparentColor, const ColorMapObject *colorMap) in CopyLine() 474 if ((*srcFrame != transparentColor) && (*srcFrame < colorMap->ColorCount)) { in CopyLine() 475 const GifColorType &colorType = colorMap->Colors[*srcFrame]; in CopyLine() 470 CopyLine(const GifByteType *srcFrame, uint32_t *dstPixelMapBuffer, int32_t frameWidth, int32_t transparentColor, const ColorMapObject *colorMap) CopyLine() argument
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/include/ |
H A D | gif_decoder.h | 69 const ColorMapObject *colorMap);
|
Completed in 6 milliseconds