Home
last modified time | relevance | path

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

/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
Didct_vca.cpp40 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width) in idctrow1() argument
52 blk -= 8; in idctrow1()
56 tmp = (*(blk += 8) + 32) >> 6; in idctrow1()
57 *blk = 0; in idctrow1()
90 void idctcol1(int16 *blk) in idctcol1() argument
92 blk[0] = blk[8] = blk[16] = blk[24] = blk[32] = blk[40] = blk[48] = blk[56] = in idctcol1()
93 blk[0] << 3; in idctcol1()
97 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width) in idctrow2() argument
108 blk -= 8; in idctrow2()
113 x4 = blk[9]; in idctrow2()
[all …]
Dblock_idct.cpp123 static void idctrow(int16 *blk, uint8 *pred, uint8 *dst, int width);
124 static void idctrow_intra(int16 *blk, PIXEL *, int width);
125 static void idctcol(int16 *blk);
510 int16 *blk, uint8 *pred, uint8 *dst, int width in idctrow() argument
535 blk -= 8; in idctrow()
539 x1 = (int32)blk[12] << 8; in idctrow()
540 blk[12] = 0; in idctrow()
541 x2 = blk[14]; in idctrow()
542 blk[14] = 0; in idctrow()
543 x3 = blk[10]; in idctrow()
[all …]
Didct.h48 void idctrow0(int16 *blk, uint8 *pred, uint8 *dst, int width);
49 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width);
50 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width);
51 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width);
52 void idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width);
53 void idctcol0(int16 *blk);
54 void idctcol1(int16 *blk);
55 void idctcol2(int16 *blk);
56 void idctcol3(int16 *blk);
57 void idctcol4(int16 *blk);
[all …]
Didct.cpp122 int *blk, uint8 *comp, int width in idct_intra() argument
145 r1 = blk[B_SIZE * 4 + i] << 11; in idct_intra()
151 r2 = blk[B_SIZE * 6 + i]; in idct_intra()
152 r3 = blk[B_SIZE * 2 + i]; in idct_intra()
153 r4 = blk[B_SIZE * 1 + i]; in idct_intra()
154 r5 = blk[B_SIZE * 7 + i]; in idct_intra()
155 r6 = blk[B_SIZE * 5 + i]; in idct_intra()
156 r7 = blk[B_SIZE * 3 + i]; in idct_intra()
166 a = (blk[B_SIZE * 0 + i]) << 3; in idct_intra()
178 r0 = (blk[8 * 0 + i] << 11) + 128; in idct_intra()
[all …]
Dmp4dec_lib.h95 void BlockIDCT(uint8 *dst, uint8 *pred, int16 *blk, int width, int nzcoefs,
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastidct.cpp65 void idct_col0(Short *blk) in idct_col0() argument
67 OSCL_UNUSED_ARG(blk); in idct_col0()
72 void idct_col1(Short *blk) in idct_col1() argument
74 blk[0] = blk[8] = blk[16] = blk[24] = blk[32] = blk[40] = blk[48] = blk[56] = in idct_col1()
75 blk[0] << 3; in idct_col1()
79 void idct_col2(Short *blk) in idct_col2() argument
83 x1 = blk[8]; in idct_col2()
84 x0 = ((int32)blk[0] << 11) + 128; in idct_col2()
94 blk[0] = (x0 + x1) >> 8; in idct_col2()
95 blk[8] = (x0 + x7) >> 8; in idct_col2()
[all …]
Ddct.h51 void idct_col0(Short *blk);
52 void idct_col1(Short *blk);
53 void idct_col2(Short *blk);
54 void idct_col3(Short *blk);
55 void idct_col4(Short *blk);
56 void idct_col0x40(Short *blk);
57 void idct_col0x20(Short *blk);
58 void idct_col0x10(Short *blk);
61 void idct_row0Inter(Short *blk, UChar *rec, Int lx);
62 void idct_row1Inter(Short *blk, UChar *rec, Int lx);
[all …]
Dsad_mb_offset.h27 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3() argument
29 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3()
31 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin) in sad_mb_offset3()
42 blk -= 16; in sad_mb_offset3()
62 x12 = *((uint32*)(blk += 16)); in sad_mb_offset3()
63 x14 = *((uint32*)(blk + 4)); in sad_mb_offset3()
88 x12 = *((uint32*)(blk + 8)); in sad_mb_offset3()
89 x14 = *((uint32*)(blk + 12)); in sad_mb_offset3()
130 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) in sad_mb_offset3() argument
132 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) in sad_mb_offset3()
[all …]
Dsad_inline.h82 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) in simd_sad_mb() argument
102 blk -= 16; in simd_sad_mb()
110 x12 = *((uint32*)(blk += 16)); in simd_sad_mb()
111 x14 = *((uint32*)(blk + 4)); in simd_sad_mb()
129 x12 = *((uint32*)(blk + 8)); in simd_sad_mb()
130 x14 = *((uint32*)(blk + 12)); in simd_sad_mb()
163 return sad_mb_offset3(ref, blk, lx, dmin); in simd_sad_mb()
167 return sad_mb_offset2(ref, blk, lx, dmin); in simd_sad_mb()
171 return sad_mb_offset1(ref, blk, lx, dmin); in simd_sad_mb()
257 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx)
[all …]
Dmp4enc_lib.h144 Int SAD_MB_HalfPel_Cxhyh(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info);
145 Int SAD_MB_HalfPel_Cyh(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info);
146 Int SAD_MB_HalfPel_Cxh(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info);
147 Int SAD_MB_HalfPel_MMX(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info);
148 Int SAD_MB_HalfPel_SSE(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info);
149 …Int SAD_Blk_HalfPel_C(UChar *ref, UChar *blk, Int dmin, Int lx, Int rx, Int xh, Int yh, void *extr…
150 Int SAD_Blk_HalfPel_MMX(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info);
151 Int SAD_Blk_HalfPel_SSE(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info);
152 Int SAD_Macroblock_C(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info);
153 Int SAD_Macroblock_MMX(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info);
[all …]
Dsad_halfpel.cpp64 Int HalfPel1_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) in HalfPel1_SAD_MB() argument
76 kk = blk; in HalfPel1_SAD_MB()
96 Int HalfPel2_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width) in HalfPel2_SAD_MB() argument
107 kk = blk; in HalfPel2_SAD_MB()
138 Int HalfPel1_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) in HalfPel1_SAD_Blk() argument
150 kk = blk; in HalfPel1_SAD_Blk()
170 Int HalfPel2_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width) in HalfPel2_SAD_Blk() argument
181 kk = blk; in HalfPel2_SAD_Blk()
221 Int SAD_MB_HalfPel_Cxhyh(UChar *ref, UChar *blk, Int dmin_rx, void *extra_info) in SAD_MB_HalfPel_Cxhyh() argument
238 kk = blk; in SAD_MB_HalfPel_Cxhyh()
[all …]
Dsad.cpp78 Int SAD_Macroblock_C(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info) in SAD_Macroblock_C() argument
88 x10 = simd_sad_mb(ref, blk, dmin, lx); in SAD_Macroblock_C()
106 Int SAD_MB_HTFM_Collect(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info) in SAD_MB_HTFM_Collect() argument
122 blk -= 4; in SAD_MB_HTFM_Collect()
126 cur_word = *((ULong*)(blk += 4)); in SAD_MB_HTFM_Collect()
141 cur_word = *((ULong*)(blk += 4)); in SAD_MB_HTFM_Collect()
156 cur_word = *((ULong*)(blk += 4)); in SAD_MB_HTFM_Collect()
171 cur_word = *((ULong*)(blk += 4)); in SAD_MB_HTFM_Collect()
208 Int SAD_MB_HTFM(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info) in SAD_MB_HTFM() argument
225 blk -= 4; in SAD_MB_HTFM()
[all …]
Dmp4lib_int.h238 …Int(*SAD_Blk_HalfPel)(UChar *ref, UChar *blk, Int dmin, Int lx, Int rx, Int xh, Int yh, void *extr…
239 Int(*SAD_Macroblock)(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info);
240 Int(*SAD_Block)(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info);
241 Int(*SAD_MB_PADDING)(UChar *ref, UChar *blk, Int dmin, Int lx, void *extra_info); /*, 4/21/01 */
/frameworks/base/media/libstagefright/codecs/avc/enc/src/
Dsad_mb_offset.h22 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3() argument
24 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3()
26 __inline int32 sad_mb_offset1(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3()
37 blk -= 16; in sad_mb_offset3()
57 x12 = *((uint32*)(blk += 16)); in sad_mb_offset3()
58 x14 = *((uint32*)(blk + 4)); in sad_mb_offset3()
83 x12 = *((uint32*)(blk + 8)); in sad_mb_offset3()
84 x14 = *((uint32*)(blk + 12)); in sad_mb_offset3()
125 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8) in sad_mb_offset3() argument
127 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8) in sad_mb_offset3()
[all …]
Dsad_inline.h77 __inline int32 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) in simd_sad_mb() argument
97 blk -= 16; in simd_sad_mb()
105 x12 = *((uint32*)(blk += 16)); in simd_sad_mb()
106 x14 = *((uint32*)(blk + 4)); in simd_sad_mb()
124 x12 = *((uint32*)(blk + 8)); in simd_sad_mb()
125 x14 = *((uint32*)(blk + 12)); in simd_sad_mb()
158 return sad_mb_offset3(ref, blk, lx, dmin); in simd_sad_mb()
162 return sad_mb_offset2(ref, blk, lx, dmin); in simd_sad_mb()
166 return sad_mb_offset1(ref, blk, lx, dmin); in simd_sad_mb()
252 __inline int32 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx)
[all …]
Dsad_halfpel.cpp68 int AVCSAD_MB_HalfPel_Cxhyh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) in AVCSAD_MB_HalfPel_Cxhyh() argument
85 kk = blk; in AVCSAD_MB_HalfPel_Cxhyh()
109 int AVCSAD_MB_HalfPel_Cyh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) in AVCSAD_MB_HalfPel_Cyh() argument
124 kk = blk; in AVCSAD_MB_HalfPel_Cyh()
145 int AVCSAD_MB_HalfPel_Cxh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) in AVCSAD_MB_HalfPel_Cxh() argument
158 kk = blk; in AVCSAD_MB_HalfPel_Cxh()
181 int AVCAVCSAD_MB_HP_HTFM_Collectxhyh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) in AVCAVCSAD_MB_HP_HTFM_Collectxhyh() argument
201 blk -= 4; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh()
211 cur_word = *((uint32*)(blk += 4)); in AVCAVCSAD_MB_HP_HTFM_Collectxhyh()
263 int AVCAVCSAD_MB_HP_HTFM_Collectyh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) in AVCAVCSAD_MB_HP_HTFM_Collectyh() argument
[all …]
Dsad.cpp62 int AVCSAD_Macroblock_C(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info) in AVCSAD_Macroblock_C() argument
72 x10 = simd_sad_mb(ref, blk, dmin, lx); in AVCSAD_Macroblock_C()
90 int AVCAVCSAD_MB_HTFM_Collect(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info) in AVCAVCSAD_MB_HTFM_Collect() argument
109 blk -= 4; in AVCAVCSAD_MB_HTFM_Collect()
113 cur_word = *((uint32*)(blk += 4)); in AVCAVCSAD_MB_HTFM_Collect()
128 cur_word = *((uint32*)(blk += 4)); in AVCAVCSAD_MB_HTFM_Collect()
143 cur_word = *((uint32*)(blk += 4)); in AVCAVCSAD_MB_HTFM_Collect()
158 cur_word = *((uint32*)(blk += 4)); in AVCAVCSAD_MB_HTFM_Collect()
195 int AVCSAD_MB_HTFM(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info) in AVCSAD_MB_HTFM() argument
212 blk -= 4; in AVCSAD_MB_HTFM()
[all …]
Davcenc_lib.h803 int AVCSAD_MB_HalfPel_Cxhyh(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info);
804 int AVCSAD_MB_HalfPel_Cyh(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info);
805 int AVCSAD_MB_HalfPel_Cxh(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info);
806 int AVCSAD_Macroblock_C(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info);
809 int AVCSAD_MB_HP_HTFM_Collectxhyh(uint8 *ref, uint8 *blk, int dmin_x, void *extra_info);
810 int AVCSAD_MB_HP_HTFM_Collectyh(uint8 *ref, uint8 *blk, int dmin_x, void *extra_info);
811 int AVCSAD_MB_HP_HTFM_Collectxh(uint8 *ref, uint8 *blk, int dmin_x, void *extra_info);
812 int AVCSAD_MB_HP_HTFMxhyh(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info);
813 int AVCSAD_MB_HP_HTFMyh(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info);
814 int AVCSAD_MB_HP_HTFMxh(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info);
[all …]
Davcenc_int.h338 int (*SAD_Macroblock)(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info);
/frameworks/compile/libbcc/helper/
Dsha1.c121 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ macro
126 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30);
127 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30);
128 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30);
129 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);