HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 601 - 625 of 4833) sorted by null

<<21222324252627282930>>

  /frameworks/av/media/libstagefright/
MPEG2TSWriter.cpp 87 bool appendAACFrames(MediaBuffer *buffer);
90 void postAVCFrame(MediaBuffer *buffer);
158 // Codec specific data better be in the first data buffer.
247 notify->setBuffer("buffer", out);
252 void MPEG2TSWriter::SourceInfo::postAVCFrame(MediaBuffer *buffer) {
257 new ABuffer(buffer->range_length());
259 (const uint8_t *)buffer->data()
260 + buffer->range_offset(),
261 buffer->range_length());
264 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs))
386 MediaBuffer *buffer; local
607 sp<ABuffer> buffer = source->lastAccessUnit(); local
617 sp<ABuffer> buffer; local
731 sp<ABuffer> buffer = new ABuffer(188); local
783 sp<ABuffer> buffer = new ABuffer(188); local
854 sp<ABuffer> buffer = new ABuffer(188); local
    [all...]
AudioSource.cpp 36 source->dataCallbackTimestamp(*((AudioRecord::Buffer *) info), systemTime() / 1000);
67 // buffer size
70 // make sure that the AudioRecord total buffer size is large enough
234 MediaBuffer *buffer = *mBuffersReceived.begin(); local
237 buffer->setObserver(this);
238 buffer->add_ref();
242 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
245 memset((uint8_t *) buffer->data(), 0, buffer->range_length());
255 (uint8_t *) buffer->data(), buffer->range_length())
341 MediaBuffer *buffer = new MediaBuffer(bufferSize); local
    [all...]
  /cts/tools/dex-tools/src/dex/reader/
