Home
last modified time | relevance | path

Searched refs:bytesPrePixel (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_arg.cpp520 uint8_t *data = array + formatMap->bytesPrePixel * (j + imageOption_.width * i); in DecodeData()
533 uint8_t *data = array + formatMap->bytesPrePixel * (j + imageOption_.width * i); in DecodeDataForRGB_UBYTE()
546 uint8_t *data = array + formatMap->bytesPrePixel * (j + imageOption_.width * i); in DecodeDataForRGBA_USHORT_4444()
560 uint8_t *data = array + formatMap->bytesPrePixel * (j + imageOption_.width * i); in DecodeDataForRGBA_USHORT_5551()
574 uint8_t *data = array + formatMap->bytesPrePixel * (j + imageOption_.width * i); in DecodeDataForRGB_USHORT_565()
585 size_t maxSize = bufferDataArg->GetBufferLength() - srcOffset * formatMap->bytesPrePixel; in DecodeImageData()
586 LOGD("GenImageSource element count %{public}zu %{public}u", maxSize, formatMap->bytesPrePixel); in DecodeImageData()
587 …xSize < static_cast<size_t>(imageOption_.height * imageOption_.width * formatMap->bytesPrePixel)) { in DecodeImageData()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/
H A Dwebgl_arg.h134 uint8_t bytesPrePixel; member
137 …WebGLFormatMap(GLenum format, GLenum type, uint8_t channels, uint8_t bytesPrePixel, BufferDataType… in WebGLFormatMap()
143 this->bytesPrePixel = bytesPrePixel; in WebGLFormatMap()