/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
AudioTrackDecoder.java | 28 import java.nio.ByteBuffer; 70 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { 71 ByteBuffer buffer = buffers[bufferIndex];
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
AvgBrightnessFilter.java | 29 import java.nio.ByteBuffer; 55 ByteBuffer inputBuffer = inputImage.lockBytes(Frame.MODE_READ); 69 private static native float brightnessOperator(int width, int height, ByteBuffer imageBuffer);
|
ContrastRatioFilter.java | 29 import java.nio.ByteBuffer; 55 ByteBuffer inputBuffer = inputImage.lockBytes(Frame.MODE_READ); 73 private static native float contrastOperator(int width, int height, ByteBuffer imageBuffer);
|
ExposureFilter.java | 29 import java.nio.ByteBuffer; 60 ByteBuffer inputBuffer = inputImage.lockBytes(Frame.MODE_READ); 104 ByteBuffer imageBuffer); 106 ByteBuffer imageBuffer);
|
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/ |
AbstractCharsetTestCase.java | 20 import java.nio.ByteBuffer; 140 ByteBuffer bb = this.testingCharset.encode(input); 160 CharBuffer chb = this.testingCharset.decode(ByteBuffer.wrap(input));
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/ |
MultiTouchChannel.java | 27 import java.nio.ByteBuffer; 106 public void onEmulatorMessage(int msg_type, ByteBuffer msg_data) { 130 public void onEmulatorQuery(int query_id, int query_type, ByteBuffer query_data) {
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FatFile.java | 26 import java.nio.ByteBuffer; 76 * {@link #write(long, java.nio.ByteBuffer) writing} to the file will grow 111 public void read(long offset, ByteBuffer dest) throws IOException { 144 public void write(long offset, ByteBuffer srcBuf)
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
RendererOneColorBufferTest.java | 20 import java.nio.ByteBuffer; 66 mVertices = ByteBuffer.allocateDirect(mVerticesData.length * 4) 70 ByteBuffer ibb = ByteBuffer.allocateDirect(mIndices.length * 2); 76 mColor = ByteBuffer.allocateDirect(mVertexColor.length*4). 84 mVertices = ByteBuffer.allocateDirect(mVerticesData.length * 4) 88 ByteBuffer ibb = ByteBuffer.allocateDirect(mIndices.length * 2); 94 mColor = ByteBuffer.allocateDirect(mVertexColor.length*4).
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
MacSpiTest.java | 25 import java.nio.ByteBuffer; 96 ByteBuffer byteBuf = ByteBuffer.allocate(10); 115 byteBuf = ByteBuffer.allocate(5);
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
MeshCollisionShape.java | 45 import java.nio.ByteBuffer; 54 protected ByteBuffer triangleIndexBase, vertexBase; 107 triangleIndexBase = ByteBuffer.wrap(capsule.readByteArray("triangleIndexBase", new byte[0])); 108 vertexBase = ByteBuffer.wrap(capsule.readByteArray("vertexBase", new byte[0]));
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
ItemLocationBox.java | 27 import java.nio.ByteBuffer; 84 protected void getContent(ByteBuffer byteBuffer) { 85 writeVersionAndFlags(byteBuffer); 86 IsoTypeWriter.writeUInt8(byteBuffer, ((offsetSize << 4) | lengthSize)); 88 IsoTypeWriter.writeUInt8(byteBuffer, (baseOffsetSize << 4 | indexSize)); 90 IsoTypeWriter.writeUInt8(byteBuffer, (baseOffsetSize << 4)); 92 IsoTypeWriter.writeUInt16(byteBuffer, items.size()); 94 item.getContent(byteBuffer); 99 public void _parseDetails(ByteBuffer content) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/ |
UuidBasedProtectionSystemSpecificHeaderBox.java | 12 import java.lang.Override;import java.lang.String;import java.lang.StringBuilder;import java.nio.ByteBuffer; 50 protected void getContent(ByteBuffer byteBuffer) { 51 writeVersionAndFlags(byteBuffer); 52 IsoTypeWriter.writeUInt64(byteBuffer, systemId.getMostSignificantBits()); 53 IsoTypeWriter.writeUInt64(byteBuffer, systemId.getLeastSignificantBits()); 54 ByteBuffer data = protectionSpecificHeader.getData(); 56 IsoTypeWriter.writeUInt32(byteBuffer, data.limit()); 57 byteBuffer.put(data); 61 protected void _parseDetails(ByteBuffer content) [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
NewChromaHistogramFilter.java | 30 import java.nio.ByteBuffer; 95 ByteBuffer imageBuffer = imageFrame.lockBytes(Frame.MODE_READ); 96 ByteBuffer histogramBuffer = histogramFrame.lockBytes(Frame.MODE_READ); 110 private static native void extractChromaHistogram(ByteBuffer imageBuffer,
|
StatsFilter.java | 35 import java.nio.ByteBuffer; 81 private void calcMeanAndStd(ByteBuffer pixelBuffer, int width, int height, Quad quad) { 98 ByteBuffer pixelBuffer = inputFrame.lockBytes(Frame.MODE_READ); 114 private native void regionscore(ByteBuffer imageBuffer, int width, int height, float left,
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetEncoderTest.java | 19 import java.nio.ByteBuffer; 69 ByteBuffer bb = ByteBuffer.allocate(128); 83 ByteBuffer bb = ByteBuffer.allocate(128); 120 ByteBuffer bb = ByteBuffer.allocate(128); 144 ByteBuffer bb = ByteBuffer.allocate(128);
|
/frameworks/base/core/java/android/net/dhcp/ |
DhcpPacket.java | 8 import java.nio.ByteBuffer; 214 * Asks the packet object to create a ByteBuffer serialization of 217 public abstract ByteBuffer buildPacket(int encap, short destUdp, 224 abstract void finishPacket(ByteBuffer buffer); 251 InetAddress srcIp, short destUdp, short srcUdp, ByteBuffer buf, 373 * payload) on the specified portion of a ByteBuffer. The seed 376 private int checksum(ByteBuffer buf, int seed, int start, int end) { 380 // set position of original ByteBuffer, so that the ShortBuffer 385 // re-set ByteBuffer position 418 protected void addTlv(ByteBuffer buf, byte type, byte value) [all...] |
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
VideoEncoderDecoderTest.java | 30 import java.nio.ByteBuffer; 61 private ByteBuffer mYBuffer; 62 private ByteBuffer mUVBuffer; 72 private Vector<ByteBuffer> mEncodedOutputBuffer; 82 mEncodedOutputBuffer = new Vector<ByteBuffer>(TOTAL_FRAMES * 2); 220 ByteBuffer[] codecInputBuffers = codec.getInputBuffers(); 221 ByteBuffer[] codecOutputBuffers = codec.getOutputBuffers(); 282 MediaCodec codec, ByteBuffer[] inputBuffers, int index, int frameCount, int flags) { 283 ByteBuffer buffer = inputBuffers[index]; 329 MediaCodec codec, ByteBuffer[] outputBuffers [all...] |
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
stun.cc | 35 using talk_base::ByteBuffer; 144 bool StunMessage::Read(ByteBuffer* buf) { 193 void StunMessage::Write(ByteBuffer* buf) const { 326 bool StunAddressAttribute::Read(ByteBuffer* buf) { 339 void StunAddressAttribute::Write(ByteBuffer* buf) const { 361 bool StunUInt32Attribute::Read(ByteBuffer* buf) { 367 void StunUInt32Attribute::Write(ByteBuffer* buf) const { 407 bool StunByteStringAttribute::Read(ByteBuffer* buf) { 414 void StunByteStringAttribute::Write(ByteBuffer* buf) const { 435 bool StunErrorCodeAttribute::Read(ByteBuffer* buf) [all...] |
/developers/build/prebuilts/gradle/BasicMediaDecoder/BasicMediaDecoderSample/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 24 import java.nio.ByteBuffer; 50 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); 61 private ByteBuffer[] mInputBuffers; 62 private ByteBuffer[] mOutputBuffers; 173 * @param input A ByteBuffer containing the input data for one sample. The buffer must be set 185 public boolean writeSample(final ByteBuffer input, 195 ByteBuffer buffer = mInputBuffers[index]; 250 ByteBuffer buffer = mInputBuffers[index]; 302 * java.nio.ByteBuffer)} 314 ByteBuffer buffer = mOutputBuffers[index] [all...] |
/developers/build/prebuilts/gradle/BasicRenderScript/BasicRenderScriptSample/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 24 import java.nio.ByteBuffer; 50 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); 61 private ByteBuffer[] mInputBuffers; 62 private ByteBuffer[] mOutputBuffers; 173 * @param input A ByteBuffer containing the input data for one sample. The buffer must be set 185 public boolean writeSample(final ByteBuffer input, 195 ByteBuffer buffer = mInputBuffers[index]; 250 ByteBuffer buffer = mInputBuffers[index]; 302 * java.nio.ByteBuffer)} 314 ByteBuffer buffer = mOutputBuffers[index] [all...] |
/developers/build/prebuilts/gradle/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 24 import java.nio.ByteBuffer; 50 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); 61 private ByteBuffer[] mInputBuffers; 62 private ByteBuffer[] mOutputBuffers; 173 * @param input A ByteBuffer containing the input data for one sample. The buffer must be set 185 public boolean writeSample(final ByteBuffer input, 195 ByteBuffer buffer = mInputBuffers[index]; 250 ByteBuffer buffer = mInputBuffers[index]; 302 * java.nio.ByteBuffer)} 314 ByteBuffer buffer = mOutputBuffers[index] [all...] |
/developers/samples/android/common/src/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 24 import java.nio.ByteBuffer; 50 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); 61 private ByteBuffer[] mInputBuffers; 62 private ByteBuffer[] mOutputBuffers; 173 * @param input A ByteBuffer containing the input data for one sample. The buffer must be set 185 public boolean writeSample(final ByteBuffer input, 195 ByteBuffer buffer = mInputBuffers[index]; 250 ByteBuffer buffer = mInputBuffers[index]; 302 * java.nio.ByteBuffer)} 314 ByteBuffer buffer = mOutputBuffers[index] [all...] |
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 24 import java.nio.ByteBuffer; 50 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); 61 private ByteBuffer[] mInputBuffers; 62 private ByteBuffer[] mOutputBuffers; 173 * @param input A ByteBuffer containing the input data for one sample. The buffer must be set 185 public boolean writeSample(final ByteBuffer input, 195 ByteBuffer buffer = mInputBuffers[index]; 250 ByteBuffer buffer = mInputBuffers[index]; 302 * java.nio.ByteBuffer)} 314 ByteBuffer buffer = mOutputBuffers[index] [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
FunnelsTest.java | 11 import java.nio.ByteBuffer; 55 @Override protected void process(ByteBuffer bb) {
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/udp/ |
UdpEndpoint.java | 42 import java.nio.ByteBuffer; 115 public void send( ByteBuffer data )
|