Home | History | Annotate | Download | only in xcore

Lines Matching refs:buf

28     friend SmartPtr<DmaVideoBuffer> external_buf_to_dma_buf (XCamVideoBuffer *buf);
30 DmaVideoBufferPriv (const VideoBufferInfo &info, XCamVideoBuffer *buf);
70 DmaVideoBufferPriv::DmaVideoBufferPriv (const VideoBufferInfo &info, XCamVideoBuffer *buf)
71 : DmaVideoBuffer (info, xcam_video_buffer_get_fd (buf), false)
72 , _external_buf (buf)
74 if (buf->ref)
75 xcam_video_buffer_ref (buf);
85 external_buf_to_dma_buf (XCamVideoBuffer *buf)
91 ERROR, buf, NULL,
92 "external_buf_to_dma_buf failed since buf is NULL");
95 if (buf->get_fd)
96 buffer_fd = xcam_video_buffer_get_fd(buf);
100 "external_buf_to_dma_buf failed, can't get buf file-handle");
102 buf_info.init (buf->info.format, buf->info.width, buf->info.height,
103 buf->info.aligned_width, buf->info.aligned_height, buf->info.size);
104 video_buffer = new DmaVideoBufferPriv (buf_info, buf);