/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/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) {
|
/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...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
Vector3Serializer.java | 6 import java.nio.ByteBuffer; 14 public Vector3f readObject(ByteBuffer data, Class c) throws IOException { 22 public void writeObject(ByteBuffer buffer, Object object) throws IOException {
|
/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() {
|
ReplaceSampleTrack.java | 23 import java.nio.ByteBuffer; 29 * Generates a Track where a single sample has been replaced by a given <code>ByteBuffer</code>. 35 private ByteBuffer sampleContent; 36 private List<ByteBuffer> samples; 38 public ReplaceSampleTrack(Track origTrack, long sampleNumber, ByteBuffer content) { 46 public List<ByteBuffer> getSamples() { 88 private class ReplaceASingleEntryList extends AbstractList<ByteBuffer> { 90 public ByteBuffer get(int index) {
|
/libcore/harmony-tests/src/test/java/tests/api/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 {
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
DatagramChannelTest.java | 20 import java.nio.ByteBuffer; 25 ByteBuffer readOnly = ByteBuffer.allocate(1).asReadOnlyBuffer(); 35 dc.read(new ByteBuffer[] { readOnly }); 40 dc.read(new ByteBuffer[] { readOnly }, 0, 1); 53 assertNull(dc.receive(ByteBuffer.allocate(2048)));
|
/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)
|