Lines Matching defs:native_buffer
1188 android_native_buffer_t* native_buffer = (android_native_buffer_t*)buffer;
1190 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
1193 if (native_buffer->common.version != sizeof(android_native_buffer_t))
1196 cb_handle_t *cb = (cb_handle_t *)(native_buffer->handle);
1209 native_buffer->common.incRef(&native_buffer->common);
1210 return (EGLImageKHR)native_buffer;
1216 android_native_buffer_t* native_buffer = (android_native_buffer_t*)img;
1218 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
1221 if (native_buffer->common.version != sizeof(android_native_buffer_t))
1224 native_buffer->common.decRef(&native_buffer->common);