Home
last modified time | relevance | path

Searched refs:br (Results 1 – 25 of 59) 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.cpp283 ABitReader br(mBuffer->data(), n); in dequeuePES() local
285 unsigned packet_startcode_prefix = br.getBits(24); in dequeuePES()
301 unsigned stream_id = br.getBits(8); in dequeuePES()
304 /* unsigned PES_packet_length = */br.getBits(16); in dequeuePES()
315 /* unsigned current_next_indicator = */br.getBits(1); in dequeuePES()
316 /* unsigned reserved = */br.getBits(2); in dequeuePES()
317 /* unsigned program_stream_map_version = */br.getBits(5); in dequeuePES()
318 /* unsigned reserved = */br.getBits(7); in dequeuePES()
319 /* unsigned marker_bit = */br.getBits(1); in dequeuePES()
320 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()
259 } __attribute__((packed)) br; in TEST_F() local
264 bwr.read_buffer = (uintptr_t)&br; in TEST_F()
265 bwr.read_size = sizeof(br); in TEST_F()
272 if (bwr.read_consumed < offsetof(typeof(br), pad)) { in TEST_F()
277 EXPECT_EQ(offsetof(typeof(br), pad), bwr.read_consumed); in TEST_F()
278 if (bwr.read_consumed > offsetof(typeof(br), cmd0)) in TEST_F()
[all …]
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2CCDecoder.cpp254 NALBitReader br(data + 1, size - 1); in parseSEINalUnit() local
257 while (br.atLeastNumBitsLeft(16)) { // at least 16-bit for sei_message() in parseSEINalUnit()
263 last_byte = br.getBits(8); in parseSEINalUnit()
268 last_byte = br.getBits(8); in parseSEINalUnit()
273 || !br.atLeastNumBitsLeft(payload_size * 8)) { in parseSEINalUnit()
285 uint8_t itu_t_t35_country_code = br.getBits(8); in parseSEINalUnit()
286 uint16_t itu_t_t35_provider_code = br.getBits(16); in parseSEINalUnit()
287 uint32_t user_identifier = br.getBits(32); in parseSEINalUnit()
288 uint8_t user_data_type_code = br.getBits(8); in parseSEINalUnit()
299 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8); in parseSEINalUnit()
[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 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.java345 final BroadcastRecord br = mPendingBroadcast; in sendPendingBroadcastsLocked() local
346 if (br != null && br.curApp.pid > 0 && br.curApp.pid == app.pid) { in sendPendingBroadcastsLocked()
347 if (br.curApp != app) { in sendPendingBroadcastsLocked()
349 + app.processName + ", intended target is " + br.curApp.processName); in sendPendingBroadcastsLocked()
354 processCurBroadcastLocked(br, app, false); 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 …]
/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/rsov/compiler/tests/single_kernel/
Dduff.ll30 br label %sw.bb1
36 br label %sw.bb2
42 br label %sw.bb3
50 br label %sw.bb6
56 br label %sw.bb8
64 br label %sw.bb12
70 br label %sw.bb14
78 br i1 %cmp, label %do.body, label %sw.epilog
/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/
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()
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()
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/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/av/media/extractors/mp4/
DMPEG4Extractor.cpp2932 ABitReader br(chunk, dsiSize); in parseAC4SpecificBox() local
2933 AC4DSIParser parser(br); in parseAC4SpecificBox()
3059 ABitReader br(chunk, size); in parseEAC3SpecificBox() local
3063 if (br.numBitsLeft() < 16) { in parseEAC3SpecificBox()
3067 unsigned data_rate = br.getBits(13); in parseEAC3SpecificBox()
3070 unsigned num_ind_sub = br.getBits(3) + 1; in parseEAC3SpecificBox()
3072 if (br.numBitsLeft() < (num_ind_sub * 23)) { in parseEAC3SpecificBox()
3079 unsigned fscod = br.getBits(2); in parseEAC3SpecificBox()
3093 unsigned bsid = br.getBits(5); in parseEAC3SpecificBox()
3103 br.skipBits(2); in parseEAC3SpecificBox()
[all …]
/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()

123