Home
last modified time | relevance | path

Searched refs:buf_pool (Results 1 – 12 of 12) sorted by relevance

/external/libxcam/tests/
Dtest-cl-image.cpp178 SmartPtr<BufferPool> buf_pool; in main() local
500 buf_pool = new CLVideoBufferPool (); in main()
502 buf_pool->set_video_info (input_buf_info); in main()
503 if (!buf_pool->reserve (6)) { in main()
510 input_buf = buf_pool->get_buffer (buf_pool); in main()
544 buf_pool = new CLVideoBufferPool (); in main()
545 XCAM_ASSERT (buf_pool.ptr ()); in main()
546 buf_pool->set_video_info (input_buf_info); in main()
547 if (!buf_pool->reserve (6)) { in main()
552 psnr_ref = buf_pool->get_buffer (buf_pool); in main()
Dtest-video-stabilization.cpp67 SmartPtr<BufferPool> buf_pool; in main() local
204 buf_pool = new CLVideoBufferPool (); in main()
205 XCAM_ASSERT (buf_pool.ptr ()); in main()
206 buf_pool->set_video_info (input_buf_info); in main()
207 if (!buf_pool->reserve (36)) { in main()
235 input_buf = buf_pool->get_buffer (buf_pool); in main()
Dtest-pipe-manager.cpp203 SmartPtr<BufferPool> buf_pool; in main() local
419 buf_pool = new CLVideoBufferPool (); in main()
420 XCAM_ASSERT (buf_pool.ptr ()); in main()
421 if (!buf_pool->set_video_info (buf_info) || !buf_pool->reserve (DEFAULT_FPT_BUF_COUNT)) { in main()
451 video_buf = buf_pool->get_buffer (buf_pool); in main()
Dtest-image-stitching.cpp166 SmartPtr<BufferPool> buf_pool[XCAM_STITCH_FISHEYE_MAX_NUM]; in main() local
429 buf_pool[i] = new CLVideoBufferPool (); in main()
430 XCAM_ASSERT (buf_pool[i].ptr ()); in main()
431 buf_pool[i]->set_video_info (input_buf_info); in main()
432 if (!buf_pool[i]->reserve (6)) { in main()
503 cur_buf = buf_pool[i]->get_buffer (buf_pool[i]); in main()
Dtest-image-blend.cpp141 SmartPtr<BufferPool> buf_pool = new DrmBoBufferPool (display); in create_dma_buffer() local
142 buf_pool->set_video_info (info); in create_dma_buffer()
143 buf_pool->reserve (1); in create_dma_buffer()
144 return buf_pool->get_buffer (buf_pool); in create_dma_buffer()
/external/libxcam/wrapper/gstreamer/
Dgstxcamfilter.cpp574 xcamfilter->buf_pool = new CLVideoBufferPool (); in gst_xcam_filter_start()
575 XCAM_ASSERT (xcamfilter->buf_pool.ptr ()); in gst_xcam_filter_start()
597 SmartPtr<BufferPool> buf_pool = xcamfilter->buf_pool; in gst_xcam_filter_stop() local
598 if (buf_pool.ptr ()) in gst_xcam_filter_stop()
599 buf_pool->stop (); in gst_xcam_filter_stop()
757 SmartPtr<BufferPool> buf_pool = xcamfilter->buf_pool; in gst_xcam_filter_set_caps() local
758 XCAM_ASSERT (buf_pool.ptr ()); in gst_xcam_filter_set_caps()
759 if (!buf_pool->set_video_info (buf_info) || in gst_xcam_filter_set_caps()
760 !buf_pool->reserve (xcamfilter->buf_count)) { in gst_xcam_filter_set_caps()
891 SmartPtr<BufferPool> buf_pool = xcamfilter->buf_pool; in gst_xcam_filter_before_transform() local
[all …]
Dgstxcamfilter.h97 XCam::SmartPtr<XCam::BufferPool> buf_pool; member
/external/libxcam/capi/
Dxcam_handle.cpp192 SmartPtr<BufferPool> buf_pool = context->get_input_buffer_pool(); in copy_external_buf_to_drm_buf() local
193 XCAM_ASSERT (buf_pool.ptr ()); in copy_external_buf_to_drm_buf()
194 SmartPtr<VideoBuffer> video_buf = buf_pool->get_buffer (buf_pool); in copy_external_buf_to_drm_buf()
/external/libxcam/modules/soft/
Dsoft_stitcher.cpp137 SmartPtr<BufferPool> buf_pool; member
301 fisheye.buf_pool = new SoftVideoBufAllocator (buf_info); in init_fisheye()
302 XCAM_ASSERT (fisheye.buf_pool.ptr ()); in init_fisheye()
304 ERROR, fisheye.buf_pool->reserve (2), XCAM_RETURN_ERROR_MEM, in init_fisheye()
461 SmartPtr<VideoBuffer> out_buf = _fisheye[i].buf_pool->get_buffer (); in start_dewarp_works()
691 if (_fisheye[i].buf_pool.ptr ()) { in stop()
692 _fisheye[i].buf_pool->stop (); in stop()
/external/libxcam/modules/ocl/
Dcl_image_360_stitch.cpp673 CLImage360Stitch::create_buffer_pool (SmartPtr<BufferPool> &buf_pool, uint32_t width, uint32_t heig… in create_buffer_pool() argument
680 buf_pool = new CLVideoBufferPool (); in create_buffer_pool()
681 XCAM_ASSERT (buf_pool.ptr ()); in create_buffer_pool()
682 buf_pool->set_video_info (buf_info); in create_buffer_pool()
683 if (!buf_pool->reserve (6)) { in create_buffer_pool()
Dcl_image_360_stitch.h115 bool create_buffer_pool (SmartPtr<BufferPool> &buf_pool, uint32_t width, uint32_t height);
/external/u-boot/drivers/net/
Duli526x.c161 static char buf_pool[TX_BUF_ALLOC * TX_DESC_CNT + 4]; variable
281 db->buf_pool_ptr = (uchar *)&buf_pool[0]; in uli526x_init_one()
282 db->buf_pool_dma_ptr = (dma_addr_t)&buf_pool[0]; in uli526x_init_one()