Home
last modified time | relevance | path

Searched refs:pcb (Results 1 – 18 of 18) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_symbolic_physical.cpp102 physical_compressed_block& pcb in symbolic_to_physical() argument
113 pcb.data[i] = cbytes[i]; in symbolic_to_physical()
118 pcb.data[2 * i + 8] = scb.constant_color[i] & 0xFF; in symbolic_to_physical()
119 pcb.data[2 * i + 9] = (scb.constant_color[i] >> 8) & 0xFF; in symbolic_to_physical()
132 pcb.data[i] = cbytes[i]; in symbolic_to_physical()
137 pcb.data[2 * i + 8] = scb.constant_color[i] & 0xFF; in symbolic_to_physical()
138 pcb.data[2 * i + 9] = (scb.constant_color[i] >> 8) & 0xFF; in symbolic_to_physical()
194 pcb.data[i] = static_cast<uint8_t>(bitrev8(weightbuf[15 - i])); in symbolic_to_physical()
197 write_bits(scb.block_mode, 11, 0, pcb.data); in symbolic_to_physical()
198 write_bits(partition_count - 1, 2, 11, pcb.data); in symbolic_to_physical()
[all …]
Dastcenc_entry.cpp988 physical_compressed_block* pcb = reinterpret_cast<physical_compressed_block*>(bp); in compress_image() local
989 compress_block(ctx, blk, *pcb, temp_buffers); in compress_image()
1256 const physical_compressed_block& pcb = *reinterpret_cast<const physical_compressed_block*>(bp); in astcenc_decompress_image() local
1259 physical_to_symbolic(*ctx->bsd, pcb, scb); in astcenc_decompress_image()
1298 const physical_compressed_block&pcb = *reinterpret_cast<const physical_compressed_block*>(data); in astcenc_get_block_info()
1300 physical_to_symbolic(*ctx->bsd, pcb, scb); in astcenc_get_block_info()
Dastcenc_internal.h1982 physical_compressed_block& pcb,
2080 physical_compressed_block& pcb);
2094 const physical_compressed_block& pcb,
Dastcenc_compress_symbolic.cpp1171 physical_compressed_block& pcb, in compress_block() argument
1249 symbolic_to_physical(bsd, scb, pcb); in compress_block()
1458 symbolic_to_physical(bsd, scb, pcb); in compress_block()
Dstb_image.h1979 …void (*YCbCr_to_RGB_kernel)(stbi_uc *out, const stbi_uc *y, const stbi_uc *pcb, const stbi_uc *pcr…
3599 static void stbi__YCbCr_to_RGB_row(stbi_uc *out, const stbi_uc *y, const stbi_uc *pcb, const stbi_u… in stbi__YCbCr_to_RGB_row() argument
3606 int cb = pcb[i] - 128; in stbi__YCbCr_to_RGB_row()
3625 static void stbi__YCbCr_to_RGB_simd(stbi_uc *out, stbi_uc const *y, stbi_uc const *pcb, stbi_uc con… in stbi__YCbCr_to_RGB_simd() argument
3647 __m128i cb_bytes = _mm_loadl_epi64((__m128i *) (pcb+i)); in stbi__YCbCr_to_RGB_simd()
3704 uint8x8_t cb_bytes = vld1_u8(pcb + i); in stbi__YCbCr_to_RGB_simd()
3740 int cb = pcb[i] - 128; in stbi__YCbCr_to_RGB_simd()
/hardware/st/secure_element/ese-spi-driver/
DT1protocol.cc57 uint8_t pcb = 0xFF; in T1protocol_getValidPcb() local
61 pcb = 0x00; in T1protocol_getValidPcb()
64 pcb |= (uint8_t)IBLOCK_NS_BIT_MASK; in T1protocol_getValidPcb()
69 pcb |= IBLOCK_M_BIT_MASK; in T1protocol_getValidPcb()
74 pcb = 0x80; in T1protocol_getValidPcb()
77 pcb |= ((uint8_t)numseqSlave) << 4; in T1protocol_getValidPcb()
80 pcb |= 0b00000001; in T1protocol_getValidPcb()
81 pcb |= ((uint8_t)numseqSlave) << 4; in T1protocol_getValidPcb()
84 pcb |= 0b00000010; in T1protocol_getValidPcb()
85 pcb |= ((uint8_t)numseqSlave) << 4; in T1protocol_getValidPcb()
[all …]
DSpiLayerComm.cc289 respTpdu->pcb = buffer[0]; in SpiLayerComm_waitForResponse()
/hardware/st/secure_element/ese-spi-driver/utils-lib/
DTpdu.cc42 baTpdu[PCB_OFFSET_IN_TPDU] = structTpdu->pcb; in Tpdu_toByteArray()
119 int Tpdu_formTpdu(uint8_t nad, uint8_t pcb, uint8_t len, uint8_t *data, in Tpdu_formTpdu() argument
129 tpdu->pcb = pcb; in Tpdu_formTpdu()
222 if ((tpdu->pcb & 0x80) == 0x00) { in Tpdu_getType()
224 } else if ((tpdu->pcb & 0xC0) == 0x80) { in Tpdu_getType()
247 dest->pcb = src->pcb; in Tpdu_copy()
DTpdu.h48 uint8_t pcb; member
90 int Tpdu_formTpdu(uint8_t nad, uint8_t pcb, uint8_t len, uint8_t *data,
/hardware/google/gfxstream/third-party/astc-encoder/Source/Fuzzers/
Dfuzz_astc_physical_to_symbolic.cpp97 physical_compressed_block pcb; in LLVMFuzzerTestOneInput() local
99 std::memcpy(&pcb, buffer.data(), 16); in LLVMFuzzerTestOneInput()
103 physical_to_symbolic(testBSD[i], pcb, scb); in LLVMFuzzerTestOneInput()
/hardware/st/secure_element2/secure_element/esehal/src/
Diso7816_t1.c157 uint8_t pcb; in write_iblock() local
164 n = t1->ifsc, pcb = 0x20; in write_iblock()
166 pcb = 0; in write_iblock()
169 pcb |= 0x40; in write_iblock()
172 buf[1] = pcb; in write_iblock()
229 uint8_t pcb = buf[1]; in parse_iblock() local
230 uint8_t next = !!(pcb & 0x40); in parse_iblock()
239 return !!(pcb & 0x20); in parse_iblock()
246 uint8_t pcb = buf[1]; in parse_rblock() local
247 uint8_t next = !!(pcb & 0x10); in parse_rblock()
[all …]
/hardware/google/camera/devices/EmulatedCamera/hwl/
DJpegCompressor.cpp484 uint8_t* pcb = static_cast<uint8_t*>(frame.yuv_planes.img_cb); in CompressYUV420Frame() local
496 static_cast<JSAMPROW>(pcb + li * frame.yuv_planes.cbcr_stride); in CompressYUV420Frame()
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/
DphNxpEseProto7816_3.cpp567 uint8_t pcb; in phNxpEseProto7816_DecodeFrame() local
572 pcb = p_data[PH_PROPTO_7816_PCB_OFFSET]; in phNxpEseProto7816_DecodeFrame()
576 phNxpEse_memcpy(&pcb_bits, &pcb, sizeof(uint8_t)); in phNxpEseProto7816_DecodeFrame()
753 int32_t frameType = (int32_t)(pcb & 0x3F); /*discard upper 2 bits */ in phNxpEseProto7816_DecodeFrame()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Api.cpp1154 uint8_t pcb; in phNxpEse_readPacket() local
1156 pcb = pBuffer[PH_PROPTO_7816_PCB_OFFSET]; in phNxpEse_readPacket()
1159 phNxpEse_memcpy(&pcb_bits, &pcb, sizeof(uint8_t)); in phNxpEse_readPacket()
DphNxpEseProto7816_3.cpp1075 uint8_t pcb; in phNxpEseProto7816_DecodeFrame() local
1080 pcb = p_data[PH_PROPTO_7816_PCB_OFFSET]; in phNxpEseProto7816_DecodeFrame()
1084 phNxpEse_memcpy(&pcb_bits, &pcb, sizeof(uint8_t)); in phNxpEseProto7816_DecodeFrame()
1304 int32_t frameType = (int32_t)(pcb & 0x3F); /*discard upper 2 bits */ in phNxpEseProto7816_DecodeFrame()
/hardware/interfaces/camera/device/default/
DExternalCameraUtils.cpp688 uint8_t* pcb = static_cast<uint8_t*>(inLayout.cb); in encodeJpegYU12() local
698 cbLines[i] = static_cast<JSAMPROW>(pcb + li * inLayout.cStride); in encodeJpegYU12()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp541 uint8_t *pcb = static_cast<uint8_t*>(inLayout.cb); in encodeJpegYU12() local
553 cbLines[i] = static_cast<JSAMPROW>(pcb + li * inLayout.cStride); in encodeJpegYU12()
/hardware/google/gfxstream/third-party/stb/include/stb/
Dstb_image.h1979 …void (*YCbCr_to_RGB_kernel)(stbi_uc *out, const stbi_uc *y, const stbi_uc *pcb, const stbi_uc *pcr…
3606 static void stbi__YCbCr_to_RGB_row(stbi_uc *out, const stbi_uc *y, const stbi_uc *pcb, const stbi_u… in stbi__YCbCr_to_RGB_row() argument
3613 int cb = pcb[i] - 128; in stbi__YCbCr_to_RGB_row()
3632 static void stbi__YCbCr_to_RGB_simd(stbi_uc *out, stbi_uc const *y, stbi_uc const *pcb, stbi_uc con… in stbi__YCbCr_to_RGB_simd() argument
3654 __m128i cb_bytes = _mm_loadl_epi64((__m128i *) (pcb+i)); in stbi__YCbCr_to_RGB_simd()
3711 uint8x8_t cb_bytes = vld1_u8(pcb + i); in stbi__YCbCr_to_RGB_simd()
3747 int cb = pcb[i] - 128; in stbi__YCbCr_to_RGB_simd()