Searched refs:ref (Results 1 - 25 of 156) sorted by relevance

1234567

/frameworks/rs/
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...]
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...]
/frameworks/support/renderscript/v8/rs_support/
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...]
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...]
/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...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
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_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_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 Dmotion_comp.cpp121 void eLumaMotionComp(uint8 *ref, int picpitch, int picheight, argument
141 ref += y_pos * picpitch + x_pos;
143 eFullPelMC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight);
149 ref += y_pos * picpitch + x_pos;
151 eHorzInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dx);
156 ref += y_pos * picpitch + x_pos;
158 eVertInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dy);
163 ref += y_pos * picpitch + x_pos - 2; /* move to the left 2 pixels */
165 eVertInterp2MC(ref, picpitch, &temp2[0][0], 21, blkwidth + 5, blkheight);
172 ref
190 eCreateAlign(uint8 *ref, int picpitch, int y_pos, uint8 *out, int blkwidth, int blkheight) argument
1697 ePadChroma(uint8 *ref, int picwidth, int picheight, int picpitch, int x_pos, int y_pos) argument
1805 eChromaMotionComp(uint8 *ref, int picwidth, int picheight, int x_pos, int y_pos, uint8 *pred, int picpitch, int blkwidth, int blkheight) argument
1838 uint8 *ref, *out; local
1931 uint8 *ref, *out; local
1981 uint8 *ref, *out; local
[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_inline.h82 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) argument
88 x8 = (uint32)ref & 0x3;
101 ref -= lx;
108 x10 = *((uint32*)(ref += lx));
109 x11 = *((uint32*)(ref + 4));
127 x10 = *((uint32*)(ref + 8));
128 x11 = *((uint32*)(ref + 12));
163 return sad_mb_offset3(ref, blk, lx, dmin);
167 return sad_mb_offset2(ref, blk, lx, dmin);
171 return sad_mb_offset1(ref, bl
257 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) argument
266 MOVS x8, ref, lsl #31 ; local
446 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) argument
[all...]
H A 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 *extra_info);
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, UCha
[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/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/native/opengl/libs/EGL/
H A Degl_object.h65 egl_object_t* ref; member in class:android::egl_object_t::LocalRef
71 explicit LocalRef(egl_display_t const* display, T o) : ref(0) {
74 ref = native;
78 return static_cast<N*>(ref);
89 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) {
90 if (ref) {
91 ref->incRef();
97 if (ref) {
98 ref->destroy();
104 if (ref) {
[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/native/libs/utils/
H A DRefBase.cpp105 char inc = refs->ref >= 0 ? '+' : '-';
106 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref);
123 char inc = refs->ref >= 0 ? '+' : '-';
124 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref);
221 int32_t ref; member in struct:android::RefBase::weakref_impl::ref_entry
229 ref_entry* ref = new ref_entry; local
233 ref->ref
249 ref_entry* ref = head; local
287 ref_entry* ref = r; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.h72 u8 * ref,
105 u8 *ref,
117 u8 *ref,
127 u8 *ref,
138 u8 *ref,
148 u8 *ref,
159 u8 *ref,
170 u8 *ref,
180 u8 *ref,
191 u8 *ref,
[all...]
H A Dh264bsd_reconstruct.c295 image (ref) is read at correct position and the predicted part
301 u8 *ref,
324 ASSERT(ref);
329 h264bsdFillBlock(ref, block, x0, y0, width, height,
331 ref += width * height;
332 h264bsdFillBlock(ref, block + (chromaPartWidth+1)*(chromaPartHeight+1),
336 ref = block;
349 ptrA = ref + (comp * height + (u32)y0) * width + x0;
428 u8 *ref; local
448 ref
300 h264bsdInterpolateChromaHorVer( u8 *ref, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument
489 h264bsdInterpolateVerHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
607 h264bsdInterpolateVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument
741 h264bsdInterpolateHorHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
864 h264bsdInterpolateHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument
1002 h264bsdInterpolateHorVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horVerOffset) argument
1208 h264bsdInterpolateMidHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument
1394 h264bsdInterpolateMidVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument
1598 h264bsdInterpolateMidHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument
1983 u8 *partData, *ref; local
2132 FillRow1( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument
2167 h264bsdFillRow7( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument
2219 h264bsdFillBlock( u8 *ref, u8 *fill, i32 x0, i32 y0, u32 width, u32 height, u32 blockWidth, u32 blockHeight, u32 fillScanLength) argument
[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/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
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_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_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...]
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_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

Completed in 247 milliseconds

1234567