Searched refs:slice (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A Dbricked.rs78 uint slice;
89 slice = 0x80000000 & rsGetElementAt_uint(bricks, slice_pos - BRICK_SIZE);
90 out |= slice >> 31;
93 slice = 1 & rsGetElementAt_uint(bricks, slice_pos + BRICK_SIZE);
94 out |= slice << 31;
98 int off_neg_y = -1; // simple case -1 slice;
107 slice = rsGetElementAt_uint(bricks, slice_pos + off_neg_y);
108 out |= slice;
118 slice = rsGetElementAt_uint(bricks, slice_pos + off_pos_y);
119 out |= slice;
[all...]
H A Dvr.rs92 uint slice = rsGetElementAt_uint(bricks, off);
93 return slice & (1 << (p.x & 0x1F));
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DParceledListSliceTest.java21 ParceledListSlice<SmallObject> slice;
27 slice = parcel.readParcelable(getClass().getClassLoader());
32 assertNotNull(slice);
33 assertNotNull(slice.getList());
34 assertEquals(objectCount, slice.getList().size());
37 assertEquals(i * 2, slice.getList().get(i).mFieldA);
38 assertEquals((i * 2) + 1, slice.getList().get(i).mFieldB);
72 ParceledListSlice<LargeObject> slice;
78 slice = parcel.readParcelable(getClass().getClassLoader());
83 assertNotNull(slice);
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_slice_data.c60 Decode one slice. Function decodes stream data, i.e. macroblocks
63 Macroblock to slice group mapping is considered when next
72 pSliceHeader pointer to slice header of the current slice
118 /* increment slice index, will be one for decoding of the first slice of
120 pStorage->slice->sliceId++;
124 pStorage->slice->lastMbAddr = 0;
127 /* initial quantization parameter for the slice is obtained as the sum of
128 * initial QP for the picture and sliceQpDelta for the current slice */
[all...]
H A Dh264bsd_storage.h85 /* current slice group map, recomputed for each slice */
98 /* store information needed for handling of slice decoding */
99 sliceStorage_t slice[1]; member in struct:__anon797
128 /* slice header, second structure used as a temporary storage while
129 * decoding slice header, first one stores last successfully decoded
130 * slice header */
H A Dh264bsd_storage.c279 macroblock storages and slice group map and (re-)initializes the
469 pStorage->slice->numDecodedMbs = 0;
470 pStorage->slice->sliceId = 0;
488 considers that new picture is starting if no slice headers
557 if (pStorage->slice->numDecodedMbs == pStorage->picSizeInMbs)
578 Compute slice group map. Just call h264bsdDecodeSliceGroupMap with
618 following conditions checked only for slice NAL units, values
619 compared to ones obtained from previous slice:
621 -NAL unit type differs (slice / IDR slice)
[all...]
/frameworks/base/core/java/android/app/usage/
H A DUsageStatsManager.java136 ParceledListSlice<UsageStats> slice = mService.queryUsageStats(intervalType, beginTime,
138 if (slice != null) {
139 return slice.getList();
161 ParceledListSlice<ConfigurationStats> slice = mService.queryConfigurationStats(
163 if (slice != null) {
164 return slice.getList();
/frameworks/base/services/core/java/com/android/server/
H A DConsumerIrService.java79 for (int slice : pattern) {
80 if (slice <= 0) {
81 throw new IllegalArgumentException("Non-positive IR slice");
83 totalXmitTime += slice;
/frameworks/compile/libbcc/lib/
H A DRSUtils.h64 // In that case, we will want to create our slice such that it contains
68 return T->getStructName().slice(0, LastDot);
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp398 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); local
400 if (!SelectOuterSlice(mtls, &fep, slice)) {
425 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); local
426 uint32_t yStart = mtls->start.y + slice * mtls->mSliceSize;
450 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); local
451 uint32_t xStart = mtls->start.x + slice * mtls->mSliceSize;
546 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); local
547 uint32_t xStart = mtls->start.x + slice * mtls->mSliceSize;
559 // Emit log line after slice has been run, so that we can include
585 uint32_t slice local
624 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); local
693 uint32_t slice = 0; local
899 uint32_t slice = 0; local
[all...]
H A DrsCpuIntrinsicBLAS.cpp167 uint32_t slice = (uint32_t)__sync_fetch_and_add(&mtls->mSliceNum, 1); local
169 uint32_t mStart = (slice % mtls->numTileM) * mtls->tileSizeM;
176 uint32_t nStart = (slice / mtls->numTileM) * mtls->tileSizeN;
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderRaw.java116 short[] slice = new short[v.mDimy * v.mDimx];
117 mbb.asShortBuffer().get(slice);
133 alloc_slice.copyFromUnchecked(slice);
H A DLoaderDicom.java410 short[] slice = (short[]) data.get(0x7fe0, 0x10).mValue;
447 alloc_slice.copyFromUnchecked(slice);
550 short[] slice = (short[]) data.get(0x7fe0, 0x10).mValue;
586 alloc_slice.copyFromUnchecked(slice);
/frameworks/base/core/java/android/util/apk/
H A DZipUtils.java133 ByteBuffer eocd = buf.slice();
H A DApkSignatureSchemeV2Verifier.java755 * {@link ByteBuffer#slice()}, the returned buffer's byte order is the same as the source
775 ByteBuffer result = source.slice();
807 ByteBuffer result = source.slice();
1088 mBuf = buf.slice();
1112 region = mBuf.slice();
/frameworks/base/services/net/java/android/net/util/
H A DConnectivityPacketSummary.java85 final ByteBuffer srcMac = (ByteBuffer) mPacket.slice().limit(ETHER_ADDR_LEN);
90 final ByteBuffer dstMac = (ByteBuffer) mPacket.slice().limit(ETHER_ADDR_LEN);
/frameworks/multidex/library/test/src/android/support/multidex/
H A DZipUtilTest.java86 buffer = buffer.slice();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
H A DOsuProviderInfo.java275 ByteBuffer subBuffer = payload.slice();
/frameworks/compile/slang/
H A Drs_cc_options.cpp105 ArgVector.append(ArgsIn.slice(1).begin(), ArgsIn.end());
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java798 ParceledListSlice<InstantAppInfo> slice =
800 if (slice != null) {
801 return slice.getList();
1082 ParceledListSlice<ProviderInfo> slice =
1084 return slice != null ? slice.getList() : Collections.<ProviderInfo>emptyList();
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsService.java1007 ParceledListSlice<ApplicationInfo> slice = AppGlobals.getPackageManager()
1009 if (slice == null) {
1012 apps = slice.getList();
/frameworks/av/media/libstagefright/codec2/include/
H A DC2Buffer.h1702 C2ReadCursor slice(uint32_t size) const;
/frameworks/compile/mclinker/tools/mcld/
H A DMain.cpp168 llvm::StringRef prefix = prog_name_ref.slice(0, last_component);
1009 opt_table.ParseArgs(argv.slice(1), missing_arg_idx, missing_arg_count);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerShellCommand.java740 final ParceledListSlice<PackageInfo> slice =
742 final List<PackageInfo> packages = slice.getList();
/frameworks/base/media/java/android/media/
H A DMediaCodec.java137 Note that on some devices the slice-height is advertised as 0. This could mean either that the
138 slice-height is the same as the frame height, or that the slice-height is the frame height
140 to tell the actual slice height in this case. Furthermore, the vertical stride of the {@code U}
141 plane in planar formats is also not specified or defined, though usually it is half of the slice
3627 mPlanes[ix] = new MediaPlane(buffer.slice(), rowInc, colInc);

Completed in 716 milliseconds

12