Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dfindhalfpel.cpp136 uint8 *ref; in GenerateHalfPelPred() local
146 ref = ncand - 3 - lx - (lx << 1); /* move back (-3,-3) */ in GenerateHalfPelPred()
155 tmp32 = *ref++; in GenerateHalfPelPred()
156 tmp8 = *ref++; in GenerateHalfPelPred()
158 tmp8 = *ref++; in GenerateHalfPelPred()
160 tmp8 = *ref++; in GenerateHalfPelPred()
165 ref += (lx - 24); in GenerateHalfPelPred()
169 ref = subpel_pred + 2; in GenerateHalfPelPred()
176 a = ref[-2]; in GenerateHalfPelPred()
177 b = ref[-1]; in GenerateHalfPelPred()
[all …]
Dsad_mb_offset.h24 __inline int32 sad_mb_offset3(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3() argument
26 __inline int32 sad_mb_offset2(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3()
28 __inline int32 sad_mb_offset1(uint8 *ref, uint8 *blk, int lx, int dmin) in sad_mb_offset3()
37 ref -= NUMBER; /* bic ref, ref, #3 */ in sad_mb_offset3()
38 ref -= lx; in sad_mb_offset3()
50 x10 = *((uint32*)(ref += lx)); /* D C B A */ in sad_mb_offset3()
51 x11 = *((uint32*)(ref + 4)); /* H G F E */ in sad_mb_offset3()
52 x12 = *((uint32*)(ref + 8)); /* L K J I */ in sad_mb_offset3()
76 x10 = *((uint32*)(ref + 8)); /* D C B A */ in sad_mb_offset3()
77 x11 = *((uint32*)(ref + 12)); /* H G F E */ in sad_mb_offset3()
[all …]
Dsad_inline.h79 __inline int32 simd_sad_mb(uint8 *ref, uint8 *blk, int dmin, int lx) in simd_sad_mb() argument
85 x8 = (intptr_t)ref & 0x3; in simd_sad_mb()
98 ref -= lx; in simd_sad_mb()
105 x10 = *((uint32*)(ref += lx)); in simd_sad_mb()
106 x11 = *((uint32*)(ref + 4)); in simd_sad_mb()
124 x10 = *((uint32*)(ref + 8)); in simd_sad_mb()
125 x11 = *((uint32*)(ref + 12)); in simd_sad_mb()
160 return sad_mb_offset3(ref, blk, lx, dmin); in simd_sad_mb()
164 return sad_mb_offset2(ref, blk, lx, dmin); in simd_sad_mb()
168 return sad_mb_offset1(ref, blk, lx, dmin); in simd_sad_mb()
[all …]
Dmotion_comp.cpp121 void eLumaMotionComp(uint8 *ref, int picpitch, int picheight, in eLumaMotionComp() argument
141 ref += y_pos * picpitch + x_pos; in eLumaMotionComp()
143 eFullPelMC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight); in eLumaMotionComp()
149 ref += y_pos * picpitch + x_pos; in eLumaMotionComp()
151 eHorzInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dx); in eLumaMotionComp()
156 ref += y_pos * picpitch + x_pos; in eLumaMotionComp()
158 eVertInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dy); in eLumaMotionComp()
163 ref += y_pos * picpitch + x_pos - 2; /* move to the left 2 pixels */ in eLumaMotionComp()
165 eVertInterp2MC(ref, picpitch, &temp2[0][0], 21, blkwidth + 5, blkheight); in eLumaMotionComp()
172 ref += (y_pos - 2) * picpitch + x_pos; /* move to up 2 lines */ in eLumaMotionComp()
[all …]
/frameworks/base/libs/hwui/
DResourceCache.cpp34 ResourceReference* ref = mCache->valueAt(i); in logCache() local
38 i, ref->refCount, ref->destroyed, ref->resourceType); in logCache()
71 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; in incrementRefcountLocked() local
72 if (ref == nullptr || mCache->size() == 0) { in incrementRefcountLocked()
73 ref = new ResourceReference(resourceType); in incrementRefcountLocked()
74 mCache->add(resource, ref); in incrementRefcountLocked()
76 ref->refCount++; in incrementRefcountLocked()
90 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; in decrementRefcountLocked() local
91 if (ref == nullptr) { in decrementRefcountLocked()
95 ref->refCount--; in decrementRefcountLocked()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
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()
40 ref -= NUMBER; /* bic ref, ref, #3 */ in sad_mb_offset3()
41 ref -= lx; in sad_mb_offset3()
53 x10 = *((uint32*)(ref += lx)); /* D C B A */ in sad_mb_offset3()
54 x11 = *((uint32*)(ref + 4)); /* H G F E */ in sad_mb_offset3()
55 x12 = *((uint32*)(ref + 8)); /* L K J I */ in sad_mb_offset3()
79 x10 = *((uint32*)(ref + 8)); /* D C B A */ in sad_mb_offset3()
80 x11 = *((uint32*)(ref + 12)); /* H G F E */ in sad_mb_offset3()
[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
73 p1 = ref; in HalfPel1_SAD_MB()
74 if (ih) p2 = ref + 1; in HalfPel1_SAD_MB()
75 else p2 = ref + width; in HalfPel1_SAD_MB()
96 Int HalfPel2_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width) in HalfPel2_SAD_MB() argument
103 p1 = ref; in HalfPel2_SAD_MB()
104 p2 = ref + 1; in HalfPel2_SAD_MB()
105 p3 = ref + width; in HalfPel2_SAD_MB()
106 p4 = ref + width + 1; 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
[all …]
Dsad_inline.h82 __inline int32 simd_sad_mb(UChar *ref, UChar *blk, Int dmin, Int lx) in simd_sad_mb() argument
88 x8 = (uintptr_t)ref & 0x3; in simd_sad_mb()
101 ref -= lx; in simd_sad_mb()
108 x10 = *((uint32*)(ref += lx)); in simd_sad_mb()
109 x11 = *((uint32*)(ref + 4)); in simd_sad_mb()
127 x10 = *((uint32*)(ref + 8)); in simd_sad_mb()
128 x11 = *((uint32*)(ref + 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()
[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 …]
/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp157 Maybe<Reference> ref = ResourceUtils::parseStyleParentReference(u"@android:style/foo", &errStr); in TEST() local
158 AAPT_ASSERT_TRUE(ref); in TEST()
159 EXPECT_EQ(ref.value().name.value(), kAndroidStyleFooName); in TEST()
161 ref = ResourceUtils::parseStyleParentReference(u"@style/foo", &errStr); in TEST()
162 AAPT_ASSERT_TRUE(ref); in TEST()
163 EXPECT_EQ(ref.value().name.value(), kStyleFooName); in TEST()
165 ref = ResourceUtils::parseStyleParentReference(u"?android:style/foo", &errStr); in TEST()
166 AAPT_ASSERT_TRUE(ref); in TEST()
167 EXPECT_EQ(ref.value().name.value(), kAndroidStyleFooName); in TEST()
169 ref = ResourceUtils::parseStyleParentReference(u"?style/foo", &errStr); in TEST()
[all …]
DStringPool_test.cpp28 StringPool::Ref ref = pool.makeRef(u"wut"); in TEST() local
29 EXPECT_EQ(*ref, u"wut"); in TEST()
35 StringPool::Ref ref = pool.makeRef(u"wut"); in TEST() local
38 EXPECT_EQ(*ref, u"wut"); in TEST()
45 StringPool::Ref ref = pool.makeRef(u"wut"); in TEST() local
48 EXPECT_EQ(*ref, u"wut"); in TEST()
56 StringPool::Ref ref = pool.makeRef(u"z"); in TEST() local
60 EXPECT_EQ(0u, ref.getIndex()); in TEST()
70 StringPool::Ref ref = pool.makeRef(u"wut"); in TEST() local
71 EXPECT_EQ(*ref, u"wut"); in TEST()
[all …]
DValueVisitor_test.cpp32 void visit(Reference* ref) override { in visit()
33 visited = ref; in visit()
43 void visit(Reference* ref) override { in visit()
44 visitedRefs.push_back(ref); in visit()
54 Reference ref(ResourceName{u"android", ResourceType::kAttr, u"foo"}); in TEST() local
56 ref.accept(&visitor); in TEST()
58 EXPECT_EQ(visitor.visited, &ref); in TEST()
77 std::unique_ptr<Reference> ref = test::buildReference(u"@android:color/white"); in TEST() local
78 EXPECT_NE(valueCast<Reference>(ref.get()), nullptr); in TEST()
DStringPool.cpp34 mEntry->ref++; in Ref()
40 mEntry->ref++; in Ref()
46 mEntry->ref--; in ~Ref()
52 rhs.mEntry->ref++; in operator =()
56 mEntry->ref--; in operator =()
83 mEntry->ref++; in StyleRef()
89 mEntry->ref++; in StyleRef()
95 mEntry->ref--; in ~StyleRef()
101 rhs.mEntry->ref++; in operator =()
105 mEntry->ref--; in operator =()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
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],#4
[all …]
/frameworks/rs/
DrsObjectBase.h107 ObjectBaseRef(const ObjectBaseRef &ref) { in ObjectBaseRef() argument
108 mRef = ref.get(); in ObjectBaseRef()
114 ObjectBaseRef(T *ref) { in ObjectBaseRef() argument
115 mRef = ref; in ObjectBaseRef()
117 ref->incSysRef(); in ObjectBaseRef()
121 ObjectBaseRef & operator= (const ObjectBaseRef &ref) {
122 if (&ref != this) {
123 set(ref);
132 void set(T *ref) { in set() argument
133 if (mRef != ref) { in set()
[all …]
/frameworks/base/tools/aapt2/link/
DXmlReferenceLinker_test.cpp103 Reference* ref = valueCast<Reference>(xmlAttr->compiledValue.get()); in TEST_F() local
104 ASSERT_NE(ref, nullptr); in TEST_F()
105 AAPT_ASSERT_TRUE(ref->name); in TEST_F()
106 EXPECT_EQ(ref->name.value(), test::parseNameOrDie(u"@color/green")); // Make sure the name in TEST_F()
108 AAPT_ASSERT_TRUE(ref->id); in TEST_F()
109 EXPECT_EQ(ref->id.value(), ResourceId(0x7f020000)); in TEST_F()
187 Reference* ref = valueCast<Reference>(xmlAttr->compiledValue.get()); in TEST_F() local
188 ASSERT_NE(ref, nullptr); in TEST_F()
189 AAPT_ASSERT_TRUE(ref->name); in TEST_F()
190 AAPT_ASSERT_TRUE(ref->id); in TEST_F()
[all …]
/frameworks/native/opengl/libs/EGL/
Degl_object.h64 egl_object_t* ref; variable
70 explicit LocalRef(egl_display_t const* display, T o) : ref(0) { in LocalRef()
73 ref = native; in LocalRef()
77 return static_cast<N*>(ref); in get()
88 egl_object_t::LocalRef<N, T>::LocalRef(egl_object_t* rhs) : ref(rhs) { in LocalRef()
89 if (ref) { in LocalRef()
90 ref->incRef(); in LocalRef()
96 if (ref) { in ~LocalRef()
97 ref->destroy(); in ~LocalRef()
103 if (ref) { in acquire()
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
Dh264bsdFillRow7.S26 #define ref r0 macro
54 LDRB tmp1, [ref,#0]
77 VLD1.8 {qTmp0, qTmp1}, [ref]!
83 VLD1.8 {dTmp0,dTmp1,dTmp2}, [ref]!
85 LDR tmp2, [ref], #4
90 VLD1.8 {dTmp0,dTmp1,dTmp2}, [ref]!
95 VLD1.8 {qTmp0}, [ref]!
97 LDR tmp2, [ref], #4
102 VLD1.8 {qTmp0}, [ref]!
107 VLD1.8 {dTmp0}, [ref]!
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
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
150 MLA ref, tmp6, width, ref
151 ADD ref, ref, #8 ;// ref = ref+8
176 LDR x_3_1, [ref, #-8]
178 LDR x_7_5, [ref, #-4]
194 LDR x_3_1, [ref], #4
230 LDR x_7_5, [ref], #4
[all …]
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], width ;// |m4|m3|m2|m1|
154 LDR tmp5, [ref], width ;// |r4|r3|r2|r1|
155 LDR tmp6, [ref], width ;// |t4|t3|t2|t1|
188 LDR tmp1, [ref], width
[all …]
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], width ;// |m4|m3|m2|m1|
155 LDR tmp5, [ref], width ;// |r4|r3|r2|r1|
156 LDR tmp6, [ref], width ;// |t4|t3|t2|t1|
198 LDR tmp1, [ref], width ;// load next row
[all …]
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+8
160 LDR x_3_1, [ref, #-8]
162 LDR x_7_5, [ref, #-4]
178 LDR x_3_1, [ref], #4
202 LDR tmp3, [ref, tmp4]
224 LDR x_7_5, [ref], #4
248 LDR tmp3, [ref, tmp4]
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_reconstruct.c303 u8 *ref, in h264bsdInterpolateChromaHorVer() argument
326 ASSERT(ref); in h264bsdInterpolateChromaHorVer()
331 h264bsdFillBlock(ref, block, x0, y0, width, height, in h264bsdInterpolateChromaHorVer()
333 ref += width * height; in h264bsdInterpolateChromaHorVer()
334 h264bsdFillBlock(ref, block + (chromaPartWidth+1)*(chromaPartHeight+1), in h264bsdInterpolateChromaHorVer()
338 ref = block; in h264bsdInterpolateChromaHorVer()
351 ptrA = ref + (comp * height + (u32)y0) * width + x0; in h264bsdInterpolateChromaHorVer()
430 u8 *ref; in PredictChroma() local
450 ref = refPic->data + 256 * refPic->width * refPic->height; in PredictChroma()
454 h264bsdInterpolateChromaHorVer(ref, mbPartChroma, xInt, yInt, width, in PredictChroma()
[all …]
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 …]
/frameworks/base/core/java/android/security/net/config/
DNetworkSecurityConfig.java83 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { in getTrustAnchors()
84 Set<TrustAnchor> anchors = ref.getTrustAnchors(); in getTrustAnchors()
122 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { in findTrustAnchorBySubjectAndPublicKey()
123 TrustAnchor anchor = ref.findBySubjectAndPublicKey(cert); in findTrustAnchorBySubjectAndPublicKey()
133 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { in findTrustAnchorByIssuerAndSignature()
134 TrustAnchor anchor = ref.findByIssuerAndSignature(cert); in findTrustAnchorByIssuerAndSignature()
145 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { in findAllCertificatesByIssuerAndSignature()
146 certs.addAll(ref.findAllCertificatesByIssuerAndSignature(cert)); in findAllCertificatesByIssuerAndSignature()
154 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { in handleTrustStorageUpdate()
155 ref.handleTrustStorageUpdate(); in handleTrustStorageUpdate()
[all …]

12345678910>>...12