Searched defs:ref (Results 1 - 25 of 57) sorted by relevance

123

/frameworks/compile/mclinker/unittests/
H A DFragmentRefTest.cpp53 FragmentRef *ref = new FragmentRef(*frag); local
59 ASSERT_EQ(frag, ref->frag());
60 ASSERT_EQ('H', static_cast<RegionFragment*>(ref->frag())->getRegion().getBuffer()[0]);
61 ASSERT_EQ(4096, static_cast<RegionFragment*>(ref->frag())->getRegion().size());
62 ASSERT_EQ('H', ref->deref()[0]);
66 delete ref;
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dsad_mb_offset.h24 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) argument
26 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin)
28 __inline int32 sad_mb_offset1(uint8 *ref, uint8 *blk, int lx, int dmin)
37 ref -= NUMBER; /* bic ref, ref, #3 */
38 ref -= lx;
50 x10 = *((uint32*)(ref += lx)); /* D C B A */
51 x11 = *((uint32*)(ref + 4)); /* H G F E */
52 x12 = *((uint32*)(ref
127 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin, int32 x8) argument
148 BIC ref, ref, #3; local
219 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) argument
[all...]
H A Dsad.cpp45 int AVCSAD_Macroblock_C(uint8 *ref,uint8 *blk,int dmin,int lx,void *extra_info)
46 int AVCSAD_MB_HTFM_Collect(uint8 *ref,uint8 *blk,int dmin,int lx,void *extra_info)
47 int AVCSAD_MB_HTFM(uint8 *ref,uint8 *blk,int dmin,int lx,void *extra_info)
54 Purpose: Compute SAD 16x16 between blk and ref.
62 int AVCSAD_Macroblock_C(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info) argument
72 x10 = simd_sad_mb(ref, blk, dmin, lx);
90 int AVCAVCSAD_MB_HTFM_Collect(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info) argument
112 p1 = ref + offsetRef[i];
195 int AVCSAD_MB_HTFM(uint8 *ref, uint8 *blk, int dmin_lx, void *extra_info) argument
215 p1 = ref
[all...]
H A Dsad_inline.h79 __inline int32 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) argument
85 x8 = (intptr_t)ref & 0x3;
98 ref -= lx;
105 x10 = *((uint32*)(ref += lx));
106 x11 = *((uint32*)(ref + 4));
124 x10 = *((uint32*)(ref + 8));
125 x11 = *((uint32*)(ref + 12));
160 return sad_mb_offset3(ref, blk, lx, dmin);
164 return sad_mb_offset2(ref, blk, lx, dmin);
168 return sad_mb_offset1(ref, bl
254 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) argument
263 MOVS x8, ref, lsl #31 ; local
428 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) argument
[all...]
H A Dfindhalfpel.cpp149 uint8 *ref; local
160 ref = ncand - 3 - lx - (lx << 1); /* move back (-3,-3) */
169 tmp32 = *ref++;
170 tmp8 = *ref++;
172 tmp8 = *ref++;
174 tmp8 = *ref++;
179 ref += (lx - 24);
183 ref = subpel_pred + 2;
190 a = ref[-2];
191 b = ref[
458 VertInterpWClip(uint8 *dst, uint8 *ref) argument
[all...]
H A Dsad_halfpel.cpp19 int AVCHalfPel1_SAD_MB(uint8 *ref,uint8 *blk,int dmin,int width,int ih,int jh)
20 int AVCHalfPel2_SAD_MB(uint8 *ref,uint8 *blk,int dmin,int width)
21 int AVCHalfPel1_SAD_Blk(uint8 *ref,uint8 *blk,int dmin,int width,int ih,int jh)
22 int AVCHalfPel2_SAD_Blk(uint8 *ref,uint8 *blk,int dmin,int width)
24 int AVCSAD_MB_HalfPel_C(uint8 *ref,uint8 *blk,int dmin,int width,int rx,int xh,int yh,void *extra_info)
25 int AVCSAD_MB_HP_HTFM_Collect(uint8 *ref,uint8 *blk,int dmin,int width,int rx,int xh,int yh,void *extra_info)
26 int AVCSAD_MB_HP_HTFM(uint8 *ref,uint8 *blk,int dmin,int width,int rx,int xh,int yh,void *extra_info)
27 int AVCSAD_Blk_HalfPel_C(uint8 *ref,uint8 *blk,int dmin,int width,int rx,int xh,int yh,void *extra_info)
63 Purpose: Compute SAD 16x16 between blk and ref in halfpel
68 int AVCSAD_MB_HalfPel_Cxhyh(uint8 *ref, uint argument
109 AVCSAD_MB_HalfPel_Cyh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) argument
145 AVCSAD_MB_HalfPel_Cxh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) argument
181 AVCAVCSAD_MB_HP_HTFM_Collectxhyh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) argument
263 AVCAVCSAD_MB_HP_HTFM_Collectyh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) argument
344 AVCAVCSAD_MB_HP_HTFM_Collectxh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) argument
424 AVCSAD_MB_HP_HTFMxhyh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) argument
492 AVCSAD_MB_HP_HTFMyh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) argument
558 AVCSAD_MB_HP_HTFMxh(uint8 *ref, uint8 *blk, int dmin_rx, void *extra_info) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dsad_mb_offset.h27 __inline int32 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) argument
29 __inline int32 sad_mb_offset2(UChar *ref, UChar *blk, Int lx, Int dmin)
31 __inline int32 sad_mb_offset1(UChar *ref, UChar *blk, Int lx, Int dmin)
40 ref -= NUMBER; /* bic ref, ref, #3 */
41 ref -= lx;
53 x10 = *((uint32*)(ref += lx)); /* D C B A */
54 x11 = *((uint32*)(ref + 4)); /* H G F E */
55 x12 = *((uint32*)(ref
130 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin, int32 x8) argument
144 BIC ref, ref, #3; local
223 sad_mb_offset3(UChar *ref, UChar *blk, Int lx, Int dmin) argument
[all...]
H A Dsad.cpp47 Int SAD_Macroblock_C(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
48 Int SAD_MB_HTFM_Collect(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
49 Int SAD_MB_HTFM(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
50 Int SAD_Block_C(UChar *ref,UChar *blk,Int dmin,Int lx,void *extra_info)
51 Int SAD_Blk_PADDING(UChar *ref,UChar *cur,Int dmin,Int lx,void *extra_info)
52 Int SAD_MB_PADDING(UChar *ref,UChar *cur,Int dmin,Int lx,void *extra_info)
53 Int SAD_MB_PAD1(UChar *ref,UChar *cur,Int dmin,Int lx,Int *rep);
54 Int SAD_MB_PADDING_HTFM_Collect(UChar *ref,UChar *cur,Int dmin,Int lx,void *extra_info)
55 Int SAD_MB_PADDING_HTFM(UChar *ref,UChar *cur,Int dmin,Int lx,void *vptr)
64 Int SAD_MB_PAD1(UChar *ref, UCha
78 SAD_Macroblock_C(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info) argument
106 SAD_MB_HTFM_Collect(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info) argument
208 SAD_MB_HTFM(UChar *ref, UChar *blk, Int dmin_lx, void *extra_info) argument
314 SAD_Block_C(UChar *ref, UChar *blk, Int dmin, Int lx, void *) argument
[all...]
H A Dsad_halfpel.cpp19 Int HalfPel1_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh)
20 Int HalfPel2_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width)
21 Int HalfPel1_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh)
22 Int HalfPel2_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width)
24 Int SAD_MB_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
25 Int SAD_MB_HP_HTFM_Collect(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
26 Int SAD_MB_HP_HTFM(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
27 Int SAD_Blk_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info)
59 Purpose: Compute SAD 16x16 between blk and ref in halfpel
64 Int HalfPel1_SAD_MB(UChar *ref, UCha argument
96 HalfPel2_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width) argument
138 HalfPel1_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) argument
170 HalfPel2_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width) argument
221 SAD_MB_HalfPel_Cxhyh(UChar *ref, UChar *blk, Int dmin_rx, void *extra_info) argument
262 SAD_MB_HalfPel_Cyh(UChar *ref, UChar *blk, Int dmin_rx, void *extra_info) argument
298 SAD_MB_HalfPel_Cxh(UChar *ref, UChar *blk, Int dmin_rx, void *extra_info) argument
335 SAD_MB_HP_HTFM_Collectxhyh(UChar *ref, UChar *blk, Int dmin_rx, void *extra_info) argument
414 SAD_MB_HP_HTFM_Collectyh(UChar *ref, UChar *blk, Int dmin_rx, void *extra_info) argument
492 SAD_MB_HP_HTFM_Collectxh(UChar *ref, UChar *blk, Int dmin_rx, void *extra_info) argument
569 SAD_MB_HP_HTFMxhyh(UChar *ref, UChar *blk, Int dmin_rx, void *extra_info) argument
637 SAD_MB_HP_HTFMyh(UChar *ref, UChar *blk, Int dmin_rx, void *extra_info) argument
703 SAD_MB_HP_HTFMxh(UChar *ref, UChar *blk, Int dmin_rx, void *extra_info) argument
780 SAD_Blk_HalfPel_C(UChar *ref, UChar *blk, Int dmin, Int width, Int rx, Int xh, Int yh, void *extra_info) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_mid_hor.s35 ref RN 0 ;// pointer to current position in reference image label
83 LDR x_3_1, [ref, #-8]
85 LDR x_7_5, [ref, #-4]
101 LDR x_3_1, [ref], #4
132 LDR x_7_5, [ref], #4
155 SMLABB ref, count, mult_20_01, ref ;// +width
156 SBC ref, ref, tmp3, LSR #16 ;// -(partWidth-1)-1
H A Dh264bsd_interpolate_hor_half.s33 ref RN 0 label
125 ADD ref,sp,#0x28 ;// ref = p1
134 ADD ref, ref, tmp2 ;// ref += y0*width+x0
135 ADD ref, ref, #8 ;// ref = ref
[all...]
H A Dh264bsd_interpolate_hor_quarter.s33 ref RN 0 label
127 ADD ref,sp,#0x28 ;// ref = p1
136 ADD ref, ref, tmp2 ;// ref += y0*width+x0
137 ADD ref, ref, #8 ;// ref = ref
[all...]
H A Dh264bsd_interpolate_ver_half.s33 ref RN 0 label
126 ADD ref,sp,#0x28 ;// ref = p1
135 ADD ref, ref, tmp6 ;// ref += y0*width+x0
150 LDR tmp1, [ref], width ;// |a4|a3|a2|a1|
151 LDR tmp2, [ref], width ;// |c4|c3|c2|c1|
152 LDR tmp3, [ref], width ;// |g4|g3|g2|g1|
153 LDR tmp4, [ref], widt
[all...]
H A Dh264bsd_interpolate_ver_quarter.s32 ref RN 0 label
125 ADD ref,sp,#0x28 ;// ref = p1
134 ADD ref, ref, tmp6 ;// ref += y0*width+x0
151 LDR tmp1, [ref], width ;// |a4|a3|a2|a1|
152 LDR tmp2, [ref], width ;// |c4|c3|c2|c1|
153 LDR tmp3, [ref], width ;// |g4|g3|g2|g1|
154 LDR tmp4, [ref], widt
[all...]
H A Dh264bsd_interpolate_chroma_hor.s34 ref RN 0 label
78 ;// u8 *ref, : 0xc4
121 LDR ref, [sp, #0xc4] ;// ref
124 MLA ref, height, width, ref ;// ref += width * height;
132 ADD ref, sp, #0x1c ;// ref = block
133 STR ref, [s
[all...]
H A Dh264bsd_interpolate_chroma_hor_ver.s35 ref RN 0 label
79 ;// u8 *ref, : 0xc4
126 LDR ref, [sp, #0xc4] ;// ref
129 MLA ref, height, width, ref ;// ref += width * height;
137 ADD ref, sp, #0x1c ;// ref = block
138 STR ref, [s
[all...]
H A Dh264bsd_interpolate_chroma_ver.s33 ref RN 0 label
77 ;// u8 *ref, : 0xc4
120 LDR ref, [sp, #0xc4] ;// ref
123 MLA ref, height, width, ref ;// ref += width * height;
131 ADD ref, sp, #0x1c ;// ref = block
132 STR ref, [s
[all...]
H A Dh264bsd_interpolate_hor_ver_quarter.s34 ref RN 0 label
134 ADD ref,sp,#0x28 ;// ref = p1
145 ADD ref, ref, tmp5 ;// ref += y0*width+x0
146 STR ref, [sp, #0x1e4] ;// store "ref" for vertical filtering
147 AND tmp6, tmp6, #2 ;// calculate ref for horizontal filter
150 MLA ref, tmp
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
H A Dh264bsdFillRow7.s26 ref RN 0 label
63 LDRB tmp1, [ref,#0]
85 ; LDR tmp2, [ref], #4
89 ; LDR tmp2, [ref], #4
93 ; LDR tmp2, [ref], #4
97 ; LDR tmp2, [ref], #4
101 ; LDR tmp2, [ref],#4
105 ; LDR tmp2, [ref],#4
109 ; LDR tmp2, [ref],#4
113 ; LDR tmp2, [ref],#
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dh264bsdFillRow7.S26 #define ref r0 define
44 void h264bsdFillRow7(const u8 * ref, u8 * fill, i32 left, i32 center,
54 LDRB tmp1, [ref,#0]
77 VLD1 {qTmp0, qTmp1}, [ref]!
83 VLD1 {dTmp0,dTmp1,dTmp2}, [ref]!
85 LDR tmp2, [ref], #4
90 VLD1 {dTmp0,dTmp1,dTmp2}, [ref]!
95 VLD1 {qTmp0}, [ref]!
97 LDR tmp2, [ref], #4
102 VLD1 {qTmp0}, [ref]!
[all...]
/frameworks/rs/
H A DrsObjectBase.cpp42 //ALOGV("~ObjectBase %p ref %i,%i", this, mUserRefCount, mSysRefCount);
73 //ALOGV("ObjectBase %p incU ref %i, %i", this, mUserRefCount, mSysRefCount);
78 //ALOGV("ObjectBase %p incS ref %i, %i", this, mUserRefCount, mSysRefCount);
88 bool ObjectBase::checkDelete(const ObjectBase *ref) { argument
89 if (!ref) {
95 // the ref counts. At this point we should be the only thread
97 if (ref->mUserRefCount || ref->mSysRefCount) {
102 ref->remove();
105 ref
[all...]
H A DrsObjectBase.h105 ObjectBaseRef(const ObjectBaseRef &ref) { argument
106 mRef = ref.get();
112 ObjectBaseRef(T *ref) { argument
113 mRef = ref;
115 ref->incSysRef();
119 ObjectBaseRef & operator= (const ObjectBaseRef &ref) { argument
120 if (&ref != this) {
121 set(ref);
130 void set(T *ref) { argument
131 if (mRef != ref) {
140 set(const ObjectBaseRef &ref) argument
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsObjectBase.cpp42 //ALOGV("~ObjectBase %p ref %i,%i", this, mUserRefCount, mSysRefCount);
73 //ALOGV("ObjectBase %p incU ref %i, %i", this, mUserRefCount, mSysRefCount);
78 //ALOGV("ObjectBase %p incS ref %i, %i", this, mUserRefCount, mSysRefCount);
88 bool ObjectBase::checkDelete(const ObjectBase *ref) { argument
89 if (!ref) {
95 // the ref counts. At this point we should be the only thread
97 if (ref->mUserRefCount || ref->mSysRefCount) {
102 ref->remove();
105 ref
[all...]
H A DrsObjectBase.h105 ObjectBaseRef(const ObjectBaseRef &ref) { argument
106 mRef = ref.get();
112 ObjectBaseRef(T *ref) { argument
113 mRef = ref;
115 ref->incSysRef();
119 ObjectBaseRef & operator= (const ObjectBaseRef &ref) { argument
120 if (&ref != this) {
121 set(ref);
130 void set(T *ref) { argument
131 if (mRef != ref) {
140 set(const ObjectBaseRef &ref) argument
[all...]
/frameworks/base/libs/hwui/
H A DResourceCache.cpp31 ResourceReference* ref = mCache->valueAt(i); local
32 ALOGD(" ResourceCache: mCache(%d): resource, ref = 0x%p, 0x%p",
35 i, ref->refCount, ref->recycled, ref->destroyed, ref->resourceType);
88 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local
89 if (ref == NULL || mCache->size() == 0) {
90 ref = new ResourceReference(resourceType);
91 mCache->add(resource, ref);
151 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local
193 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local
215 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local
237 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local
256 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local
288 ResourceReference* ref = mCache->valueAt(index); local
306 deleteResourceReferenceLocked(void* resource, ResourceReference* ref) argument
[all...]

Completed in 339 milliseconds

123