Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Diterator_enc.c235 const int tnz = it->nz_[0], lnz = it->nz_[-1]; in VP8IteratorNzToBytes() local
254 left_nz[0] = BIT(lnz, 3); in VP8IteratorNzToBytes()
255 left_nz[1] = BIT(lnz, 7); in VP8IteratorNzToBytes()
256 left_nz[2] = BIT(lnz, 11); in VP8IteratorNzToBytes()
257 left_nz[3] = BIT(lnz, 15); in VP8IteratorNzToBytes()
259 left_nz[4] = BIT(lnz, 17); in VP8IteratorNzToBytes()
260 left_nz[5] = BIT(lnz, 19); in VP8IteratorNzToBytes()
262 left_nz[6] = BIT(lnz, 21); in VP8IteratorNzToBytes()
263 left_nz[7] = BIT(lnz, 23); in VP8IteratorNzToBytes()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Dvp8_dec.c518 uint8_t tnz, lnz; in ParseResiduals() local
546 lnz = left_mb->nz_ & 0x0f; in ParseResiduals()
548 int l = lnz & 1; in ParseResiduals()
559 lnz = (lnz >> 1) | (l << 7); in ParseResiduals()
563 out_l_nz = lnz >> 4; in ParseResiduals()
568 lnz = left_mb->nz_ >> (4 + ch); in ParseResiduals()
570 int l = lnz & 1; in ParseResiduals()
580 lnz = (lnz >> 1) | (l << 5); in ParseResiduals()
585 out_l_nz |= (lnz & 0xf0) << ch; in ParseResiduals()

Completed in 5 milliseconds