/frameworks/av/cmds/stagefright/ |
stagefright.cpp | 226 MediaBuffer *buffer; local 230 err = rawSource->read(&buffer, &options); 235 CHECK(buffer == NULL); 245 CHECK(buffer->meta_data()->findInt64(kKeyTime, ×tampUs)); 266 printf("buffer has timestamp %lld us (%.2f secs)\n", 269 buffer->release(); 270 buffer = NULL; 313 MediaBuffer *buffer; local 317 status_t err = rawSource->read(&buffer, &options); 323 CHECK(buffer == NULL) 547 MediaBuffer *buffer; local [all...] |
/frameworks/av/include/media/nbaio/ |
AudioStreamInSource.h | 45 // FIXME Use an audio HAL API to query the buffer filling status when it's available. 48 virtual ssize_t read(void *buffer, size_t count);
|
AudioStreamOutSink.h | 45 // FIXME Use an audio HAL API to query the buffer emptying status when it's available. 48 virtual ssize_t write(const void *buffer, size_t count);
|
/frameworks/av/include/media/stagefright/ |
JPEGSource.h | 36 MediaBuffer **buffer, const ReadOptions *options = NULL);
|
/frameworks/av/media/libmedia/ |
IAudioTrack.cpp | 112 virtual status_t allocateTimedBuffer(size_t size, sp<IMemory>* buffer) { 121 *buffer = interface_cast<IMemory>(reply.readStrongBinder()); 127 virtual status_t queueTimedBuffer(const sp<IMemory>& buffer, 131 data.writeStrongBinder(buffer->asBinder()); 199 sp<IMemory> buffer; local 200 status_t status = allocateTimedBuffer(data.readInt32(), &buffer); 203 reply->writeStrongBinder(buffer->asBinder()); 209 sp<IMemory> buffer = interface_cast<IMemory>( local 212 reply->writeInt32(queueTimedBuffer(buffer, pts));
|
IOMX.cpp | 242 buffer_id *buffer) { 252 *buffer = 0; 257 *buffer = (void*)reply.readIntPtr(); 265 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) { 275 *buffer = 0; 280 *buffer = (void*)reply.readIntPtr(); 339 buffer_id *buffer, void **buffer_data) { 349 *buffer = 0; 354 *buffer = (void *)reply.readIntPtr(); 362 buffer_id *buffer) { 633 buffer_id buffer; local 653 buffer_id buffer; local 719 buffer_id buffer; local 742 buffer_id buffer; local 761 buffer_id buffer = (void*)data.readIntPtr(); local 772 buffer_id buffer = (void*)data.readIntPtr(); local 783 buffer_id buffer = (void*)data.readIntPtr(); local [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/ |
MP4Source.cpp | 42 char buffer[1024]; local 44 if (skipBytes > sizeof(buffer)) { 45 skipBytes = sizeof(buffer); 51 n = mListener->read(buffer, skipBytes, &extra);
|
/frameworks/av/media/libstagefright/omx/ |
OMX.cpp | 336 buffer_id *buffer) { 338 port_index, params, buffer); 343 const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) { 345 port_index, graphicBuffer, buffer); 361 buffer_id *buffer, void **buffer_data) { 363 port_index, size, buffer, buffer_data); 368 buffer_id *buffer) { 370 port_index, params, buffer); 373 status_t OMX::freeBuffer(node_id node, OMX_U32 port_index, buffer_id buffer) { 375 port_index, buffer); [all...] |
/frameworks/av/media/mediaserver/ |
main_mediaserver.cpp | 68 char buffer[32]; local 90 snprintf(buffer, sizeof(buffer), "unknown (%d)", info.si_code); 91 code = buffer;
|
/frameworks/av/media/mtp/ |
MtpRequestPacket.cpp | 49 // write our buffer to the given endpoint (host mode) 54 request->buffer = mBuffer;
|
MtpResponsePacket.cpp | 48 request->buffer = mBuffer;
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
MultipartEntity.java | 197 StringBuffer buffer = new StringBuffer(MULTIPART_FORM_CONTENT_TYPE); local 198 buffer.append("; boundary="); 199 buffer.append(EncodingUtils.getAsciiString(getMultipartBoundary())); 200 return new BasicHeader(HTTP.CONTENT_TYPE, buffer.toString());
|
/frameworks/base/core/jni/android/graphics/ |
Utils.h | 33 virtual size_t read(void* buffer, size_t size);
|
/frameworks/base/core/jni/ |
android_nio_utils.cpp | 29 void* android::nio_getPointer(JNIEnv *_env, jobject buffer, jarray *array) { 37 gNioJNI.getBasePointerID, buffer); 44 gNioJNI.getBaseArrayID, buffer); 46 gNioJNI.getBaseArrayOffsetID, buffer); 101 "getBasePointer", "(Ljava/nio/Buffer;)J"); 103 "getBaseArray", "(Ljava/nio/Buffer;)Ljava/lang/Object;"); 105 "getBaseArrayOffset", "(Ljava/nio/Buffer;)I");
|
/frameworks/base/media/tests/omxjpegdecoder/ |
SkOmxPixelRef.h | 29 SkOmxPixelRef(SkColorTable* ctable, MediaBuffer* buffer,
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
bitcode_wrapperer.cpp | 117 // front of the buffer. This allows us to assume 129 // Assume the buffer contents have been used, 134 // If we don't have an input, we can't refill the buffer at all. 167 uint8_t buffer[kWordSize]; local 168 buffer[3] = (value >> 24) & 0xFF; 169 buffer[2] = (value >> 16) & 0xFF; 170 buffer[1] = (value >> 8) & 0xFF; 171 buffer[0] = (value >> 0) & 0xFF; 172 return outfile_->Write(buffer, kWordSize); 176 // This buffer may have to be bigger if we start using the field 178 uint8_t buffer[kMaxVariableFieldSize]; local [all...] |
/frameworks/wilhelm/src/android/util/ |
AacAdtsExtractor.cpp | 266 SL_LOGE("Can't seek in AAC ADTS buffer queue"); 277 MediaBuffer *buffer; local 278 status_t err = mGroup->acquire_buffer(&buffer); 284 ssize_t readSize = mDataSource->readAt(mOffset + ADTS_HEADER_LENGTH, buffer->data(), 289 buffer->release(); 290 buffer = NULL; 294 buffer->set_range(0, frameSizeWithoutHeader); 295 buffer->meta_data()->setInt64(kKeyTime, mCurrentTimeUs); 296 buffer->meta_data()->setInt32(kKeyIsSyncFrame, 1); 301 *out = buffer; [all...] |
/hardware/libhardware/include/hardware/ |
camera.h | 72 buffer_handle_t** buffer, int *stride); 74 buffer_handle_t* buffer); 76 buffer_handle_t* buffer); 87 buffer_handle_t* buffer); 164 * data with the help of the meta data in the buffer. How this is done is 251 /** Retrieve the camera parameters. The buffer returned by the camera HAL
|
/hardware/libhardware_legacy/ |
qemu.h | 61 * 'buffer' must be at last 6 bytes 65 extern int qemu_command_format( char* buffer, 78 * a user-allocated buffer. returns the length of the answer, or -1
|
/hardware/qcom/media/mm-core/inc/ |
qc_omx_component.h | 123 // Use a buffer already allocated by the IL client 124 // or a buffer already supplied by a tunneled component 131 OMX_U8* buffer)=0; 134 // Request that the component allocate new buffer and associated header 142 // Release the buffer and associated header from the component 146 OMX_BUFFERHEADERTYPE* buffer)=0; 148 // Send a filled buffer to an input port of a component 151 OMX_BUFFERHEADERTYPE* buffer)=0; 153 // Send an empty buffer to an output port of a component 156 OMX_BUFFERHEADERTYPE* buffer)=0 [all...] |
/hardware/qcom/media/mm-core/omxcore/inc/ |
qc_omx_component.h | 123 // Use a buffer already allocated by the IL client 124 // or a buffer already supplied by a tunneled component 131 OMX_U8* buffer)=0; 134 // Request that the component allocate new buffer and associated header 142 // Release the buffer and associated header from the component 146 OMX_BUFFERHEADERTYPE* buffer)=0; 148 // Send a filled buffer to an input port of a component 151 OMX_BUFFERHEADERTYPE* buffer)=0; 153 // Send an empty buffer to an output port of a component 156 OMX_BUFFERHEADERTYPE* buffer)=0 [all...] |
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMXCapabilities.cpp | 211 void remove_last_sep(char* buffer) { 213 last_sep = strrchr(buffer, PARAM_SEP_CHAR); 229 char * buffer, 235 if ( ( NULL == buffer ) || ( NULL == cap ) ) { 242 strncat(buffer, cap[i].param, bufferSize - 1); 243 strncat(buffer, PARAM_SEP, bufferSize - 1); 256 char * buffer, 265 if ( ( NULL == buffer ) || ( NULL == cap ) ) { 272 strncat(buffer, cap[i].param, bufferSize - 1); 273 strncat(buffer, PARAM_SEP, bufferSize - 1) [all...] |
/libcore/luni/src/main/java/java/nio/ |
PipeImpl.java | 78 public int read(ByteBuffer buffer) throws IOException { 79 return channel.read(buffer); 113 public int write(ByteBuffer buffer) throws IOException { 114 return channel.write(buffer);
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Boolean.java | 78 if (in.buffer[in.contentOffset] == 0) {
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLECDHKeyAgreement.java | 67 byte[] buffer = new byte[mExpectedResultLength]; 69 buffer, 77 // The output is as long as expected -- use the whole buffer 78 result = buffer; 82 System.arraycopy(buffer, 0, mResult, 0, mResult.length);
|