Home
last modified time | relevance | path

Searched refs:WORD_SIZE (Results 1 – 15 of 15) 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/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()
200 if((u4_strm_buf_offset + (WORD_SIZE>>3)) >= u4_max_strm_size) in ih264e_put_bits()
209 for(i = WORD_SIZE; i > 0; i -= 8) in ih264e_put_bits()
218 u4_cur_word = rem_bits ? (u4_code_val << (WORD_SIZE - rem_bits)) : 0; in ih264e_put_bits()
222 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE - rem_bits; in ih264e_put_bits()
294 if((u4_strm_buf_offset + (WORD_SIZE>>3) - bytes_left_in_cw) >= in ih264e_put_rbsp_trailing_bits()
307 for(i = WORD_SIZE; i > (bytes_left_in_cw*8); i -= 8) in ih264e_put_rbsp_trailing_bits()
[all …]
Dih264e_bitstream.h51 #define WORD_SIZE 32 macro
184 for (i = WORD_SIZE; i > ps_bitstrm->i4_bits_left_in_cw; i -= 8) \
191 ps_bitstrm->i4_bits_left_in_cw = WORD_SIZE; \
Dih264e_cabac.c325 ps_stream->i4_bits_left_in_cw = WORD_SIZE; in ih264e_cabac_flush()
/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/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_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/mesa3d/src/compiler/spirv/
Dspirv2nir.c44 #define WORD_SIZE 4 macro
56 if (len % WORD_SIZE != 0) in main()
64 size_t word_count = len / WORD_SIZE; in main()
/external/pcre/dist2/src/sljit/
DsljitNativeARM_64.c807 #define WORD_SIZE 0x3 macro
1137 return emit_op_mem(compiler, WORD_SIZE | SIGNED, dst, src, srcw, TMP_REG1); in sljit_emit_op1()
1153 mem_flags = WORD_SIZE; in sljit_emit_op1()
1204 mem_flags = WORD_SIZE; in sljit_emit_op1()
1244 mem_flags = WORD_SIZE; in sljit_emit_op2()
1366 emit_fop_mem(compiler, (op & SLJIT_F32_OP) ? INT_SIZE : WORD_SIZE, TMP_FREG1, src, srcw); in sljit_emit_fop1_conv_sw_from_f64()
1373 …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()
1388 …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()
1402 …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()
1410 sljit_s32 mem_flags = (op & SLJIT_F32_OP) ? INT_SIZE : WORD_SIZE; in sljit_emit_fop1_cmp()
[all …]
DsljitNativeARM_T2_32.c844 #define WORD_SIZE 0x00 macro
1343 flags = WORD_SIZE; in sljit_emit_op1()
1398 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_op1()
1431 emit_op_mem(compiler, WORD_SIZE, TMP_REG1, src1, src1w, TMP_REG1); in sljit_emit_op2()
1441 emit_op_mem(compiler, WORD_SIZE, src2_reg, src2, src2w, src2_reg); in sljit_emit_op2()
1454 return emit_op_mem(compiler, WORD_SIZE | STORE, dst_reg, dst, dstw, TMP_REG2); in sljit_emit_op2()
1707 return emit_op_mem(compiler, WORD_SIZE | STORE, TMP_REG2, dst, dstw, TMP_REG1); in sljit_emit_fast_enter()
1721 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG2, src, srcw, TMP_REG2)); in sljit_emit_fast_return()
2084 …FAIL_IF(emit_op_mem(compiler, WORD_SIZE, type <= SLJIT_JUMP ? TMP_PC : TMP_REG1, src, srcw, TMP_RE… in sljit_emit_ijump()
2109 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_icall()
[all …]
DsljitNativeARM_32.c854 #define WORD_SIZE 0x00 macro
1325 …return push_inst_with_literal(compiler, EMIT_DATA_TRANSFER(WORD_SIZE | LOAD_DATA, 1, reg, TMP_PC, … in load_immediate()
2010 return emit_op_mem(compiler, WORD_SIZE, TMP_REG2, dst, dstw, TMP_REG1); in sljit_emit_fast_enter()
2024 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG2, src, srcw, TMP_REG1)); in sljit_emit_fast_return()
2121 PTR_FAIL_IF(push_inst_with_unique_literal(compiler, ((EMIT_DATA_TRANSFER(WORD_SIZE | LOAD_DATA, 1, in sljit_emit_jump()
2247 …FAIL_IF(push_inst(compiler, data_transfer_insts[WORD_SIZE] | 0x800000 | RN(SLJIT_SP) | (word_arg_o… in softfloat_call_with_args()
2398 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_ijump()
2411 …FAIL_IF(push_inst_with_unique_literal(compiler, EMIT_DATA_TRANSFER(WORD_SIZE | LOAD_DATA, 1, type … in sljit_emit_ijump()
2431 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_icall()
2476 return emit_op_mem(compiler, WORD_SIZE, TMP_REG1, dst, dstw, TMP_REG2); in sljit_emit_op_flags()
[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/u-boot/include/
Dfsl_validate.h14 #define WORD_SIZE 4 macro
19 #define KEY_SIZE_WORDS (KEY_SIZE_BYTES/(WORD_SIZE))