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/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp288 ABitReader br(mBuffer->data(), n); in dequeuePES() local
290 unsigned packet_startcode_prefix = br.getBits(24); in dequeuePES()
306 unsigned stream_id = br.getBits(8); in dequeuePES()
309 /* unsigned PES_packet_length = */br.getBits(16); in dequeuePES()
320 /* unsigned current_next_indicator = */br.getBits(1); in dequeuePES()
321 /* unsigned reserved = */br.getBits(2); in dequeuePES()
322 /* unsigned program_stream_map_version = */br.getBits(5); in dequeuePES()
323 /* unsigned reserved = */br.getBits(7); in dequeuePES()
324 /* unsigned marker_bit = */br.getBits(1); in dequeuePES()
325 unsigned program_stream_info_length = br.getBits(16); in dequeuePES()
[all …]
/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/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.java345 final BroadcastRecord br = mPendingBroadcast; in sendPendingBroadcastsLocked() local
346 if (br != null && br.curApp.getPid() > 0 && br.curApp.getPid() == app.getPid()) { in sendPendingBroadcastsLocked()
347 if (br.curApp != app) { in sendPendingBroadcastsLocked()
349 + app.processName + ", intended target is " + br.curApp.processName); in sendPendingBroadcastsLocked()
354 processCurBroadcastLocked(br, app); in sendPendingBroadcastsLocked()
358 + br.curComponent.flattenToShortString(), e); in sendPendingBroadcastsLocked()
359 logBroadcastReceiverDiscardLocked(br); in sendPendingBroadcastsLocked()
360 finishReceiverLocked(br, br.resultCode, br.resultData, in sendPendingBroadcastsLocked()
361 br.resultExtras, br.resultAbort, false); in sendPendingBroadcastsLocked()
364 br.state = BroadcastRecord.IDLE; in sendPendingBroadcastsLocked()
[all …]
DSettingsToPropertiesMapper.java272 BufferedReader br = new BufferedReader(new FileReader(reset_flag_file)); in getResetFlagsFileContent() local
273 content = br.readLine(); in getResetFlagsFileContent()
275 br.close(); in getResetFlagsFileContent()
/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.cpp3261 ABitReader br(chunk, dsiSize); in parseAC4SpecificBox() local
3262 AC4DSIParser parser(br); in parseAC4SpecificBox()
3388 ABitReader br(chunk, size); in parseEAC3SpecificBox() local
3392 if (br.numBitsLeft() < 16) { in parseEAC3SpecificBox()
3396 unsigned data_rate = br.getBits(13); in parseEAC3SpecificBox()
3399 unsigned num_ind_sub = br.getBits(3) + 1; in parseEAC3SpecificBox()
3401 if (br.numBitsLeft() < (num_ind_sub * 23)) { in parseEAC3SpecificBox()
3408 unsigned fscod = br.getBits(2); in parseEAC3SpecificBox()
3422 unsigned bsid = br.getBits(5); in parseEAC3SpecificBox()
3432 br.skipBits(2); in parseEAC3SpecificBox()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt80 private lateinit var br: View in <lambda>() variable in com.android.systemui.statusbar.events.PrivacyDotViewController
98 get() = if (!this::tl.isInitialized) sequenceOf() else sequenceOf(tl, tr, br, bl) in <lambda>()
288 rot = activeRotationForCorner(br, rtl) in <lambda>()
290 (br.layoutParams as FrameLayout.LayoutParams).apply { in <lambda>()
320 1 -> if (isRtl) tr else br in <lambda>()
321 2 -> if (isRtl) br else bl in <lambda>()
355 br -> BOTTOM_RIGHT in <lambda>()
375 br -> if (rtl) ROTATION_UPSIDE_DOWN else ROTATION_LANDSCAPE in <lambda>()
390 this::bl.isInitialized && this::br.isInitialized) { in <lambda>()
391 if (tl == topLeft && tr == topRight && bl == bottomLeft && br == bottomRight) { in <lambda>()
[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 testDenyList() argument
80 while ((s = br.readLine()) != null) { in testDenyList()

123