DexClassImpl.java 41 private final DexBuffer buffer; field in class:DexClassImpl
69 public DexClassImpl(DexBuffer buffer, ClassDefItem classDefItem,
72 this.buffer = buffer;
120 buffer.setPosition(classDefItem.annotations_off);
122 annotationDir.class_annotations_off = buffer.readUInt();
123 annotationDir.fields_size = buffer.readUInt();
124 annotationDir.methods_size = buffer.readUInt();
125 annotationDir.annotated_params_size = buffer.readUInt();
132 annotationDir.fieldAnnotations[i].fieldIdx = buffer
    [all...]
DexEncodedValueImpl.java 30 private final DexBuffer buffer; field in class:DexEncodedValueImpl
41 * @param buffer
42 * the buffer with the correct position
47 public DexEncodedValueImpl(DexBuffer buffer, DexAnnotation annotation,
49 this.buffer = buffer;
58 typeAndValueArg = buffer.readUByte();
135 // use the buffer directly to get adjusted offset
136 return new DexEncodedAnnotationImpl(buffer, annotation, typeIds,
146 int size = buffer.readUleb128()
    [all...]
  /external/srec/srec/clib/
srec_arb.c 79 void read_questions(srec_question** pquestions, asr_int16_t num_questions, char **buffer, PFile *fp)
83 q = *pquestions = (srec_question*)(*buffer);
85 *buffer += num_questions * sizeof(srec_question);
178 tree_node* read_tree_node_f(char **buffer, PFile *fp)
180 tree_node* tnode = (tree_node*) * buffer;
189 *buffer += sizeof(tree_node);
192 tnode->node.fail = (struct tree_branch_info*)read_tree_node_f(buffer, fp);
193 tnode->node.pass = (struct tree_branch_info*)read_tree_node_f(buffer, fp);
198 void read_phoneme_data(phoneme_data** pdata, asr_int16_t num_phonemes, char **buffer, PFile *fp)
203 pd = *pdata = (phoneme_data*)(*buffer);
291 char* buffer; local
    [all...]
  /cts/suite/audio_quality/lib/src/task/
TaskDownload.cpp 47 android::sp<Buffer> buffer = getTestCase()->findBuffer(id); local
48 if (buffer.get() == NULL) {
49 LOGE("TaskDownload::run cannot find buffer %s", id.string());
53 if (!getTestCase()->getRemoteAudio()->downloadData(id, buffer, downloadId)) {
56 LOGI("Downloaded buffer %s to DUT with id %d", id.string(), downloadId);
  /development/samples/ApiDemos/src/com/example/android/apis/content/
ReadAsset.java 56 // Read the entire asset into a local byte buffer.
57 byte[] buffer = new byte[size];
58 is.read(buffer);
61 // Convert the buffer into a string.
62 String text = new String(buffer);
  /external/apache-http/src/org/apache/commons/codec/net/
QuotedPrintableCodec.java 111 * @param buffer
112 * the buffer to write to
114 private static final void encodeQuotedPrintable(int b, ByteArrayOutputStream buffer) {
115 buffer.write(ESCAPE_CHAR);
118 buffer.write(hex1);
119 buffer.write(hex2);
143 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local
150 buffer.write(b);
152 encodeQuotedPrintable(b, buffer);
155 return buffer.toByteArray()
177 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local
    [all...]
  /external/chromium/net/tools/fetch/
http_listen_socket.cc 126 std::string buffer; local
139 info->method = buffer;
140 buffer.clear();
143 info->url = GURL(buffer);
144 buffer.clear();
148 DCHECK(buffer == "HTTP/1.1");
149 buffer.clear();
152 header_name = buffer;
153 buffer.clear();
156 header_value = buffer;
    [all...]
  /external/dropbear/
algo.h 30 #include "buffer.h"
67 void buf_put_algolist(buffer * buf, algo_type localalgos[]);
69 algo_type * svr_buf_match_algo(buffer* buf, algo_type localalgos[],
71 algo_type * cli_buf_match_algo(buffer* buf, algo_type localalgos[],
  /external/elfutils/lib/
sha1.h 52 char buffer[128] __attribute__ ((__aligned__ (__alignof__ (sha1_uint32)))); member in struct:sha1_ctx
60 starting at BUFFER.
62 extern void sha1_process_block (const void *buffer, size_t len,
67 starting at BUFFER.
69 extern void sha1_process_bytes (const void *buffer, size_t len,
72 /* Process the remaining bytes in the buffer and put result from CTX
  /external/freetype/src/psaux/
psconv.h 48 FT_Byte* buffer,
55 FT_Byte* buffer,
61 FT_Byte* buffer,
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
EnumSerializer.java 60 public void writeObject(ByteBuffer buffer, Object object) throws IOException {
62 buffer.putInt(-1);
64 buffer.putInt(((Enum)object).ordinal());
  /external/opencv/otherlibs/highgui/
cvcap_socket.cpp 98 long readBufSize; // the length of the read buffer
99 char *readBuf; // the read buffer
133 char buffer[100]; local
134 sprintf(buffer, "getaddrinfo error: %s", gai_strerror(error));
135 LOGV("%s", buffer);
169 LOGV("Freeing Buffer");
210 // First ensure that our addrinfo and read buffer are allocated.
221 char buffer[100]; local
222 sprintf(buffer, "Failed to create socket, errno = %d", errno);
223 LOGV("%s", buffer);
231 char buffer[100]; local
253 char buffer[100]; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/riscos/
SDL_riscossprite.c 42 /* Create sprite buffer for screen */
48 unsigned char *buffer; local
75 buffer = SDL_malloc( (size_t) size + offsetToSpriteData );
76 if (!buffer) return NULL;
80 *(unsigned int *)buffer = size + offsetToSpriteData;
81 *(unsigned int *)(buffer + 8) = 16;
84 regs.r[1] = (unsigned int)buffer;
88 regs.r[1] = (unsigned int)buffer;
109 int *sprite = (int *)(buffer + 16);
115 (*(int *)(buffer+12)) += 2048
    [all...]
  /external/skia/include/effects/
SkColorMatrixFilter.h 32 virtual void flatten(SkFlattenableWriteBuffer& buffer) SK_OVERRIDE;
40 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer);
48 SkColorMatrixFilter(SkFlattenableReadBuffer& buffer);
  /external/skia/src/effects/
SkBlurMaskFilter.cpp 107 SkFlattenable* SkBlurMaskFilterImpl::CreateProc(SkFlattenableReadBuffer& buffer) {
108 return SkNEW_ARGS(SkBlurMaskFilterImpl, (buffer));
115 SkBlurMaskFilterImpl::SkBlurMaskFilterImpl(SkFlattenableReadBuffer& buffer)
116 : SkMaskFilter(buffer) {
117 fRadius = buffer.readScalar();
118 fBlurStyle = (SkBlurMaskFilter::BlurStyle)buffer.readS32();
119 fBlurFlags = buffer.readU32() & SkBlurMaskFilter::kAll_BlurFlag;
124 void SkBlurMaskFilterImpl::flatten(SkFlattenableWriteBuffer& buffer) {
125 this->INHERITED::flatten(buffer);
126 buffer.writeScalar(fRadius)
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
Leb128Utils.java 88 * Writes an unsigned leb128 to the buffer at the specified location
90 * @param buffer the buffer to write to
93 public static void writeUnsignedLeb128(int value, byte[] buffer, int bufferIndex) {
98 buffer[bufferIndex] = (byte)((value & 0x7f) | 0x80);
105 buffer[bufferIndex] = (byte)(value & 0x7f);
  /external/srtp/crypto/test/
rand_gen.c 122 uint8_t buffer[BUF_LEN]; local
124 status = crypto_get_random(buffer, num_octets);
128 printf("%s\n", octet_string_hex_string(buffer, num_octets));
  /external/valgrind/main/none/tests/s390x/
icm.c 22 char buffer[256]; local
71 buffer[n] = n;
73 test(&buffer[0],0);
74 test(&buffer[60],16);
75 test(&buffer[120],32);
76 test(&buffer[180],48);
77 test(&buffer[240],64);
78 test(&buffer[252],80);
82 buffer[n] = 255-n;
83 test(&buffer[0],128)
    [all...]
stcke.c 6 unsigned long buffer[2]; member in union:stcke
37 cc = stcke(start.buffer);
42 cc = stcke(end.buffer);
  /external/webkit/Source/JavaScriptCore/API/
JSStringRefCF.cpp 45 OwnArrayPtr<UniChar> buffer = adoptArrayPtr(new UniChar[length]); local
46 CFStringGetCharacters(string, CFRangeMake(0, length), buffer.get());
48 return OpaqueJSString::create(reinterpret_cast<UChar*>(buffer.get()), length).leakRef();
  /external/webkit/Source/WebCore/platform/cf/
FileSystemCF.cpp 47 char* buffer; local
48 CString string = CString::newUninitialized(size, buffer);
50 if (!CFStringGetFileSystemRepresentation(cfString.get(), buffer, size)) {
  /external/webkit/Source/WebCore/platform/text/brew/
TextBoundariesBrew.cpp 37 int findNextWordFromIndex(const UChar* buffer, int len, int position, bool forward)
43 void findWordBoundary(const UChar* buffer, int len, int position, int* start, int* end)
51 String str(buffer, len);
  /external/webkit/Source/WebCore/platform/win/
SharedBufferWin.cpp 49 LOG_ERROR("Failed to open file %s to create shared buffer, GetLastError() = %u", filePath.ascii().data(), GetLastError());
58 Vector<char> buffer(bytesToRead);
60 if (ReadFile(fileHandle, buffer.data(), bytesToRead, &bytesRead, 0) && bytesToRead == bytesRead)
61 result = SharedBuffer::adoptVector(buffer);

Completed in 374 milliseconds

<<21222324252627282930>>