HomeSort by relevance Sort by last modified time
    Searched full:bytebuffer (Results 101 - 125 of 964) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
AmrSpecificBox.java 25 import java.nio.ByteBuffer;
70 public void _parseDetails(ByteBuffer content) {
83 public void getContent(ByteBuffer byteBuffer) {
84 byteBuffer.put(IsoFile.fourCCtoBytes(vendor));
85 IsoTypeWriter.writeUInt8(byteBuffer, decoderVersion);
86 IsoTypeWriter.writeUInt16(byteBuffer, modeSet);
87 IsoTypeWriter.writeUInt8(byteBuffer, modeChangePeriod);
88 IsoTypeWriter.writeUInt8(byteBuffer, framesPerSample);
AudioSampleEntry.java 25 import java.nio.ByteBuffer;
182 public void _parseDetails(ByteBuffer content) {
250 protected void getContent(ByteBuffer byteBuffer) {
251 _writeReservedAndDataReferenceIndex(byteBuffer);
252 IsoTypeWriter.writeUInt16(byteBuffer, soundVersion);
253 IsoTypeWriter.writeUInt16(byteBuffer, reserved1);
254 IsoTypeWriter.writeUInt32(byteBuffer, reserved2);
255 IsoTypeWriter.writeUInt16(byteBuffer, channelCount);
256 IsoTypeWriter.writeUInt16(byteBuffer, sampleSize)
    [all...]
TextSampleEntry.java 24 import java.nio.ByteBuffer;
58 public void _parseDetails(ByteBuffer content) {
92 protected void getContent(ByteBuffer byteBuffer) {
93 _writeReservedAndDataReferenceIndex(byteBuffer);
94 IsoTypeWriter.writeUInt32(byteBuffer, displayFlags);
95 IsoTypeWriter.writeUInt8(byteBuffer, horizontalJustification);
96 IsoTypeWriter.writeUInt8(byteBuffer, verticalJustification);
97 IsoTypeWriter.writeUInt8(byteBuffer, backgroundColorRgba[0]);
98 IsoTypeWriter.writeUInt8(byteBuffer, backgroundColorRgba[1])
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/
TfxdBox.java 7 import java.nio.ByteBuffer;
54 public void _parseDetails(ByteBuffer content) {
67 protected void getContent(ByteBuffer byteBuffer) {
68 writeVersionAndFlags(byteBuffer);
70 IsoTypeWriter.writeUInt64(byteBuffer, fragmentAbsoluteTime);
71 IsoTypeWriter.writeUInt64(byteBuffer, fragmentAbsoluteDuration);
73 IsoTypeWriter.writeUInt32(byteBuffer, fragmentAbsoluteTime);
74 IsoTypeWriter.writeUInt32(byteBuffer, fragmentAbsoluteDuration);
ProtectionSpecificHeader.java 14 import java.nio.ByteBuffer;
22 ByteBuffer data;
38 public static ProtectionSpecificHeader createFor(UUID systemId, ByteBuffer bufferWrapper) {
57 public void parse(ByteBuffer buffer) {
62 public ByteBuffer getData() {
71 ByteBuffer data = getData().duplicate();
  /external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/
MessagePipeHandleImpl.java 10 import java.nio.ByteBuffer;
33 * @see MessagePipeHandle#writeMessage(ByteBuffer, List, WriteFlags)
36 public void writeMessage(ByteBuffer bytes, List<? extends Handle> handles, WriteFlags flags) {
41 * @see MessagePipeHandle#readMessage(ByteBuffer, int, ReadFlags)
44 public ReadMessageResult readMessage(ByteBuffer bytes,
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DataEntryUrlBox.java 21 import java.nio.ByteBuffer;
36 public void _parseDetails(ByteBuffer content) {
42 protected void getContent(ByteBuffer byteBuffer) {
43 writeVersionAndFlags(byteBuffer);
FreeSpaceBox.java 21 import java.nio.ByteBuffer;
50 public void _parseDetails(ByteBuffer content) {
56 protected void getContent(ByteBuffer byteBuffer) {
57 byteBuffer.put(data);
NullMediaHeaderBox.java 18 import java.nio.ByteBuffer;
35 public void _parseDetails(ByteBuffer content) {
40 protected void getContent(ByteBuffer byteBuffer) {
41 writeVersionAndFlags(byteBuffer);
OriginalFormatBox.java 23 import java.nio.ByteBuffer;
56 public void _parseDetails(ByteBuffer content) {
61 protected void getContent(ByteBuffer byteBuffer) {
62 byteBuffer.put(IsoFile.fourCCtoBytes(dataFormat));
UserBox.java 21 import java.nio.ByteBuffer;
55 public void _parseDetails(ByteBuffer content) {
61 protected void getContent(ByteBuffer byteBuffer) {
62 byteBuffer.put(data);
UserDataBox.java 23 import java.nio.ByteBuffer;
41 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {
46 public void _parseDetails(ByteBuffer content) {
51 protected void getContent(ByteBuffer byteBuffer) {
52 super.getContent(byteBuffer); //To change body of overridden methods use File | Settings | File Templates.
AuthorBox.java 25 import java.nio.ByteBuffer;
76 public void _parseDetails(ByteBuffer content) {
83 protected void getContent(ByteBuffer byteBuffer) {
84 writeVersionAndFlags(byteBuffer);
85 IsoTypeWriter.writeIso639(byteBuffer, language);
86 byteBuffer.put(Utf8.convert(author));
87 byteBuffer.put((byte) 0);
SchemeTypeBox.java 25 import java.nio.ByteBuffer;
73 public void _parseDetails(ByteBuffer content) {
83 protected void getContent(ByteBuffer byteBuffer) {
84 writeVersionAndFlags(byteBuffer);
85 byteBuffer.put(IsoFile.fourCCtoBytes(schemeType));
86 IsoTypeWriter.writeUInt32(byteBuffer, schemeVersion);
88 byteBuffer.put(Utf8.convert(schemeUri));
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/
MLPSpecificBox.java 7 import java.nio.ByteBuffer;
27 public void _parseDetails(ByteBuffer content) {
36 protected void getContent(ByteBuffer byteBuffer) {
37 BitWriterBuffer bwb = new BitWriterBuffer(byteBuffer);
  /frameworks/base/core/java/android/net/dhcp/
DhcpDeclinePacket.java 20 import java.nio.ByteBuffer;
43 public ByteBuffer buildPacket(int encap, short destUdp, short srcUdp) {
44 ByteBuffer result = ByteBuffer.allocate(MAX_LENGTH);
55 void finishPacket(ByteBuffer buffer) {
  /libcore/luni/src/test/java/libcore/java/nio/
NoArrayTest.java 19 import java.nio.ByteBuffer;
26 assertNoArray(ByteBuffer.wrap(new byte[32]).asReadOnlyBuffer());
27 assertNoArray(ByteBuffer.allocate(32).asReadOnlyBuffer());
28 assertNoArray(ByteBuffer.allocateDirect(32).asReadOnlyBuffer());
31 private void assertNoArray(ByteBuffer buf) {
BufferTest.java 27 import java.nio.ByteBuffer;
43 private static ByteBuffer allocateMapped(int size) throws Exception {
111 testByteSwappedBulkGet(ByteBuffer.allocateDirect(10));
115 testByteSwappedBulkGet(ByteBuffer.allocate(10));
122 private void testByteSwappedBulkGet(ByteBuffer b) throws Exception {
195 private static String toString(ByteBuffer b) {
204 testByteSwappedBulkPut(ByteBuffer.allocateDirect(10));
208 testByteSwappedBulkPut(ByteBuffer.allocate(10));
215 private void testByteSwappedBulkPut(ByteBuffer b) throws Exception {
257 testByteBufferByteOrder(ByteBuffer.allocateDirect(10), false)
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
ByteArrayHelpers.java 22 import java.nio.ByteBuffer;
167 ByteBuffer byteBuffer = ByteBuffer.allocate(numbers.length * (Double.SIZE / Byte.SIZE))
177 byteBuffer.putInt((Integer)value);
179 byteBuffer.putFloat((Float)value);
181 byteBuffer.putDouble((Double)value);
183 byteBuffer.putShort((Short)value);
185 byteBuffer.putLong((Long)value);
187 byteBuffer.put((Byte)value)
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
ColorSpace.java 18 import java.nio.ByteBuffer;
42 ByteBuffer input, ByteBuffer output, int width, int height) {
61 ByteBuffer input, ByteBuffer output, int width, int height) {
80 ByteBuffer input, ByteBuffer output, int width, int height) {
99 ByteBuffer input, ByteBuffer output, int width, int height) {
105 private static void expectInputSize(ByteBuffer input, int expectedSize)
    [all...]
  /cts/tests/tests/opengl/src/android/opengl/cts/
RendererTwoShaderTest.java 20 import java.nio.ByteBuffer;
56 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(triangleCoords.length * 4);
57 byteBuffer.order(ByteOrder.nativeOrder());
58 floatBuffer = byteBuffer.asFloatBuffer();
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/dece/
TrickPlayBox.java 7 import java.nio.ByteBuffer;
85 public void _parseDetails(ByteBuffer content) {
93 protected void getContent(ByteBuffer byteBuffer) {
94 writeVersionAndFlags(byteBuffer);
96 IsoTypeWriter.writeUInt8(byteBuffer, entry.value);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
SilenceTrackImpl.java 8 import java.nio.ByteBuffer;
19 List<ByteBuffer> samples = new LinkedList<ByteBuffer>();
31 samples.add((ByteBuffer) ByteBuffer.wrap(new byte[]{
74 public List<ByteBuffer> getSamples() {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
GBCharsetDecoderTest.java 20 import java.nio.ByteBuffer;
48 ByteBuffer getUnmappedByteBuffer() throws UnsupportedEncodingException {
52 ByteBuffer getMalformedByteBuffer() throws UnsupportedEncodingException {
53 ByteBuffer buffer = ByteBuffer.allocate(20);
60 ByteBuffer getExceptionByteArray() throws UnsupportedEncodingException {
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
ChannelHelper.java 20 import java.nio.ByteBuffer;
30 public static ByteBuffer readFully(final ReadableByteChannel channel, long size) throws IOException {
33 ByteBuffer bb = ((FileChannel) channel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) channel).position(), size);
37 ByteBuffer buf = ByteBuffer.allocate(l2i(size));
48 public static void readFully(final ReadableByteChannel channel, final ByteBuffer buf)
53 public static int readFully(final ReadableByteChannel channel, final ByteBuffer buf, final int length)
69 public static void writeFully(final WritableByteChannel channel, final ByteBuffer buf)

Completed in 871 milliseconds

1 2 3 45 6 7 8 91011>>