/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
CopyrightBox.java | 25 import java.nio.ByteBuffer; 66 public void _parseDetails(ByteBuffer content) { 73 protected void getContent(ByteBuffer byteBuffer) { 74 writeVersionAndFlags(byteBuffer); 75 IsoTypeWriter.writeIso639(byteBuffer, language); 76 byteBuffer.put(Utf8.convert(copyright)); 77 byteBuffer.put((byte) 0);
|
DescriptionBox.java | 24 import java.nio.ByteBuffer; 52 public void _parseDetails(ByteBuffer content) { 59 protected void getContent(ByteBuffer byteBuffer) { 60 writeVersionAndFlags(byteBuffer); 61 IsoTypeWriter.writeIso639(byteBuffer, language); 62 byteBuffer.put(Utf8.convert(description)); 63 byteBuffer.put((byte) 0);
|
GenreBox.java | 24 import java.nio.ByteBuffer; 62 public void _parseDetails(ByteBuffer content) { 69 protected void getContent(ByteBuffer byteBuffer) { 70 writeVersionAndFlags(byteBuffer); 71 IsoTypeWriter.writeIso639(byteBuffer, language); 72 byteBuffer.put(Utf8.convert(genre)); 73 byteBuffer.put((byte) 0);
|
PerformerBox.java | 24 import java.nio.ByteBuffer; 61 protected void getContent(ByteBuffer byteBuffer) { 62 writeVersionAndFlags(byteBuffer); 63 IsoTypeWriter.writeIso639(byteBuffer, language); 64 byteBuffer.put(Utf8.convert(performer)); 65 byteBuffer.put((byte) 0); 69 public void _parseDetails(ByteBuffer content) {
|
TitleBox.java | 24 import java.nio.ByteBuffer; 72 protected void getContent(ByteBuffer byteBuffer) { 73 writeVersionAndFlags(byteBuffer); 74 IsoTypeWriter.writeIso639(byteBuffer, language); 75 byteBuffer.put(Utf8.convert(title)); 76 byteBuffer.put((byte) 0); 80 public void _parseDetails(ByteBuffer content) {
|
ClassificationBox.java | 25 import java.nio.ByteBuffer; 80 public void _parseDetails(ByteBuffer content) { 91 protected void getContent(ByteBuffer byteBuffer) { 92 byteBuffer.put(IsoFile.fourCCtoBytes(classificationEntity)); 93 IsoTypeWriter.writeUInt16(byteBuffer, classificationTableIndex); 94 IsoTypeWriter.writeIso639(byteBuffer, language); 95 byteBuffer.put(Utf8.convert(classificationInfo)); 96 byteBuffer.put((byte) 0);
|
HandlerBox.java | 26 import java.nio.ByteBuffer; 112 public void _parseDetails(ByteBuffer content) { 133 protected void getContent(ByteBuffer byteBuffer) { 134 writeVersionAndFlags(byteBuffer); 135 IsoTypeWriter.writeUInt32(byteBuffer, shouldBeZeroButAppleWritesHereSomeValue); 136 byteBuffer.put(IsoFile.fourCCtoBytes(handlerType)); 137 IsoTypeWriter.writeUInt32(byteBuffer, a); 138 IsoTypeWriter.writeUInt32(byteBuffer, b); 139 IsoTypeWriter.writeUInt32(byteBuffer, c) [all...] |
RatingBox.java | 25 import java.nio.ByteBuffer; 95 public void _parseDetails(ByteBuffer content) { 105 protected void getContent(ByteBuffer byteBuffer) { 106 writeVersionAndFlags(byteBuffer); 107 byteBuffer.put(IsoFile.fourCCtoBytes(ratingEntity)); 108 byteBuffer.put(IsoFile.fourCCtoBytes(ratingCriteria)); 109 IsoTypeWriter.writeIso639(byteBuffer, language); 110 byteBuffer.put(Utf8.convert(ratingInfo)); 111 byteBuffer.put((byte) 0) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/vodafone/ |
AlbumArtistBox.java | 25 import java.nio.ByteBuffer; 62 public void _parseDetails(ByteBuffer content) { 68 protected void getContent(ByteBuffer byteBuffer) { 69 writeVersionAndFlags(byteBuffer); 70 IsoTypeWriter.writeIso639(byteBuffer, language); 71 byteBuffer.put(Utf8.convert(albumArtist)); 72 byteBuffer.put((byte) 0);
|
ContentDistributorIdBox.java | 24 import java.nio.ByteBuffer; 52 public void _parseDetails(ByteBuffer content) { 59 protected void getContent(ByteBuffer byteBuffer) { 60 writeVersionAndFlags(byteBuffer); 61 IsoTypeWriter.writeIso639(byteBuffer, language); 62 byteBuffer.put(Utf8.convert(contentDistributorId)); 63 byteBuffer.put((byte) 0);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/cenc/ |
ProtectionSystemSpecificHeaderBox.java | 12 import java.nio.ByteBuffer; 71 protected void getContent(ByteBuffer byteBuffer) { 72 writeVersionAndFlags(byteBuffer); 74 byteBuffer.put(systemId, 0, 16); 75 IsoTypeWriter.writeUInt32(byteBuffer, content.length); 76 byteBuffer.put(content); 80 protected void _parseDetails(ByteBuffer content) {
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ultraviolet/ |
AssetInformationBox.java | 23 import java.nio.ByteBuffer; 43 protected void getContent(ByteBuffer byteBuffer) { 44 writeVersionAndFlags(byteBuffer); 45 byteBuffer.put(Utf8.convert(profileVersion), 0, 4); 46 byteBuffer.put(Utf8.convert(apid)); 47 byteBuffer.put((byte) 0); 52 public void _parseDetails(ByteBuffer content) {
|
BaseLocationBox.java | 23 import java.nio.ByteBuffer; 64 public void _parseDetails(ByteBuffer content) { 74 protected void getContent(ByteBuffer byteBuffer) { 75 writeVersionAndFlags(byteBuffer); 76 byteBuffer.put(Utf8.convert(baseLocation)); 77 byteBuffer.put(new byte[256 - Utf8.utf8StringLengthInBytes(baseLocation)]); // string plus term zero 78 byteBuffer.put(Utf8.convert(purchaseLocation)); 79 byteBuffer.put(new byte[256 - Utf8.utf8StringLengthInBytes(purchaseLocation)]); // string plus term zero 80 byteBuffer.put(new byte[512]) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
AppleDataBox.java | 5 import java.nio.ByteBuffer; 69 public void _parseDetails(ByteBuffer content) { 79 protected void getContent(ByteBuffer byteBuffer) { 80 writeVersionAndFlags(byteBuffer); 81 byteBuffer.put(fourBytes, 0, 4); 82 byteBuffer.put(data);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/ |
PlayReadyHeader.java | 12 import java.nio.ByteBuffer; 48 public void parse(ByteBuffer byteBuffer) { 58 length = IsoTypeReader.readUInt32BE(byteBuffer); 59 int recordCount = IsoTypeReader.readUInt16BE(byteBuffer); 61 records = PlayReadyRecord.createFor(byteBuffer, recordCount); 65 public ByteBuffer getData() { 72 ByteBuffer byteBuffer = ByteBuffer.allocate(size) [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
ByteString.java | 38 import java.nio.ByteBuffer; 103 * Copies {@code size} bytes from a {@code java.nio.ByteBuffer} into 106 public static ByteString copyFrom(final ByteBuffer bytes, final int size) { 113 * Copies the remaining bytes from a {@code java.nio.ByteBuffer} into 116 public static ByteString copyFrom(final ByteBuffer bytes) { 207 * Constructs a new read-only {@code java.nio.ByteBuffer} with the 210 public ByteBuffer asReadOnlyByteBuffer() { 211 final ByteBuffer byteBuffer = ByteBuffer.wrap(bytes) [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
TransitionAlpha.java | 25 import java.nio.ByteBuffer; 126 ByteBuffer byteBuffer = ByteBuffer.allocate(framingBuffer.length * 4); 129 byte[] array = byteBuffer.array(); 133 intBuffer = byteBuffer.asIntBuffer();
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
PointerInfo.java | 20 import java.nio.ByteBuffer; 49 public ByteBuffer mTempByteBuffer; 87 private static ByteBuffer toByteBuffer(int byteCount, Buffer input) { 88 ByteBuffer result = null; 90 if (input instanceof ByteBuffer) { 91 ByteBuffer input2 = (ByteBuffer) input; 96 result = ByteBuffer.allocate(byteCount).order(input2.order()); 107 result = ByteBuffer.allocate(byteCount).order(input2.order()); 119 result = ByteBuffer.allocate(byteCount).order(input2.order()) [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/ |
ShaderUtils.java | 38 import java.nio.ByteBuffer;
255 public static final ByteBuffer getImageDataFromImage(BufferedImage bufferedImage) {
269 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(data.length * 4);
270 byteBuffer.order(ByteOrder.LITTLE_ENDIAN);
271 byteBuffer.asIntBuffer().put(data);
272 byteBuffer.flip();
274 return byteBuffer;
|
/cts/tests/src/android/opengl/cts/ |
EglConfigGLSurfaceView.java | 24 import java.nio.ByteBuffer; 89 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4); 90 byteBuffer.order(ByteOrder.nativeOrder()); 92 mFloatBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4) 155 mFloatBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4)
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioRecordTest.java | 19 import java.nio.ByteBuffer; 172 // use ByteBuffer as buffer 173 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(BUFFER_SIZE); 179 mAudioRecord.read(byteBuffer, BUFFER_SIZE);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
VisualSampleEntry.java | 25 import java.nio.ByteBuffer; 135 public void _parseDetails(ByteBuffer content) { 182 protected void getContent(ByteBuffer byteBuffer) { 183 _writeReservedAndDataReferenceIndex(byteBuffer); 184 IsoTypeWriter.writeUInt16(byteBuffer, 0); 185 IsoTypeWriter.writeUInt16(byteBuffer, 0); 186 IsoTypeWriter.writeUInt32(byteBuffer, predefined[0]); 187 IsoTypeWriter.writeUInt32(byteBuffer, predefined[1]); 188 IsoTypeWriter.writeUInt32(byteBuffer, predefined[2]) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/threegpp26244/ |
LocationInformationBox.java | 8 import java.nio.ByteBuffer; 98 public void _parseDetails(ByteBuffer content) { 112 protected void getContent(ByteBuffer byteBuffer) { 113 writeVersionAndFlags(byteBuffer); 114 IsoTypeWriter.writeIso639(byteBuffer, language); 115 byteBuffer.put(Utf8.convert(name)); 116 byteBuffer.put((byte) 0); 117 IsoTypeWriter.writeUInt8(byteBuffer, role); 118 IsoTypeWriter.writeFixedPont1616(byteBuffer, longitude) [all...] |
/frameworks/native/libs/utils/ |
BlobCache.cpp | 202 uint8_t* byteBuffer = reinterpret_cast<uint8_t*>(buffer); 218 &byteBuffer[byteOffset]); 258 const uint8_t* byteBuffer = reinterpret_cast<const uint8_t*>(buffer); 269 &byteBuffer[byteOffset]);
|
/external/icu4c/tools/genrb/ |
wrtjava.c | 444 char byteBuffer[100] = { 0 }; 468 sprintf(byteBuffer, byteDecl, byteArray[byteIterator]); 472 sprintf(byteBuffer, byteDecl, (byteArray[byteIterator]-256)); 475 T_FileStream_write(out, byteBuffer, (int32_t)uprv_strlen(byteBuffer));
|