Searched refs:buffer (Results 226 - 250 of 636) sorted by relevance

1234567891011>>

/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorVideoEncoder.cpp71 virtual status_t read(MediaBuffer **buffer,
73 virtual int32_t storeBuffer(MediaBuffer *buffer);
81 MediaBuffer* buffer; member in struct:android::VideoEditorVideoEncoderSource::MediaBufferChain
158 // Release the buffer chain
167 ALOGV("VideoEditorVideoEncoderSource::stop : %d buffer remained", i);
183 status_t VideoEditorVideoEncoderSource::read(MediaBuffer **buffer, argument
203 *buffer = NULL;
208 // Get a buffer from the chain
209 *buffer = mFirstBufferLink->buffer;
223 storeBuffer(MediaBuffer *buffer) argument
742 MediaBuffer* buffer = NULL; local
838 VideoEditorVideoEncoder_processOutputBuffer( M4ENCODER_Context pContext, MediaBuffer* buffer) argument
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp242 ANativeWindowBuffer* buffer; member in struct:android::egl_window_surface_v2_t
344 nativeWindow(window), buffer(0), previousBuffer(0), module(0),
360 if (buffer) {
361 buffer->common.decRef(&buffer->common);
375 // dequeue a buffer
377 if (nativeWindow->dequeueBuffer(nativeWindow, &buffer,
382 // wait for the buffer
385 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd);
389 // allocate a corresponding depth-buffer
586 GGLSurface buffer; local
601 GGLSurface buffer; local
677 GGLSurface buffer; local
692 GGLSurface buffer; local
1929 eglBindTexImage( EGLDisplay dpy, EGLSurface surface, EGLint buffer) argument
1938 eglReleaseTexImage( EGLDisplay dpy, EGLSurface surface, EGLint buffer) argument
1983 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) argument
2021 eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list) argument
[all...]
/frameworks/av/media/libstagefright/
H A DOggExtractor.cpp54 MediaBuffer **buffer, const ReadOptions *options = NULL);
78 status_t readNextPacket(MediaBuffer **buffer);
122 MediaBuffer *buffer, uint8_t type);
453 MediaBuffer *buffer = NULL; local
479 if (buffer != NULL) {
480 fullSize += buffer->range_length();
483 if (buffer != NULL) {
484 memcpy(tmp->data(), buffer->data(), buffer->range_length());
485 tmp->set_range(0, buffer
685 verifyHeader( MediaBuffer *buffer, uint8_t type) argument
851 void *buffer = malloc(outLen); local
[all...]
/frameworks/av/include/media/
H A DIAudioTrack.h74 /* Allocate a shared memory buffer suitable for holding timed audio
77 sp<IMemory>* buffer) = 0;
79 /* Queue a buffer obtained via allocateTimedBuffer for playback at the given
81 virtual status_t queueTimedBuffer(const sp<IMemory>& buffer,
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp68 ssize_t AudioStreamInSource::read(void *buffer, size_t count) argument
73 ssize_t bytesRead = mStream->read(mStream, buffer, count << mBitShift);
H A DAudioStreamOutSink.cpp54 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) argument
60 ssize_t ret = mStream->write(mStream, buffer, count << mBitShift);
H A DLibsndfileSource.cpp46 ssize_t LibsndfileSource::read(void *buffer, size_t count) argument
54 sf_count_t actual = sf_readf_short(mSndfile, (short *) buffer, (sf_count_t) count);
/frameworks/av/media/libstagefright/codecs/flac/enc/
H A DSoftFlacEncoder.h25 // use this symbol to have the first output buffer start with FLAC frame header so a dump of
79 const FLAC__StreamEncoder *encoder, const FLAC__byte buffer[],
83 const FLAC__byte buffer[],
86 // FLAC takes samples aligned on 32bit boundaries, use this buffer for the conversion
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.h63 // OMX input buffer's timestamp and flags
93 uint8_t* extractGrallocData(void *data, buffer_handle_t *buffer);
94 void releaseGrallocData(buffer_handle_t buffer);
/frameworks/av/media/mtp/
H A DMtpUtils.cpp70 void formatDateTime(time_t seconds, char* buffer, int bufferLength) { argument
74 snprintf(buffer, bufferLength, "%04d%02d%02dT%02d%02d%02d",
/frameworks/base/core/jni/
H A Dandroid_hardware_SerialPort.cpp169 android_hardware_SerialPort_read_array(JNIEnv *env, jobject thiz, jbyteArray buffer, jint length) argument
180 // copy data from native buffer to Java buffer
181 env->SetByteArrayRegion(buffer, 0, ret, buf);
191 android_hardware_SerialPort_read_direct(JNIEnv *env, jobject thiz, jobject buffer, jint length) argument
195 jbyte* buf = (jbyte *)env->GetDirectBufferAddress(buffer);
208 android_hardware_SerialPort_write_array(JNIEnv *env, jobject thiz, jbyteArray buffer, jint length) argument
216 env->GetByteArrayRegion(buffer, 0, length, buf);
225 android_hardware_SerialPort_write_direct(JNIEnv *env, jobject thiz, jobject buffer, jint length) argument
229 jbyte* buf = (jbyte *)env->GetDirectBufferAddress(buffer);
[all...]
/frameworks/base/libs/hwui/
H A DPathRenderer.h57 static void cleanup(void* buffer) { argument
58 delete[] (TYPE*)buffer;
/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_dm.c67 int32_t drm_parseDM(const uint8_t *buffer, int32_t bufferLen, T_DRM_DM_Info *pDmInfo) argument
75 if (NULL == buffer || bufferLen <= 0 || NULL == pDmInfo)
78 /* Find the end of the input buffer */
79 pBufferEnd = buffer + bufferLen;
83 pStart = drm_strnstr(buffer, (uint8_t *)"--", bufferLen);
218 pDmInfo->contentOffset = pStart - buffer;
224 pDmInfo->rightsOffset = pStart - buffer;
227 pDmInfo->contentOffset = pStart - buffer;
243 pDmInfo->contentOffset = pEncData - buffer;
/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.cpp169 Value MakeBufferValue(const char* buffer, int size) { argument
170 return MakePtrValue<char, BUFFER_VALUE_TYPE>(buffer, size);
173 Value MakeBufferValueNoCopy(const char* buffer, int size) { argument
176 result.value = (void*)buffer;
181 Value MakeMutableBufferValue(const char* buffer, int size) { argument
182 return MakePtrValue<const char, MUTABLE_BUFFER_VALUE_TYPE>(buffer, size);
185 Value MakeMutableBufferValueNoCopy(char* buffer, int size) { argument
188 result.value = (void*)buffer;
/frameworks/ex/variablespeed/jni/
H A Dsola_time_scaler.h99 // This processes all the data reamining in the analysis buffer.
106 // @param buffer pointer to interleaved float input samples
109 int InjectSamples(float* buffer, int num_frames);
112 // @param buffer pointer to buffer to receive interleaved float output
115 int RetrieveSamples(float* buffer, int num_frames);
117 // Returns the number of frames that the input buffer can accept.
/frameworks/native/include/gui/
H A DSensor.h74 status_t flatten(void* buffer) const;
75 status_t unflatten(void const* buffer, size_t size);
/frameworks/native/include/ui/
H A DFence.h91 status_t flatten(void* buffer, size_t size,
93 status_t unflatten(void const* buffer, size_t size,
/frameworks/native/libs/gui/
H A DConsumerBase.cpp158 char buffer[1024]; local
159 dump(result, "", buffer, 1024);
163 char* buffer, size_t size) const {
165 dumpLocked(result, prefix, buffer, size);
169 char* buffer, size_t SIZE) const {
170 snprintf(buffer, SIZE, "%smAbandoned=%d\n", prefix, int(mAbandoned));
171 result.append(buffer);
174 mBufferQueue->dump(result, prefix, buffer, SIZE);
162 dump(String8& result, const char* prefix, char* buffer, size_t size) const argument
168 dumpLocked(String8& result, const char* prefix, char* buffer, size_t SIZE) const argument
/frameworks/native/services/sensorservice/
H A DSensorDevice.h55 ssize_t poll(sensors_event_t* buffer, size_t count);
58 void dump(String8& result, char* buffer, size_t SIZE);
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DPoolingByteArrayOutputStream.java69 * Ensures there is enough space in the buffer for the given number of additional bytes.
72 /* Can the buffer handle @i more bytes, if not expand it */
83 public synchronized void write(byte[] buffer, int offset, int len) { argument
85 super.write(buffer, offset, len);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp400 // Check argument "bufferCount" against the mininum buffer count
483 const void* buffer, size_t size) {
490 const void* buffer, size_t size) {
494 //ALOGV("write(%p, %u)", buffer, size);
496 snoopWrite(buffer, size);
497 ssize_t ret = mTrack->write(buffer, size);
548 AudioTrack::Buffer *buffer = (AudioTrack::Buffer *)info; local
551 me, buffer->raw, buffer->size, me->mCallbackCookie);
553 buffer
482 snoopWrite( const void* buffer, size_t size) argument
489 write( const void* buffer, size_t size) argument
563 char buffer[SIZE]; local
[all...]
/frameworks/base/tools/aidl/
H A Daidl_language_l.l11 // these functions save a copy of the buffer
23 yylval.buffer.lineno = yylineno; \
24 yylval.buffer.token = (t); \
25 yylval.buffer.data = strdup(yytext); \
26 yylval.buffer.extra = get_extra_text(); \
99 yylval.buffer.lineno = yylineno;
100 yylval.buffer.token = IDENTIFIER;
101 yylval.buffer.data = strdup(yytext);
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c17 // Play an audio file using buffer queue
41 unsigned which; // which buffer to use next
74 // This callback is called each time a buffer finishes playing
80 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which]; local
82 count = sf_readf_short(sndfile, buffer, (sf_count_t) framesPerBuffer);
88 swab(buffer, buffer, nbytes);
91 squeeze(buffer, (unsigned char *) buffer, nbytes);
94 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbyte
377 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which]; local
[all...]
/frameworks/av/media/libmedia/
H A DMediaScannerClient.cpp175 char* buffer = new char[targetLength]; local
177 if (!buffer)
179 char* target = buffer;
189 mValues->setEntry(i, buffer);
192 delete[] buffer;
/frameworks/base/include/androidfw/
H A DCursorWindow.h42 * This class stores a set of rows from a database in a buffer. The begining of the
75 } buffer; member in union:android::CursorWindow::FieldSlot::__anon1012
130 *outSizeIncludingNull = fieldSlot->data.buffer.size;
131 return static_cast<char*>(offsetToPtr(fieldSlot->data.buffer.offset));
135 *outSize = fieldSlot->data.buffer.size;
136 return offsetToPtr(fieldSlot->data.buffer.offset);

Completed in 1167 milliseconds

1234567891011>>