Lines Matching refs:src
149 static EGLImageBuffer* L_wrap(const private_handle_t *src) in L_wrap() argument
154 native_handle_t *native_handle = const_cast<private_handle_t *>(src); in L_wrap()
160 if (src->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER) { in L_wrap()
165 new android::GraphicBuffer(src->unaligned_width, src->unaligned_height, src->format, in L_wrap()
169 flags, src->width /*src->stride*/, in L_wrap()
181 const private_handle_t *src = static_cast<const private_handle_t *>(pvt_handle); in wrap() local
184 int ion_cookie = get_ion_cookie(ion_fd, src->fd); in wrap()
188 eglImage = L_wrap(src); in wrap()
194 string buffStr = get_ion_buff_str(src->fd); in wrap()
201 eglImage = L_wrap(src); in wrap()
207 ALOGE("Could not provide an eglImage for fd = %d, EGLImageWrapper = %p", src->fd, this); in wrap()