Searched refs:initColorData (Results 1 – 1 of 1) sorted by relevance
179 uint8_t* initColorData = const_cast<uint8_t*>(imageInfo_.data); in FillQrCodeBackgroundColor() local180 *(initColorData + 0) = backgroundColor_.blue; // 0: B channel in FillQrCodeBackgroundColor()181 *(initColorData + 1) = backgroundColor_.green; // 1: G channel in FillQrCodeBackgroundColor()182 *(initColorData + 2) = backgroundColor_.red; // 2: R channel in FillQrCodeBackgroundColor()183 *(initColorData + 3) = OPA_OPAQUE; // 3: Alpha channel in FillQrCodeBackgroundColor()188 uint8_t* tempColorData = initColorData; in FillQrCodeBackgroundColor()190 initColorData += QRCODE_FACTOR_NUM; in FillQrCodeBackgroundColor()191 if (memcpy_s(initColorData, QRCODE_FACTOR_NUM, tempColorData, QRCODE_FACTOR_NUM) != EOK) { in FillQrCodeBackgroundColor()196 initColorData = tempColorData; in FillQrCodeBackgroundColor()199 initColorData += deltaWidth; in FillQrCodeBackgroundColor()[all …]