Home
last modified time | relevance | path

Searched refs:br (Results 1 – 25 of 55) 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.cpp121 uint32_t br[32]; in binderTestReadEmpty() local
124 bwr.read_buffer = (uintptr_t)br; in binderTestReadEmpty()
125 bwr.read_size = sizeof(br); in binderTestReadEmpty()
130 EXPECT_EQ(BR_NOOP, br[i]); in binderTestReadEmpty()
258 } __attribute__((packed)) br; in TEST_F() local
263 bwr.read_buffer = (uintptr_t)&br; in TEST_F()
264 bwr.read_size = sizeof(br); in TEST_F()
271 if (bwr.read_consumed < offsetof(typeof(br), pad)) { in TEST_F()
276 EXPECT_EQ(offsetof(typeof(br), pad), bwr.read_consumed); in TEST_F()
277 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 writeToProto()
78 br.writeToProto(proto, fieldId); in writeToProto()
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.java348 final BroadcastRecord br = mPendingBroadcast; in sendPendingBroadcastsLocked() local
349 if (br != null && br.curApp.pid > 0 && br.curApp.pid == app.pid) { in sendPendingBroadcastsLocked()
350 if (br.curApp != app) { in sendPendingBroadcastsLocked()
352 + app.processName + ", intended target is " + br.curApp.processName); in sendPendingBroadcastsLocked()
357 processCurBroadcastLocked(br, app, false); in sendPendingBroadcastsLocked()
361 + br.curComponent.flattenToShortString(), e); in sendPendingBroadcastsLocked()
362 logBroadcastReceiverDiscardLocked(br); in sendPendingBroadcastsLocked()
363 finishReceiverLocked(br, br.resultCode, br.resultData, in sendPendingBroadcastsLocked()
364 br.resultExtras, br.resultAbort, false); in sendPendingBroadcastsLocked()
367 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/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/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/av/media/extractors/mp4/
DMPEG4Extractor.cpp2961 ABitReader br(chunk, dsiSize); in parseAC4SpecificBox() local
2962 AC4DSIParser parser(br); in parseAC4SpecificBox()
3088 ABitReader br(chunk, size); in parseEAC3SpecificBox() local
3092 if (br.numBitsLeft() < 16) { in parseEAC3SpecificBox()
3096 unsigned data_rate = br.getBits(13); in parseEAC3SpecificBox()
3099 unsigned num_ind_sub = br.getBits(3) + 1; in parseEAC3SpecificBox()
3101 if (br.numBitsLeft() < (num_ind_sub * 23)) { in parseEAC3SpecificBox()
3108 unsigned fscod = br.getBits(2); in parseEAC3SpecificBox()
3122 unsigned bsid = br.getBits(5); in parseEAC3SpecificBox()
3132 br.skipBits(2); in parseEAC3SpecificBox()
[all …]
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DPerfDataRecorder.java88 BufferedReader br = null; in readDumpData() local
91 br = new BufferedReader(new InputStreamReader(fi)); in readDumpData()
92 String line = br.readLine(); in readDumpData()
98 line = br.readLine(); in readDumpData()
103 closeQuietly(br); in readDumpData()
/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/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/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java56 BufferedReader br = new BufferedReader(new InputStreamReader(process.getErrorStream())); in runCommand() local
57 for (String line = br.readLine(); line != null; line = br.readLine()) { in runCommand()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportReceiver.java64 static void cleanupOldFiles(BroadcastReceiver br, Intent intent, String expectedAction, in cleanupOldFiles() argument
74 final PendingResult result = br.goAsync(); in cleanupOldFiles()
/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()

123