Home
last modified time | relevance | path

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

/external/libavc/decoder/
Dih264d_bitstrm.h134 #define NEXTBITS(u4_word, u4_offset, pu4_bitstream, u4_no_bits) \ argument
139 u4_word = pu4_buf[u4_word_off++] << u4_bit_off; \
141 u4_word |= (pu4_buf[u4_word_off] >> (INT_IN_BITS - u4_bit_off)); \
142 u4_word = u4_word >> (INT_IN_BITS - u4_no_bits); \
147 #define NEXTBITS_32(u4_word, u4_offset, pu4_bitstream) \ argument
153 u4_word = pu4_buf[u4_word_off++] << u4_bit_off; \
155 u4_word |= (pu4_buf[u4_word_off] >> (INT_IN_BITS - u4_bit_off)); \
164 UWORD32 u4_word; \
165 NEXTBITS_32(u4_word, u4_offset, pu4_bitstream); \
166 u4_ldz = CLZ(u4_word); \
[all …]
Dih264d_parse_islice.c161 UWORD32 u4_word, u4_ldz, u4_temp; in ih264d_parse_imb_cavlc() local
166 NEXTBITS_32(u4_word, u4_bitstream_offset, pu4_bitstrm_buf); in ih264d_parse_imb_cavlc()
167 u4_ldz = CLZ(u4_word); in ih264d_parse_imb_cavlc()
171 u4_word = 0; in ih264d_parse_imb_cavlc()
174 GETBITS(u4_word, u4_bitstream_offset, pu4_bitstrm_buf, in ih264d_parse_imb_cavlc()
178 u4_temp = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_imb_cavlc()
191 UWORD32 u4_word, u4_ldz; in ih264d_parse_imb_cavlc() local
196 NEXTBITS_32(u4_word, u4_bitstream_offset, pu4_bitstrm_buf); in ih264d_parse_imb_cavlc()
197 u4_ldz = CLZ(u4_word); in ih264d_parse_imb_cavlc()
201 u4_word = 0; in ih264d_parse_imb_cavlc()
[all …]
Dih264d_parse_bslice.c111 UWORD32 u4_word, u4_ldz; in ih264d_parse_bmb_non_direct_cavlc() local
116 NEXTBITS_32(u4_word, u4_bitstream_offset, pu4_bitstrm_buf); in ih264d_parse_bmb_non_direct_cavlc()
117 u4_ldz = CLZ(u4_word); in ih264d_parse_bmb_non_direct_cavlc()
121 u4_word = 0; in ih264d_parse_bmb_non_direct_cavlc()
123 GETBITS(u4_word, u4_bitstream_offset, pu4_bitstrm_buf, in ih264d_parse_bmb_non_direct_cavlc()
126 ui_sub_mb_mode = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_bmb_non_direct_cavlc()
310 UWORD32 u4_word, u4_ldz, u4_abs_val; in ih264d_parse_bmb_non_direct_cavlc() local
315 NEXTBITS_32(u4_word, u4_bitstream_offset, in ih264d_parse_bmb_non_direct_cavlc()
317 u4_ldz = CLZ(u4_word); in ih264d_parse_bmb_non_direct_cavlc()
323 u4_word = 0; in ih264d_parse_bmb_non_direct_cavlc()
[all …]
Dih264d_parse_pslice.c125 UWORD32 u4_word, u4_ldz; in ih264d_parse_pmb_cavlc() local
130 NEXTBITS_32(u4_word, u4_bitstream_offset, pu4_bitstrm_buf); in ih264d_parse_pmb_cavlc()
131 u4_ldz = CLZ(u4_word); in ih264d_parse_pmb_cavlc()
135 u4_word = 0; in ih264d_parse_pmb_cavlc()
137 GETBITS(u4_word, u4_bitstream_offset, pu4_bitstrm_buf, in ih264d_parse_pmb_cavlc()
140 ui_sub_mb_mode = ((1 << u4_ldz) + u4_word - 1); in ih264d_parse_pmb_cavlc()
270 UWORD32 u4_word, u4_ldz, u4_abs_val; in ih264d_parse_pmb_cavlc() local
275 NEXTBITS_32(u4_word, u4_bitstream_offset, in ih264d_parse_pmb_cavlc()
277 u4_ldz = CLZ(u4_word); in ih264d_parse_pmb_cavlc()
283 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.h76 static INLINE UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
78 if(u4_word) in CLZ()
79 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()
87 static INLINE UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
89 if(0 == u4_word) in CTZ()
94 index = __builtin_ctz(u4_word); in CTZ()
/external/libhevc/common/arm/
Dihevc_platform_macros.h121 static INLINE UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
123 if(u4_word) in CLZ()
124 return (__builtin_clz(u4_word)); in CLZ()
129 static INLINE UWORD32 CLZNZ(UWORD32 u4_word) in CLZNZ() argument
131 return (__builtin_clz(u4_word)); in CLZNZ()
134 static INLINE UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
136 if(0 == u4_word) in CTZ()
141 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/libavc/common/mips/
Dih264_platform_macros.h72 static __inline UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
74 if(u4_word) in CLZ()
75 return(__builtin_clz(u4_word)); in CLZ()
80 static __inline UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
82 if(0 == u4_word) in CTZ()
87 index = __builtin_ctz(u4_word); in CTZ()
/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/libavc/common/x86/
Dih264_platform_macros.h71 static __inline UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
73 if(u4_word) in CLZ()
74 return(__builtin_clz(u4_word)); in CLZ()
79 static __inline UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
81 if(0 == u4_word) in CTZ()
86 index = __builtin_ctz(u4_word); in CTZ()
/external/libavc/common/armv8/
Dih264_platform_macros.h131 static INLINE UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
133 if(u4_word) in CLZ()
134 return (__builtin_clz(u4_word)); in CLZ()
138 static INLINE UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
140 if(0 == u4_word) in CTZ()
145 index = __builtin_ctz(u4_word); in CTZ()
/external/libavc/common/arm/
Dih264_platform_macros.h131 static INLINE UWORD32 CLZ(UWORD32 u4_word) in CLZ() argument
133 if(u4_word) in CLZ()
134 return (__builtin_clz(u4_word)); in CLZ()
138 static INLINE UWORD32 CTZ(UWORD32 u4_word) in CTZ() argument
140 if(0 == u4_word) in CTZ()
145 index = __builtin_ctz(u4_word); in CTZ()