/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 83 int WebmElement::serializePayloadSize(uint8_t *buf) { argument 84 return serializeCodedUnsigned(encodeUnsigned(mSize), buf); 87 uint64_t WebmElement::serializeInto(uint8_t *buf) { argument 88 uint8_t *cur = buf; 95 return cur - buf; 99 uint8_t buf[8]; local 101 return sizeOf(mId) + serializePayloadSize(buf) + mSize; 106 uint8_t *buf = new uint8_t[size]; local 107 serializeInto(buf); 108 return buf; 112 uint8_t buf[8]; local 139 serializePayload(uint8_t *buf) argument 153 serializePayload(uint8_t *buf) argument 173 serializePayload(uint8_t *buf) argument 183 serializePayload(uint8_t *buf) argument 204 serializePayload(uint8_t *buf) argument 205 serializeCodedUnsigned(encodeUnsigned(mTrackNum), buf); local 220 serializePayloadSize(uint8_t *buf) argument 224 serializePayload(uint8_t *buf) argument 239 serializePayloadSize(uint8_t *buf) argument 246 serializePayload(uint8_t *buf) argument 305 AudioTrackEntry( int chans, double rate, const sp<ABuffer> &buf, int bps, uint64_t uid, bool lacing, const char *lang) argument [all...] |
H A D | WebmWriter.cpp | 41 size_t XiphLaceEnc(uint8_t *buf, size_t size) { argument 44 buf[i] = 0xff; 46 buf[i++] = size;
|
/frameworks/base/core/jni/ |
H A D | android_database_CursorWindow.cpp | 228 char buf[32]; local 229 snprintf(buf, sizeof(buf), "%" PRId64, value); 230 return env->NewStringUTF(buf); 233 char buf[32]; local 234 snprintf(buf, sizeof(buf), "%g", value); 235 return env->NewStringUTF(buf); 317 char buf[32]; local 318 snprintf(buf, sizeo 322 char buf[32]; local [all...] |
H A D | android_net_LocalSocketImpl.cpp | 485 * Reads data from a socket into buf, processing any ancillary data 498 unsigned char *buf = (unsigned char *)buffer; local 506 iv.iov_base = buf; 550 void *buf, size_t len) 554 unsigned char *buffer = (unsigned char *)buf; 645 unsigned char buf; local 647 err = socket_read_all(env, object, fd, &buf, 1); 659 return (jint)buf; 549 socket_write_all(JNIEnv *env, jobject object, int fd, void *buf, size_t len) argument
|
H A D | android_opengl_GLES10Ext.cpp | 134 char* buf = (char*) _env->GetDirectBufferAddress(buffer); local 135 if (buf) { 138 buf += position << elementSizeShift; 143 return (void*) buf;
|
/frameworks/base/libs/androidfw/ |
H A D | Asset.cpp | 69 char buf[64]; local 70 sprintf(buf, ": %dK\n", (int)size); 71 res.append(buf); 436 ssize_t _FileAsset::read(void* buf, size_t count) argument 465 memcpy(buf, (char*)mMap->getDataPtr() + mOffset, count); 469 //printf("buf read\n"); 470 memcpy(buf, (char*)mBuf + mOffset, count); 488 actual = fread(buf, 1, count, mFp); 573 unsigned char* buf; local 582 buf 659 unsigned char* buf = new unsigned char[mLength]; local 760 read(void* buf, size_t count) argument 848 unsigned char* buf = NULL; local [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestWebServer.java | 329 byte[] buf; field in class:TestWebServer.Worker 356 buf = new byte[BUF_SIZE]; 426 buf[i] = 0; 450 buf[read] = (byte)data; 455 if (buf[read++]==(byte)'\n') { 477 byte[] buf = new byte[length]; 481 count = is.read(buf, read, length-read); 510 if (buf[0] == (byte)'G' && 511 buf[1] == (byte)'E' && 512 buf[ [all...] |
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferConsumer.cpp | 258 virtual status_t releaseBuffer(int buf, uint64_t frameNumber, argument 263 data.writeInt32(buf); 455 int buf = data.readInt32(); local 460 status_t result = releaseBuffer(buf, frameNumber,
|
H A D | IGraphicBufferProducer.cpp | 59 virtual status_t requestBuffer(int bufferIdx, sp<GraphicBuffer>* buf) { argument 69 *buf = new GraphicBuffer(); 70 result = reply.read(**buf); 72 (*buf).clear(); 93 virtual status_t dequeueBuffer(int *buf, sp<Fence>* fence, bool async, argument 106 *buf = reply.readInt32(); 172 virtual status_t queueBuffer(int buf, argument 176 data.writeInt32(buf); 187 virtual void cancelBuffer(int buf, const sp<Fence>& fence) { argument 190 data.writeInt32(buf); 307 int buf; local 355 int buf = data.readInt32(); local 366 int buf = data.readInt32(); local [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_context.cpp | 290 ElementArrayBuffer::ElementArrayBuffer(GLvoid *buf, GLsizeiptr size) { argument 294 if (buf != NULL) { 295 memcpy(mBuf, buf, size);
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
H A D | gl2_copyTexImage.cpp | 87 char* buf = (char*) malloc(infoLen); local 88 if (buf) { 89 glGetShaderInfoLog(shader, infoLen, NULL, buf); 91 shaderType, buf); 92 free(buf); 126 char* buf = (char*) malloc(bufLength); local 127 if (buf) { 128 glGetProgramInfoLog(program, bufLength, NULL, buf); 129 fprintf(stderr, "Could not link program:\n%s\n", buf); 130 free(buf); [all...] |
/frameworks/native/opengl/tests/gl2_yuvtex/ |
H A D | gl2_yuvtex.cpp | 94 char* buf = (char*) malloc(infoLen); local 95 if (buf) { 96 glGetShaderInfoLog(shader, infoLen, NULL, buf); 98 shaderType, buf); 99 free(buf); 103 char* buf = (char*) malloc(0x1000); local 104 if (buf) { 105 glGetShaderInfoLog(shader, 0x1000, NULL, buf); 107 shaderType, buf); 108 free(buf); 142 char* buf = (char*) malloc(bufLength); local 203 char* buf = NULL; local [all...] |
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
H A D | GLCHeader.cpp | 171 void* buf = _env->GetDirectBufferAddress(buffer); local 172 if (buf) { 175 buf = ((char*) buf) + (position << elementSizeShift); 181 buf = getPointer(_env, buffer, &array, &remaining, &offset); 183 releasePointer(_env, array, buf, 0); 185 buf = (char*)buf + offset; 191 return buf;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicBlur.cpp | 286 float4 *buf = &stackbuf[0]; local 314 buf = (float4 *) ((((intptr_t)cp->mScratch[p->lid]) + 15) & ~0xf); 316 float4 *fout = (float4 *)buf; 332 OneHU4(p, out, x1, buf, cp->mFp, cp->mIradius); 339 rsdIntrinsicBlurHFU4_K(out, buf - cp->mIradius, cp->mFp, 347 OneHU4(p, out, x1, buf, cp->mFp, cp->mIradius); 356 float buf[4 * 2048]; local 377 float *fout = (float *)buf; 394 OneHU1(p, out, x1, buf, cp->mFp, cp->mIradius); 404 rsdIntrinsicBlurHFU1_K(out, ((float *)buf) [all...] |
/frameworks/rs/driver/ |
H A D | rsdShader.cpp | 254 char* buf = (char*) malloc(infoLen); local 255 if (buf) { 256 RSD_CALL_GL(glGetShaderInfoLog, mCurrentState->mShaderID, infoLen, NULL, buf); 257 rsc->setError(RS_ERROR_FATAL_PROGRAM_LINK, buf); 258 free(buf);
|
/frameworks/rs/ |
H A D | rsType.cpp | 149 char buf[1024]; local 157 snprintf(buf, sizeof(buf), "%s element: ", prefix); 158 mElement->dumpLOGV(buf);
|
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 657 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { 663 if (buf.data != NULL && buf.length > 0) { 664 data.writeInt32(buf.length); 665 data.write(buf.data, buf.length); 1351 DrmBuffer buf((bufferSize > 0) ? (char *)data.readInplace(bufferSize) : NULL, 1355 DecryptHandle* handle = openDecryptSession(uniqueId, buf, mimeType); 656 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
|
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 463 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { 475 result = rDrmEngine.openDecryptSession(uniqueId, handle, buf, mimeType); 462 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 278 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { 279 return getDrmManagerService()->openDecryptSession(uniqueId, buf, mimeType); 277 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
|
/frameworks/av/media/libeffects/visualizer/ |
H A D | EffectVisualizer.cpp | 377 uint8_t *buf = pContext->mCaptureBuf; local 387 buf[captIdx] = ((uint8_t)smp)^0x80;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 670 const sp<ABuffer> &buf = mInputBuffers[ix]; local 671 if (buf->data() == mediaBuffer->data()) {
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 353 char buf[4]; local 354 snprintf(buf, 4, "%d", frameRate); 355 if (strstr(supportedFrameRates, buf) == NULL) {
|
H A D | MP3Extractor.cpp | 98 uint8_t buf[kMaxReadBytes]; local 103 uint8_t *tmp = buf; 116 memcpy(buf, tmp, remainingBytes); 125 buf + remainingBytes, 133 tmp = buf;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | transform.c | 42 static void Shuffle(int *buf, int num, const unsigned char* bitTab) argument 48 part0 = buf; 49 part1 = buf + num; 73 static void Radix4First(int *buf, int num) argument 80 r0 = buf[0] + buf[2]; 81 r1 = buf[1] + buf[3]; 82 r2 = buf[0] - buf[ 108 Radix8First(int *buf, int num) argument 188 Radix4FFT(int *buf, int num, int bgn, int *twidTab) argument 357 Mdct_Long(int *buf) argument 375 Mdct_Short(int *buf) argument [all...] |
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 213 char* buf = (char*) malloc(infoLen); local 214 if (buf) { 215 glGetShaderInfoLog(shader, infoLen, NULL, buf); 216 printf("Shader compile log:\n%s\n", buf); 217 free(buf); 221 char* buf = (char*) malloc(0x1000); local 222 if (buf) { 223 glGetShaderInfoLog(shader, 0x1000, NULL, buf); 224 printf("Shader compile log:\n%s\n", buf); 225 free(buf); 269 char* buf = (char*) malloc(bufLength); local 540 fillYV12Buffer(uint8_t* buf, int w, int h, int stride) argument 570 fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, const android_native_rect_t& rect) argument [all...] |