Home
last modified time | relevance | path

Searched refs:u4_word (Results 1 – 20 of 20) sorted by relevance

/external/libavc/decoder/
Dih264d_bitstrm.h137 #define NEXTBITS(u4_word, u4_offset, pu4_bitstream, u4_no_bits) \ argument
142 u4_word = pu4_buf[u4_word_off++] << u4_bit_off; \
144 u4_word |= (pu4_buf[u4_word_off] >> (INT_IN_BITS - u4_bit_off)); \
145 u4_word = u4_word >> (INT_IN_BITS - u4_no_bits); \
150 #define NEXTBITS_32(u4_word, u4_offset, pu4_bitstream) \ argument
156 u4_word = pu4_buf[u4_word_off++] << u4_bit_off; \
158 u4_word |= (pu4_buf[u4_word_off] >> (INT_IN_BITS - u4_bit_off)); \
167 UWORD32 u4_word; \
168 NEXTBITS_32(u4_word, u4_offset, pu4_bitstream); \
169 u4_ldz = CLZ(u4_word); \
[all …]
Dih264d_parse_islice.c162 UWORD32 u4_word, u4_ldz, u4_temp; in ih264d_parse_imb_cavlc() local
167 NEXTBITS_32(u4_word, u4_bitstream_offset, pu4_bitstrm_buf); in ih264d_parse_imb_cavlc()
168 u4_ldz = CLZ(u4_word); in ih264d_parse_imb_cavlc()
172 u4_word = 0; in ih264d_parse_imb_cavlc()
175 GETBITS(u4_word, u4_bitstream_offset, pu4_bitstrm_buf, in ih264d_parse_imb_cavlc()
179 u4_temp = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_imb_cavlc()
192 UWORD32 u4_word, u4_ldz; in ih264d_parse_imb_cavlc() local
197 NEXTBITS_32(u4_word, u4_bitstream_offset, pu4_bitstrm_buf); in ih264d_parse_imb_cavlc()
198 u4_ldz = CLZ(u4_word); in ih264d_parse_imb_cavlc()
202 u4_word = 0; in ih264d_parse_imb_cavlc()
[all …]
Dih264d_parse_bslice.c112 UWORD32 u4_word, u4_ldz; in ih264d_parse_bmb_non_direct_cavlc() local
117 NEXTBITS_32(u4_word, u4_bitstream_offset, pu4_bitstrm_buf); in ih264d_parse_bmb_non_direct_cavlc()
118 u4_ldz = CLZ(u4_word); in ih264d_parse_bmb_non_direct_cavlc()
122 u4_word = 0; in ih264d_parse_bmb_non_direct_cavlc()
124 GETBITS(u4_word, u4_bitstream_offset, pu4_bitstrm_buf, in ih264d_parse_bmb_non_direct_cavlc()
127 ui_sub_mb_mode = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_bmb_non_direct_cavlc()
311 UWORD32 u4_word, u4_ldz, u4_abs_val; in ih264d_parse_bmb_non_direct_cavlc() local
316 NEXTBITS_32(u4_word, u4_bitstream_offset, in ih264d_parse_bmb_non_direct_cavlc()
318 u4_ldz = CLZ(u4_word); in ih264d_parse_bmb_non_direct_cavlc()
324 u4_word = 0; in ih264d_parse_bmb_non_direct_cavlc()
[all …]
Dih264d_parse_pslice.c126 UWORD32 u4_word, u4_ldz; in ih264d_parse_pmb_cavlc() local
131 NEXTBITS_32(u4_word, u4_bitstream_offset, pu4_bitstrm_buf); in ih264d_parse_pmb_cavlc()
132 u4_ldz = CLZ(u4_word); in ih264d_parse_pmb_cavlc()
136 u4_word = 0; in ih264d_parse_pmb_cavlc()
138 GETBITS(u4_word, u4_bitstream_offset, pu4_bitstrm_buf, in ih264d_parse_pmb_cavlc()
141 ui_sub_mb_mode = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_pmb_cavlc()
271 UWORD32 u4_word, u4_ldz, u4_abs_val; in ih264d_parse_pmb_cavlc() local
276 NEXTBITS_32(u4_word, u4_bitstream_offset, in ih264d_parse_pmb_cavlc()
278 u4_ldz = CLZ(u4_word); in ih264d_parse_pmb_cavlc()
284 u4_word = 0; in ih264d_parse_pmb_cavlc()
[all …]
Dih264d_parse_cavlc.c80 UWORD32 u4_word, u4_ldz; in ih264d_uev() local
85 NEXTBITS_32(u4_word, u4_bitstream_offset, pu4_bitstrm_buf); in ih264d_uev()
86 u4_ldz = CLZ(u4_word); in ih264d_uev()
90 u4_word = 0; in ih264d_uev()
92 GETBITS(u4_word, u4_bitstream_offset, pu4_bitstrm_buf, u4_ldz); in ih264d_uev()
94 return ((1 << u4_ldz) + u4_word - 1); in ih264d_uev()
125 UWORD32 u4_word, u4_ldz, u4_abs_val; in ih264d_sev() local
130 NEXTBITS_32(u4_word, u4_bitstream_offset, pu4_bitstrm_buf); in ih264d_sev()
131 u4_ldz = CLZ(u4_word); in ih264d_sev()
137 u4_word = 0; in ih264d_sev()
[all …]
/external/libmpeg2/common/mips/
Dicv_platform_macros.h41 static __inline UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
43 if(u4_word) in CLZ()
44 return(__builtin_clz(u4_word)); in CLZ()
49 static __inline UWORD32 CLZNZ(UWORD32 u4_word) in CLZNZ() argument
51 ASSERT(u4_word); in CLZNZ()
52 return(__builtin_clz(u4_word)); in CLZNZ()
55 static __inline UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
57 if(0 == u4_word) in CTZ()
62 index = __builtin_ctz(u4_word); in CTZ()
Dimpeg2_platform_macros.h28 static __inline UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
30 if(u4_word) in CLZ()
31 return (__builtin_clz(u4_word)); in CLZ()
/external/libmpeg2/common/x86/
Dicv_platform_macros.h41 static __inline UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
43 if(u4_word) in CLZ()
44 return(__builtin_clz(u4_word)); in CLZ()
49 static __inline UWORD32 CLZNZ(UWORD32 u4_word) in CLZNZ() argument
51 ASSERT(u4_word); in CLZNZ()
52 return(__builtin_clz(u4_word)); in CLZNZ()
55 static __inline UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
57 if(0 == u4_word) in CTZ()
62 index = __builtin_ctz(u4_word); in CTZ()
Dimpeg2_platform_macros.h28 static __inline UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
30 if(u4_word) in CLZ()
31 return (__builtin_clz(u4_word)); in CLZ()
/external/libhevc/common/mips/
Dihevc_platform_macros.h61 static inline UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
63 if(u4_word) in CLZ()
64 return (__builtin_clz(u4_word)); in CLZ()
69 static inline UWORD32 CLZNZ(UWORD32 u4_word) in CLZNZ() argument
71 return (__builtin_clz(u4_word)); in CLZNZ()
74 static inline UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
76 if(0 == u4_word) in CTZ()
81 index = __builtin_ctz(u4_word); in CTZ()
/external/libhevc/common/x86/
Dihevc_platform_macros.h75 static INLINE UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
77 if(u4_word) in CLZ()
78 return (__builtin_clz(u4_word)); in CLZ()
83 static INLINE UWORD32 CLZNZ(UWORD32 u4_word) in CLZNZ() argument
85 return (__builtin_clz(u4_word)); in CLZNZ()
88 static INLINE UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
90 if(0 == u4_word) in CTZ()
95 index = __builtin_ctz(u4_word); in CTZ()
/external/libmpeg2/common/armv8/
Dicv_platform_macros.h43 static INLINE UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
45 if(u4_word) in CLZ()
46 return (__builtin_clz(u4_word)); in CLZ()
51 static __inline UWORD32 CLZNZ(UWORD32 u4_word) in CLZNZ() argument
53 ASSERT(u4_word); in CLZNZ()
54 return (__builtin_clz(u4_word)); in CLZNZ()
Dimpeg2_platform_macros.h29 static __inline UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
31 if(u4_word) in CLZ()
32 return (__builtin_clz(u4_word)); in CLZ()
/external/libmpeg2/common/arm/
Dicv_platform_macros.h41 static __inline UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
43 if(u4_word) in CLZ()
44 return (__builtin_clz(u4_word)); in CLZ()
49 static __inline UWORD32 CLZNZ(UWORD32 u4_word) in CLZNZ() argument
51 ASSERT(u4_word); in CLZNZ()
52 return (__builtin_clz(u4_word)); in CLZNZ()
Dimpeg2_platform_macros.h30 static __inline UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
32 if(u4_word) in CLZ()
33 return (__builtin_clz(u4_word)); in CLZ()
/external/libhevc/common/arm/
Dihevc_platform_macros.h136 static INLINE UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
138 if(u4_word) in CLZ()
139 return (__builtin_clz(u4_word)); in CLZ()
144 static INLINE UWORD32 CLZNZ(UWORD32 u4_word) in CLZNZ() argument
146 return (__builtin_clz(u4_word)); in CLZNZ()
149 static INLINE UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
151 if(0 == u4_word) in CTZ()
156 index = __builtin_ctz(u4_word); in CTZ()
/external/libavc/common/mips/
Dih264_platform_macros.h85 static __inline UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
87 if(u4_word) in CLZ()
88 return(__builtin_clz(u4_word)); in CLZ()
93 static __inline UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
95 if(0 == u4_word) in CTZ()
100 index = __builtin_ctz(u4_word); in CTZ()
/external/libavc/common/x86/
Dih264_platform_macros.h82 static __inline UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
84 if(u4_word) in CLZ()
85 return(__builtin_clz(u4_word)); in CLZ()
90 static __inline UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
92 if(0 == u4_word) in CTZ()
97 index = __builtin_ctz(u4_word); in CTZ()
/external/libavc/common/armv8/
Dih264_platform_macros.h158 static INLINE UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
160 if(u4_word) in CLZ()
161 return (__builtin_clz(u4_word)); in CLZ()
165 static INLINE UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
167 if(0 == u4_word) in CTZ()
172 index = __builtin_ctz(u4_word); in CTZ()
/external/libavc/common/arm/
Dih264_platform_macros.h158 static INLINE UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
160 if(u4_word) in CLZ()
161 return (__builtin_clz(u4_word)); in CLZ()
165 static INLINE UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
167 if(0 == u4_word) in CTZ()
172 index = __builtin_ctz(u4_word); in CTZ()