Home
last modified time | relevance | path

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

/external/libhevc/decoder/
Dihevcd_bitstream.h42 #define WORD_SIZE 32 macro
46 #define DBL_WORD_SIZE (2 * (WORD_SIZE))
51 #define WORD_SIZE_MINUS1 (WORD_SIZE - 1)
94 (WORD_SIZE - m_cnt); \
96 if(m_u4_bit_ofst > (WORD_SIZE - m_cnt)) \
99 (WORD_SIZE + WORD_SIZE - m_cnt \
116 m_u4_bits |= SHR(m_u4_nxt_word, (WORD_SIZE - m_u4_bit_ofst)); \
132 if( m_u4_bit_ofst >= WORD_SIZE ) \
138 m_u4_bit_ofst -= WORD_SIZE; \
153 >> (WORD_SIZE - m_cnt); \
[all …]
/external/libhevc/encoder/
Dihevce_bitstream.c97 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE; in ihevce_bitstrm_init()
138 ASSERT(code_len > 0 && code_len <= WORD_SIZE); in ihevce_put_bits()
140 if(code_len < WORD_SIZE) in ihevce_put_bits()
144 ASSERT(bits_left_in_cw > 0 && bits_left_in_cw <= WORD_SIZE); in ihevce_put_bits()
187 if((u4_strm_buf_offset + (WORD_SIZE >> 3)) >= u4_max_strm_size) in ihevce_put_bits()
196 for(i = WORD_SIZE; i > 0; i -= 8) in ihevce_put_bits()
205 u4_cur_word = rem_bits ? (u4_code_val << (WORD_SIZE - rem_bits)) : 0; in ihevce_put_bits()
209 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE - rem_bits; in ihevce_put_bits()
281 if((u4_strm_buf_offset + (WORD_SIZE >> 3) - bytes_left_in_cw) >= u4_max_strm_size) in ihevce_put_rbsp_trailing_bits()
293 for(i = WORD_SIZE; i > (bytes_left_in_cw * 8); i -= 8) in ihevce_put_rbsp_trailing_bits()
[all …]
Dihevce_bitstream.h49 #define WORD_SIZE 32 macro
Dihevce_cabac_tu.c1327 scan_pos = WORD_SIZE - next_sig; in ihevce_cabac_residue_encode()
1875 scan_pos = WORD_SIZE - next_sig; in ihevce_cabac_residue_encode_rdopt()
2731 scan_pos = WORD_SIZE - next_sig; in ihevce_cabac_residue_encode_rdoq()
/external/libavc/encoder/
Dih264e_bitstream.c105 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE; in ih264e_bitstrm_init()
149 ASSERT(code_len > 0 && code_len <= WORD_SIZE); in ih264e_put_bits()
151 if(code_len < WORD_SIZE) in ih264e_put_bits()
155 ASSERT(bits_left_in_cw > 0 && bits_left_in_cw <= WORD_SIZE); in ih264e_put_bits()
191 for(i = WORD_SIZE; i > 0; i -= 8) in ih264e_put_bits()
200 u4_cur_word = rem_bits ? (u4_code_val << (WORD_SIZE - rem_bits)) : 0; in ih264e_put_bits()
204 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE - rem_bits; in ih264e_put_bits()
273 for(i = WORD_SIZE; i > (bytes_left_in_cw*8); i -= 8) in ih264e_put_rbsp_trailing_bits()
283 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE; in ih264e_put_rbsp_trailing_bits()
Dih264e_bitstream.h51 #define WORD_SIZE 32 macro
263 for (i = WORD_SIZE; i > ps_bitstrm->i4_bits_left_in_cw; i -= 8) \
269 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE; \
Dih264e_cabac.c322 ps_stream->i4_bits_left_in_cw = WORD_SIZE; in ih264e_cabac_flush()
/external/python/cpython2/Modules/_ctypes/libffi/src/microblaze/
Dffi.c36 #define WORD_SIZE sizeof(unsigned int) macro
37 #define ARGS_REGISTER_SIZE (WORD_SIZE * 6)
38 #define WORD_ALIGN(x) ALIGN(x, WORD_SIZE)
62 memcpy(addr, &(ecif->rvalue), WORD_SIZE); in ffi_prep_args()
63 stack_args_p += WORD_SIZE; in ffi_prep_args()
120 if (size < WORD_SIZE) in ffi_prep_args()
122 memcpy (addr + (WORD_SIZE - size), value, size); in ffi_prep_args()
212 ptr += WORD_SIZE; in ffi_closure_call_SYSV()
242 if (arg_types[i]->size < WORD_SIZE) in ffi_closure_call_SYSV()
244 memcpy (ptr, ptr + (WORD_SIZE - arg_types[i]->size), arg_types[i]->size); in ffi_closure_call_SYSV()
/external/libffi/src/microblaze/
Dffi.c36 #define WORD_SIZE sizeof(unsigned int) macro
37 #define ARGS_REGISTER_SIZE (WORD_SIZE * 6)
38 #define WORD_FFI_ALIGN(x) FFI_ALIGN(x, WORD_SIZE)
62 memcpy(addr, &(ecif->rvalue), WORD_SIZE); in ffi_prep_args()
63 stack_args_p += WORD_SIZE; in ffi_prep_args()
120 if (size < WORD_SIZE) in ffi_prep_args()
122 memcpy (addr + (WORD_SIZE - size), value, size); in ffi_prep_args()
212 ptr += WORD_SIZE; in ffi_closure_call_SYSV()
242 if (arg_types[i]->size < WORD_SIZE) in ffi_closure_call_SYSV()
244 memcpy (ptr, ptr + (WORD_SIZE - arg_types[i]->size), arg_types[i]->size); in ffi_closure_call_SYSV()
/external/rust/crates/getrandom/src/
Drdrand.rs27 const WORD_SIZE: usize = mem::size_of::<usize>(); constant
30 unsafe fn rdrand() -> Result<[u8; WORD_SIZE], Error> { in rdrand()
86 let mut chunks = dest.chunks_exact_mut(WORD_SIZE); in rdrand_exact()
/external/mesa3d/src/compiler/spirv/
Dspirv2nir.c45 #define WORD_SIZE 4 macro
131 if (len % WORD_SIZE != 0) in main()
139 size_t word_count = len / WORD_SIZE; in main()
/external/arm-trusted-firmware/plat/brcm/board/stingray/src/
Dbl2_setup.c38 #define WORD_SIZE 8 macro
39 #define SWREG_AVS_OTP_OFFSET (13 * WORD_SIZE) /* 13th row byte offset */
40 #define AON_GPIO_OTP_OFFSET (28 * WORD_SIZE) /* 28th row byte offset */
252 offset/WORD_SIZE, buf[1], buf[0]); in read_avs_otp_bits()
262 WARN("Invalid AVS OTP bits at %d row\n", offset/WORD_SIZE); in read_avs_otp_bits()
320 offset/WORD_SIZE, buf[1], buf[0]); in set_swreg_based_on_otp()
/external/arm-trusted-firmware/include/arch/aarch32/
Dasm_macros.S27 #define WORD_SIZE 4 macro
52 mov \reg, #WORD_SIZE
59 mov \reg, #WORD_SIZE
/external/pcre/dist2/src/sljit/
DsljitNativeARM_64.c848 #define WORD_SIZE 0x3 macro
1180 mem_flags = WORD_SIZE; in sljit_emit_op1()
1231 mem_flags = WORD_SIZE; in sljit_emit_op1()
1271 mem_flags = WORD_SIZE; in sljit_emit_op2()
1320 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_LR, src, srcw, TMP_REG1)); in sljit_emit_op_src()
1342 return emit_op_mem(compiler, WORD_SIZE | SIGNED, op, src, srcw, TMP_REG1); in sljit_emit_op_src()
1433 emit_fop_mem(compiler, (op & SLJIT_F32_OP) ? INT_SIZE : WORD_SIZE, TMP_FREG1, src, srcw); in sljit_emit_fop1_conv_sw_from_f64()
1440 …return emit_op_mem(compiler, ((GET_OPCODE(op) == SLJIT_CONV_S32_FROM_F64) ? INT_SIZE : WORD_SIZE) … in sljit_emit_fop1_conv_sw_from_f64()
1455 …emit_op_mem(compiler, ((GET_OPCODE(op) == SLJIT_CONV_F64_FROM_S32) ? INT_SIZE : WORD_SIZE), TMP_RE… in sljit_emit_fop1_conv_f64_from_sw()
1469 …return emit_fop_mem(compiler, ((op & SLJIT_F32_OP) ? INT_SIZE : WORD_SIZE) | STORE, TMP_FREG1, dst… in sljit_emit_fop1_conv_f64_from_sw()
[all …]
DsljitNativeARM_32.c964 #define WORD_SIZE 0x00 macro
1435 …return push_inst_with_literal(compiler, EMIT_DATA_TRANSFER(WORD_SIZE | LOAD_DATA, 1, reg, TMP_PC, … in load_immediate()
1870 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG2, src, srcw, TMP_REG1)); in sljit_emit_op_src()
2149 return emit_op_mem(compiler, WORD_SIZE, TMP_REG2, dst, dstw, TMP_REG1); in sljit_emit_fast_enter()
2244 PTR_FAIL_IF(push_inst_with_unique_literal(compiler, ((EMIT_DATA_TRANSFER(WORD_SIZE | LOAD_DATA, 1, in sljit_emit_jump()
2370 …FAIL_IF(push_inst(compiler, data_transfer_insts[WORD_SIZE] | 0x800000 | RN(SLJIT_SP) | (word_arg_o… in softfloat_call_with_args()
2521 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_ijump()
2534 …FAIL_IF(push_inst_with_unique_literal(compiler, EMIT_DATA_TRANSFER(WORD_SIZE | LOAD_DATA, 1, type … in sljit_emit_ijump()
2554 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_icall()
2599 return emit_op_mem(compiler, WORD_SIZE, TMP_REG1, dst, dstw, TMP_REG2); in sljit_emit_op_flags()
[all …]
DsljitNativeARM_T2_32.c868 #define WORD_SIZE 0x00 macro
1363 flags = WORD_SIZE; in sljit_emit_op1()
1418 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_op1()
1451 emit_op_mem(compiler, WORD_SIZE, TMP_REG1, src1, src1w, TMP_REG1); in sljit_emit_op2()
1461 emit_op_mem(compiler, WORD_SIZE, src2_reg, src2, src2w, src2_reg); in sljit_emit_op2()
1474 return emit_op_mem(compiler, WORD_SIZE | STORE, dst_reg, dst, dstw, TMP_REG2); in sljit_emit_op2()
1491 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG2, src, srcw, TMP_REG2)); in sljit_emit_op_src()
1756 return emit_op_mem(compiler, WORD_SIZE | STORE, TMP_REG2, dst, dstw, TMP_REG1); in sljit_emit_fast_enter()
2117 …FAIL_IF(emit_op_mem(compiler, WORD_SIZE, type <= SLJIT_JUMP ? TMP_PC : TMP_REG1, src, srcw, TMP_RE… in sljit_emit_ijump()
2142 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_icall()
[all …]
/external/swiftshader/third_party/subzero/runtime/
Dszrt_asan.c58 #define WORD_SIZE (sizeof(uint32_t)) macro
59 #define IS_32_BIT (sizeof(void *) == WORD_SIZE)
158 (size == WORD_SIZE && (uintptr_t)ptr % WORD_SIZE == 0) ? 1 : size; in __asan_check_load()
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c111 #define WORD_SIZE (sizeof(unsigned int)) macro
112 #define WORD_BITS (WORD_SIZE * BITS_PER_BYTE)
113 #define WORDS_PER_CHUNK (RIM_CHUNK_SIZE/WORD_SIZE)
141 ret = delta_bytes/WORD_SIZE; in compute_word_offset()