Home
last modified time | relevance | path

Searched refs:br (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp33 unsigned parseUE(ABitReader *br) { in parseUE() argument
35 while (br->getBits(1) == 0) { in parseUE()
39 unsigned x = br->getBits(numZeroes); in parseUE()
44 unsigned parseUEWithFallback(ABitReader *br, unsigned fallback) { in parseUEWithFallback() argument
46 while (br->getBitsWithFallback(1, 1) == 0) { in parseUEWithFallback()
51 if (br->getBitsGraceful(numZeroes, &x)) { in parseUEWithFallback()
57 br->skipBits(numZeroes); in parseUEWithFallback()
62 signed parseSE(ABitReader *br) { in parseSE() argument
63 unsigned codeNum = parseUE(br); in parseSE()
68 signed parseSEWithFallback(ABitReader *br, signed fallback) { in parseSEWithFallback() argument
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp68 unsigned pid, ABitReader *br, status_t *err);
78 ABitReader *br, status_t *err, SyncEvent *event);
133 status_t parseProgramMap(ABitReader *br);
136 ABitReader *br, unsigned infoLength, CADescriptor *caDescriptor);
166 ABitReader *br,
234 uint32_t getPesScramblingControl(ABitReader *br, int32_t *pesOffset);
238 status_t parsePES(ABitReader *br, SyncEvent *event);
313 unsigned pid, ABitReader *br, status_t *err) { in parsePSISection() argument
320 *err = parseProgramMap(br); in parsePSISection()
330 ABitReader *br, status_t *err, SyncEvent *event) { in parsePID() argument
[all …]
DATSParser.h222 void parseProgramAssociationTable(ABitReader *br);
223 void parseProgramMap(ABitReader *br);
227 void parsePES(ABitReader *br, SyncEvent *event);
235 ABitReader *br, unsigned PID,
243 ABitReader *br, unsigned PID, unsigned *random_access_indicator);
246 status_t parseTS(ABitReader *br, SyncEvent *event);
/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp123 uint32_t br[32]; in binderTestReadEmpty() local
126 bwr.read_buffer = (uintptr_t)br; in binderTestReadEmpty()
127 bwr.read_size = sizeof(br); in binderTestReadEmpty()
132 EXPECT_EQ(BR_NOOP, br[i]); in binderTestReadEmpty()
260 } __attribute__((packed)) br; in TEST_F() local
265 bwr.read_buffer = (uintptr_t)&br; in TEST_F()
266 bwr.read_size = sizeof(br); in TEST_F()
273 if (bwr.read_consumed < offsetof(typeof(br), pad)) { in TEST_F()
278 EXPECT_EQ(offsetof(typeof(br), pad), bwr.read_consumed); in TEST_F()
279 if (bwr.read_consumed > offsetof(typeof(br), cmd0)) in TEST_F()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp255 NALBitReader br(data + 1, size - 1); in parseSEINalUnit() local
258 while (br.atLeastNumBitsLeft(16)) { // at least 16-bit for sei_message() in parseSEINalUnit()
264 last_byte = br.getBits(8); in parseSEINalUnit()
269 last_byte = br.getBits(8); in parseSEINalUnit()
274 || !br.atLeastNumBitsLeft(payload_size * 8)) { in parseSEINalUnit()
286 uint8_t itu_t_t35_country_code = br.getBits(8); in parseSEINalUnit()
287 uint16_t itu_t_t35_provider_code = br.getBits(16); in parseSEINalUnit()
288 uint32_t user_identifier = br.getBits(32); in parseSEINalUnit()
289 uint8_t user_data_type_code = br.getBits(8); in parseSEINalUnit()
300 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8); in parseSEINalUnit()
[all …]
/frameworks/rs/script_api/
Drs_value_types.spec46 For example, with <code>int4 myVar;</code> the following are equivalent:<code><br/>
47 myVar.x == myVar.r == myVar.s0 == myVar.S0<br/>
48 myVar.y == myVar.g == myVar.s1 == myVar.S1<br/>
49 myVar.z == myVar.b == myVar.s2 == myVar.S2<br/>
63 Here are examples of what can or can't be done:<code><br/>
64 float4 v4;<br/>
65 float3 v3;<br/>
66 float2 v2;<br/>
67 v2 = v4.xx; // Valid<br/>
68 v3 = v4.zxw; // Valid<br/>
[all …]
Drs_for_each.spec122 E.g.<code><br/>
123 float __attribute__((kernel)) square(float a) {<br/>
124 &nbsp;&nbsp;return a * a;<br/>
125 }<br/>
126 <br/>
127 void compute(rs_allocation ain, rs_allocation aout) {<br/>
128 &nbsp;&nbsp;rsForEach(square, ain, aout);<br/>
129 }<br/>
130 <br/></code>
206 E.g.,<code><br/>
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
Davc_utils.h52 unsigned parseUE(ABitReader *br);
56 signed parseSE(ABitReader *br);
61 unsigned parseUEWithFallback(ABitReader *br, unsigned fallback);
66 signed parseSEWithFallback(ABitReader *br, signed fallback);
69 inline void skipUE(ABitReader *br) { in skipUE() argument
70 (void)parseUEWithFallback(br, 0U); in skipUE()
74 inline void skipSE(ABitReader *br) { in skipSE() argument
75 (void)parseSEWithFallback(br, 0); in skipSE()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dchvr_filter.cpp36 int br, bc, incr, mbr, mbc; in CombinedHorzVertRingFilter() local
84 for (br = mbr + 1; br < mbr + 3; br++) /* br is the row counter in blocks */ in CombinedHorzVertRingFilter()
95 if (br < pp_h && bc < pp_w) in CombinedHorzVertRingFilter()
248 for (br = mbr; br < mbr + 2; br++) /* br is the row counter in blocks */ in CombinedHorzVertRingFilter()
254 if (br < pp_h && bc < pp_w) in CombinedHorzVertRingFilter()
405 for (br = mbr; br < mbr + 2; br++) in CombinedHorzVertRingFilter()
411 if (br < pp_h && bc < pp_w) in CombinedHorzVertRingFilter()
421 if (br > 0 && bc > 0 && br < pp_h - 1 && bc < pp_w - 1) in CombinedHorzVertRingFilter()
463 v0 = (br << 3) - 1; in CombinedHorzVertRingFilter()
478 if (br > 0 && br < pp_h - 1) in CombinedHorzVertRingFilter()
[all …]
Dchv_filter.cpp188 int br, bc, mbr, mbc; in CombinedHorzVertFilter() local
211 for (br = mbr + 1; br < mbr + 3; br++) /* 2x2 blocks */ in CombinedHorzVertFilter()
215 if (br < pp_h) /* boundary : don't do it on the lowest row block */ in CombinedHorzVertFilter()
329 for (br = mbr; br < mbr + 2; br++) in CombinedHorzVertFilter()
331 if (br < pp_h) in CombinedHorzVertFilter()
465 int br, bc, mbr, mbc; in CombinedHorzVertFilter_NoSoftDeblocking() local
488 for (br = mbr + 1; br < mbr + 3; br++) /* 2x2 blocks */ in CombinedHorzVertFilter_NoSoftDeblocking()
492 if (br < pp_h) /* boundary : don't do it on the lowest row block */ in CombinedHorzVertFilter_NoSoftDeblocking()
568 for (br = mbr; br < mbr + 2; br++) in CombinedHorzVertFilter_NoSoftDeblocking()
570 if (br < pp_h) in CombinedHorzVertFilter_NoSoftDeblocking()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastDispatcher.java64 void add(BroadcastRecord br) { in add() argument
65 broadcasts.add(br); in add()
77 for (BroadcastRecord br : broadcasts) { in dumpDebug()
78 br.dumpDebug(proto, fieldId); in dumpDebug()
83 for (BroadcastRecord br : broadcasts) { in dumpLocked()
84 d.dump(br); in dumpLocked()
139 void dump(BroadcastRecord br) { in dump() argument
140 if (mDumpPackage == null || mDumpPackage.equals(br.callerPackage)) { in dump()
152 br.dump(mPw, " ", mSdf); in dump()
405 for (BroadcastRecord br : list) { in cleanupBroadcastListDisabledReceiversLocked()
[all …]
DBroadcastQueue.java334 final BroadcastRecord br = mPendingBroadcast; in sendPendingBroadcastsLocked() local
335 if (br != null && br.curApp.pid > 0 && br.curApp.pid == app.pid) { in sendPendingBroadcastsLocked()
336 if (br.curApp != app) { in sendPendingBroadcastsLocked()
338 + app.processName + ", intended target is " + br.curApp.processName); in sendPendingBroadcastsLocked()
343 processCurBroadcastLocked(br, app, false); in sendPendingBroadcastsLocked()
347 + br.curComponent.flattenToShortString(), e); in sendPendingBroadcastsLocked()
348 logBroadcastReceiverDiscardLocked(br); in sendPendingBroadcastsLocked()
349 finishReceiverLocked(br, br.resultCode, br.resultData, in sendPendingBroadcastsLocked()
350 br.resultExtras, br.resultAbort, false); in sendPendingBroadcastsLocked()
353 br.state = BroadcastRecord.IDLE; in sendPendingBroadcastsLocked()
[all …]
/frameworks/base/core/tests/coretests/BinderProxyCountingTestApp/src/com/android/frameworks/coretests/binderproxycountingtestapp/
DBpcTestAppCmdService.java59 BroadcastReceiver br = new BroadcastReceiver() {
67 mBrList.add(br);
69 registerReceiver(br, filt);
77 BroadcastReceiver br;
79 br = mBrList.remove(0);
81 unregisterReceiver(br);
/frameworks/compile/libbcc/tests/libbcc/
Dtest_reduce_general_cleanup.ll98 br i1 %3, label %4, label %6
104 br label %6
110 br i1 %9, label %10, label %12
116 br label %12
160 br i1 %1, label %2, label %3
164 br label %3
174 br i1 %2, label %3, label %4
178 br label %4
193 br i1 %1, label %2, label %5
199 br label %5
[all …]
Dtest_reduce_general_metadata.ll103 br i1 %3, label %4, label %6
109 br label %6
115 br i1 %9, label %10, label %12
121 br label %12
165 br i1 %1, label %2, label %3
169 br label %3
179 br i1 %2, label %3, label %4
183 br label %4
205 br i1 %1, label %2, label %5
211 br label %5
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_advsimd_ColorMatrix.S90 br x5
107 br x5
125 br x6
142 br x6
160 br x7
177 br x7
195 br x8
212 br x8
226 br x5
240 br x5
[all …]
/frameworks/native/opengl/tools/glgen/src/
DGenerateGLES.java27 BufferedReader br = new BufferedReader(new FileReader(filename)); in copy() local
29 while ((s = br.readLine()) != null) { in copy()
57 BufferedReader br = in emit() local
60 while ((nfunc = br.readLine()) != null) { in emit()
DGenerateEGL.java27 BufferedReader br = new BufferedReader(new FileReader(filename)); in copy() local
29 while ((s = br.readLine()) != null) { in copy()
58 BufferedReader br = in emit() local
61 while ((nfunc = br.readLine()) != null) { in emit()
DGenerateGL.java27 BufferedReader br = new BufferedReader(new FileReader(filename)); in copy() local
29 while ((s = br.readLine()) != null) { in copy()
61 BufferedReader br = in emit() local
64 while ((nfunc = br.readLine()) != null) { in emit()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp3105 ABitReader br(chunk, dsiSize); in parseAC4SpecificBox() local
3106 AC4DSIParser parser(br); in parseAC4SpecificBox()
3232 ABitReader br(chunk, size); in parseEAC3SpecificBox() local
3236 if (br.numBitsLeft() < 16) { in parseEAC3SpecificBox()
3240 unsigned data_rate = br.getBits(13); in parseEAC3SpecificBox()
3243 unsigned num_ind_sub = br.getBits(3) + 1; in parseEAC3SpecificBox()
3245 if (br.numBitsLeft() < (num_ind_sub * 23)) { in parseEAC3SpecificBox()
3252 unsigned fscod = br.getBits(2); in parseEAC3SpecificBox()
3266 unsigned bsid = br.getBits(5); in parseEAC3SpecificBox()
3276 br.skipBits(2); in parseEAC3SpecificBox()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DSystemActionPerformerTest.java231 TestBroadcastReceiver br = new TestBroadcastReceiver(latch); in testPerformSystemActionNewAction() local
232 br.register(InstrumentationRegistry.getTargetContext()); in testPerformSystemActionNewAction()
239 br.unregister(InstrumentationRegistry.getTargetContext()); in testPerformSystemActionNewAction()
251 TestBroadcastReceiver br = new TestBroadcastReceiver(latch); in testPerformSystemActionOverrideLegacyActionUsingLegacyActionId() local
252 br.register(InstrumentationRegistry.getTargetContext()); in testPerformSystemActionOverrideLegacyActionUsingLegacyActionId()
259 br.unregister(InstrumentationRegistry.getTargetContext()); in testPerformSystemActionOverrideLegacyActionUsingLegacyActionId()
/frameworks/base/media/java/android/media/
DSRTRenderer.java114 BufferedReader br = new BufferedReader(r); in onData() local
117 while ((header = br.readLine()) != null) { in onData()
119 header = br.readLine(); in onData()
132 while (!((s = br.readLine()) == null || s.trim().equals(""))) { in onData()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaPlayerStreamingStressTest.java132 BufferedReader br = new BufferedReader(new FileReader(f)); in testVideoPlayback() local
135 while ((line = br.readLine()) != null) { in testVideoPlayback()
138 br.close(); in testVideoPlayback()
/frameworks/base/tools/preload-check/src/com/android/preload/check/
DPreloadCheck.java77 try (BufferedReader br = new BufferedReader(new InputStreamReader(getClass() in testBlackList() argument
80 while ((s = br.readLine()) != null) { in testBlackList()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiThreadRunner.java169 BlockingRunnable br = new BlockingRunnable(r); in runWithScissors() local
170 return br.postAndWait(handler, timeout); in runWithScissors()

123