/libcore/benchmarks/src/benchmarks/regression/ |
ThreadLocalBenchmark.java | 20 private static final ThreadLocal<char[]> BUFFER = new ThreadLocal<char[]>() { 28 BUFFER.get();
|
/hardware/intel/img/psb_video/src/android/ |
psb_output_android.c | 54 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 104 // Open the frame buffer for reading
|
psb_surface_gralloc.c | 45 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 189 /*hard code the gralloc buffer usage*/ 354 /*hard code the gralloc buffer usage*/ 360 // video decoder allows app to read/write the buffer 386 drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s : Create graphic buffer initialized share info %d",__FUNCTION__, decoder_share_info); 416 drv_debug_msg(VIDEO_DEBUG_ERROR, "Failed to lock graphic buffer in psb_video"); 454 drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s : Create graphic buffer success"
|
/hardware/intel/img/psb_video/src/ |
pnw_H263ES.c | 48 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 294 ctx->coded_buf = BUFFER(pBuffer->coded_buf); 437 /* Insert do slice command and setup related buffer value */ 450 pBuffer++; /*Move to the next buffer*/
|
psb_surface_attrib.c | 47 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 134 struct v4l2_buffer *v4l2_buf, /* V4L2 buffer */ 158 drv_debug_msg(VIDEO_DEBUG_ERROR, "The buffer address 0x%08x must be page aligned\n", tmp); 176 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Create Surface from V4L2 buffer: %dx%d, stride=%d, buffer offset=0x%08x, size=%d\n", 263 unsigned size, /* total buffer size need to be allocated */ 284 "\n\t\t\t\t\tnum_surface %d, buffer size %d, fourcc 0x%08x" 416 unsigned int kbuf_handle, /* kernel buffer handle*/ 417 unsigned size, /* kernel buffer size */ 437 "\n\t\t\t\t\tnum_surface %d, buffer size %d, fourcc 0x%08x [all...] |
vsp_compose.c | 41 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id ))
|
pnw_MPEG4ES.c | 48 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 338 ctx->coded_buf = BUFFER(pBuffer->coded_buf); 430 /*The corresponding slice buffer cache*/
|
pnw_jpeg.c | 46 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 220 /*It will be figured out when known the size of whole coded buffer.*/ 264 /* Initialise the command buffer */ 382 ctx->coded_buf = BUFFER(pBuffer->coded_buf); 386 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s L%d Invalid coded buffer handle\n", __FUNCTION__, __LINE__); 423 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Coded buffer total size is %d," 450 pBufHeader->ui32Reserved3 = PNW_JPEG_HEADER_MAX_SIZE;//Next coded buffer offset 453 drv_debug_msg(VIDEO_DEBUG_GENERAL, "JPEG Buffer Header size: %d, File Header size :%d, next codef buffer offset: %d\n", 581 // Final scan, may need fewer MCUs than buffer size, calculate the remainde [all...] |
tng_H263ES.c | 57 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 304 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s L%d Invalid coded buffer handle\n", __FUNCTION__, __LINE__); 329 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf); 332 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s L%d Invalid coded buffer handle\n", __FUNCTION__, __LINE__);
|
tng_MPEG4ES.c | 57 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 320 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s L%d Invalid coded buffer handle\n", __FUNCTION__, __LINE__); 341 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf); 344 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s L%d Invalid coded buffer handle\n", __FUNCTION__, __LINE__);
|
pnw_H264ES.c | 50 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 457 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Insert SEI buffer period message with " 611 ctx->coded_buf = BUFFER(pBuffer->coded_buf); 617 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s L%d Invalid coded buffer handle\n", __FUNCTION__, __LINE__); 695 drv_debug_msg(VIDEO_DEBUG_GENERAL, "TOPAZ: won't splite coded buffer(%d) since only one slice being encoded\n", 805 /* Insert do slice command and setup related buffer value */ [all...] |
tng_yuv_processor.c | 125 psb_buffer_p buffer; local 155 buffer = &src_surface->buf; 156 psb_cmdbuf_rendec_write_address(cmdbuf, buffer, buffer->buffer_ofs); 157 psb_cmdbuf_rendec_write_address(cmdbuf, buffer, 158 buffer->buffer_ofs + 312 object_buffer_p buffer) 315 object_buffer_p obj_buffer = buffer; 373 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 541 buf = BUFFER(*(filters)) [all...] |
tng_H264ES.c | 63 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 395 "initial buffer fullness set to %d\n", 511 // decoded picture buffer size, and bitrate 798 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s L%d Invalid coded buffer handle\n", __FUNCTION__, __LINE__); 813 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf); 820 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf); 825 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s L%d Invalid coded buffer handle\n", __FUNCTION__, __LINE__); [all...] |
tng_jpegES.c | 88 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 485 pJPEGContext->sScan_Encode_Info.aBufferTable[ui8Loop].i8PipeNumber = 0; // Indicates buffer is idle 486 pJPEGContext->sScan_Encode_Info.aBufferTable[ui8Loop].ui16ScanNumber = 0; // Indicates buffer is idle 634 pui8S = (IMG_UINT8 *)BitStream->Buffer; 650 s_streamW.Buffer = puc_stream_buff; [all...] |
vsp_vp8.c | 41 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 338 /* re-alloc buffer */ 412 object_buffer_p pObj = BUFFER(va_pic->coded_buf); //tobe modified 745 /* Initialise the command buffer */ [all...] |
psb_drv_video.c | 138 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 812 * VPP Read indicate we do not NOT touch share info (for data consumer, which share buffer with data 959 /* Free PVR2D buffer wrapped from the surfaces */ [all...] |
psb_output.c | 59 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 419 /* create the buffer */ 515 /* create a buffer to represent surface buffer */ 517 obj_buffer = BUFFER(bufferID); 618 if (obj_surface == NULL) { /* destroy the buffer */ 619 object_buffer_p obj_buffer = BUFFER(obj_image->image.buf); 623 object_buffer_p obj_buffer = BUFFER(obj_image->image.buf); 893 object_buffer_p obj_buffer = BUFFER(obj_image->image.buf); 899 drv_debug_msg(VIDEO_DEBUG_ERROR, "Map buffer failed\n") [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
IntegralToString.java | 39 private static final ThreadLocal<char[]> BUFFER = new ThreadLocal<char[]>() { 209 char[] buf = (sb != null) ? BUFFER.get() : new char[bufLen]; 328 char[] buf = (sb != null) ? BUFFER.get() : new char[bufLen];
|
/hardware/intel/img/psb_video/src/mrst/ |
lnc_H263ES.c | 49 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 269 ctx->coded_buf = BUFFER(pBuffer->coded_buf); 389 /*The corresponding slice buffer cache*/ 406 /* Insert do slice command and setup related buffer value */ 420 pBuffer++; /*Move to the next buffer*/
|
lnc_MPEG4ES.c | 49 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 300 ctx->coded_buf = BUFFER(pBuffer->coded_buf); 375 /*The corresponding slice buffer cache*/
|
lnc_H264ES.c | 53 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id )) 336 ctx->coded_buf = BUFFER(pBuffer->coded_buf); 390 /*Record if EOSEQ or EOSTREAM should be appended to the coded buffer.*/ 393 " Will append EOSEQ/EOSTREAM to the coded buffer.\n"); 521 /*The corresponding slice buffer cache*/ 525 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Cache slice%d's parameter buffer at index %d\n", i, slice_param_idx); 540 /* Insert do slice command and setup related buffer value */ 553 pBuffer++; /* Move to the next buffer */ [all...] |
/hardware/intel/img/psb_video/src/x11/ |
psb_ctexture.c | 55 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 114 /* reset buffer to prevent non-video area distorting when rendering into part of a drawable */ 149 /* free the previous drawable buffer */ 189 drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_dri_init: Now map buffer, DRI2 back buffer export type: DRI2_BACK_BUFFER_EXPORT_TYPE_BUFFERS\n"); 199 drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_dri_init: Now map buffer, DRI2 back buffer export type: DRI2_BACK_BUFFER_EXPORT_TYPE_SWAPCHAIN\n"); 483 drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_putsurface_ctexture: Main video, swap buffer, coordinate: srcx= %d, srcy=%d, srcw=%d, srch=%d, destx=%d, desty=%d, destw=%d, desth=%d, cur_buffer=%d\n",
|
psb_x11.c | 52 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &driver_data->buffer_heap, id )) 377 /* close dri fd and release all drawable buffer */
|
/external/deqp/modules/egl/ |
teglGLES2SharingTests.cpp | 74 BUFFER = 0, 847 char buffer[256]; local 848 GLU_CHECK_GLW_CALL(m_gl, getShaderInfoLog(m_shader, 256, DE_NULL, buffer)); 866 m_log << tcu::TestLog::Message << buffer << tcu::TestLog::EndMessage; 928 char buffer[256]; local 929 GLU_CHECK_GLW_CALL(m_gl, getShaderInfoLog(otherShader, 256, DE_NULL, buffer)); 947 m_log << tcu::TestLog::Message << buffer << tcu::TestLog::EndMessage; 965 char buffer[256]; local 966 GLU_CHECK_GLW_CALL(m_gl, getProgramInfoLog(program, 256, DE_NULL, buffer)); 972 m_log << tcu::TestLog::Message << buffer << tcu::TestLog::EndMessage 1110 TestCaseGroup* buffer = new TestCaseGroup(m_eglTestCtx, "buffer", "Buffer creation, destruction and rendering test"); local [all...] |
/external/selinux/libsepol/cil/src/ |
cil_policy.c | 69 #define BUFFER 1024 89 char temp[BUFFER]; 95 rc_read = fread(temp, 1, BUFFER, file_arr[i]); [all...] |