HomeSort by relevance Sort by last modified time
    Searched defs:hnd (Results 51 - 75 of 140) sorted by null

1 23 4 5 6

  /hardware/qcom/display/msm8909w_3100/libcopybit/
copybit.cpp 160 private_handle_t* hnd = (private_handle_t*)rhs->handle; local
161 if(hnd == NULL){
168 img->offset = (uint32_t)hnd->offset;
169 img->memory_id = hnd->fd;
software_converter.cpp 38 private_handle_t* hnd = (private_handle_t*)src->handle; local
40 if(hnd == NULL || yv12_handle == NULL){
60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size);
61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size);
182 int convert_yuv_c2d_to_yuv_android(private_handle_t *hnd,
186 if (!hnd || !rhs) {
187 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs);
216 ret = copy_source_to_destination((uintptr_t) hnd->base, (uintptr_t) dst_hnd->base, info);
228 int convert_yuv_android_to_yuv_c2d(private_handle_t *hnd,
    [all...]
  /hardware/qcom/display/msm8909w_3100/libgralloc/
gpu.cpp 163 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, local
167 hnd->offset = data.offset;
168 hnd->base = (uint64_t)(data.base) + data.offset;
169 hnd->gpuaddr = 0;
171 setMetaData(hnd, UPDATE_COLOR_SPACE, (void*) &colorSpace);
172 *pHandle = hnd;
227 private_handle_t* hnd = new private_handle_t( local
242 hnd->base = vaddr;
243 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base);
244 *pHandle = hnd;
405 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); local
    [all...]
  /hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
hwc_buffer_allocator.cpp 95 private_handle_t *hnd = nullptr; local
97 producer_usage, consumer_usage, &hnd);
99 if (hnd) {
100 alloc_buffer_info->fd = hnd->fd;
101 alloc_buffer_info->stride = UINT32(hnd->width);
102 alloc_buffer_info->size = hnd->size;
108 buffer_info->private_data = reinterpret_cast<void *>(hnd);
114 buffer_handle_t hnd = static_cast<private_handle_t *>(buffer_info->private_data); local
115 ReleaseBuffer_(gralloc_device_, hnd);
342 private_handle_t hnd(-1, 0, 0, 0, 0, 0, 0)
    [all...]
  /hardware/qcom/display/msm8960/libcopybit/
software_converter.cpp 38 private_handle_t* hnd = (private_handle_t*)src->handle; local
40 if(hnd == NULL || yv12_handle == NULL){
60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size);
61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size);
181 int convert_yuv_c2d_to_yuv_android(private_handle_t *hnd,
185 if (!hnd || !rhs) {
186 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs);
215 ret = copy_source_to_destination(hnd->base, dst_hnd->base, info);
227 int convert_yuv_android_to_yuv_c2d(private_handle_t *hnd,
    [all...]
  /hardware/qcom/display/msm8960/libgralloc/
alloc_controller.cpp 373 private_handle_t* hnd = new private_handle_t(data.fd, data.size, local
376 hnd->base = (int) data.base;
377 hnd->offset = data.offset;
378 hnd->gpuaddr = 0;
379 *pHnd = hnd;
383 void free_buffer(private_handle_t *hnd)
387 if (hnd && hnd->fd > 0) {
388 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags);
389 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd)
    [all...]
gpu.cpp 145 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, local
149 hnd->offset = data.offset;
150 hnd->base = int(data.base) + data.offset;
151 hnd->gpuaddr = 0;
153 *pHandle = hnd;
213 private_handle_t* hnd = new private_handle_t( local
228 hnd->base = vaddr;
229 hnd->offset = vaddr - intptr_t(m->framebuffer->base);
230 *pHandle = hnd;
313 int gpu_context_t::free_impl(private_handle_t const* hnd) {
368 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); local
    [all...]
mapper.cpp 60 private_handle_t* hnd = (private_handle_t*)handle; local
62 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) &&
63 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) {
64 size_t size = hnd->size;
65 IMemAlloc* memalloc = getAllocator(hnd->flags) ;
67 hnd->offset, hnd->fd);
70 handle, hnd->fd, strerror(errno));
71 hnd->base = 0;
75 hnd->base = intptr_t(mappedAddress) + hnd->offset
94 private_handle_t* hnd = (private_handle_t*)handle; local
208 private_handle_t* hnd = (private_handle_t*)handle; local
239 private_handle_t* hnd = (private_handle_t*)handle; local
251 private_handle_t* hnd = (private_handle_t*)handle; local
307 private_handle_t* hnd = (private_handle_t*)handle; local
349 private_handle_t* hnd = (private_handle_t*)native_handle_create( local
372 private_handle_t* hnd = va_arg(args, private_handle_t*); local
393 private_handle_t* hnd = va_arg(args, private_handle_t*); local
    [all...]
  /hardware/qcom/display/msm8994/libcopybit/
copybit.cpp 152 private_handle_t* hnd = (private_handle_t*)rhs->handle; local
153 if(hnd == NULL){
160 img->offset = (uint32_t)hnd->offset;
161 img->memory_id = hnd->fd;
software_converter.cpp 39 private_handle_t* hnd = (private_handle_t*)src->handle; local
41 if(hnd == NULL || yv12_handle == NULL){
61 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size);
62 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size);
183 int convert_yuv_c2d_to_yuv_android(private_handle_t *hnd,
187 if (!hnd || !rhs) {
188 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs);
217 ret = copy_source_to_destination((uintptr_t) hnd->base, (uintptr_t) dst_hnd->base, info);
229 int convert_yuv_android_to_yuv_c2d(private_handle_t *hnd,
    [all...]
  /hardware/qcom/display/msm8994/libgralloc/
gpu.cpp 180 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, local
184 hnd->offset = data.offset;
185 hnd->base = (uint64_t)(data.base) + data.offset;
186 hnd->gpuaddr = 0;
187 setMetaData(hnd, UPDATE_COLOR_SPACE, (void*) &colorSpace);
189 *pHandle = hnd;
248 private_handle_t* hnd = new private_handle_t( local
263 hnd->base = vaddr;
264 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base);
265 *pHandle = hnd;
346 auto hnd = (private_handle_t*) *pHandle; local
411 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); local
    [all...]
  /hardware/qcom/display/msm8994/libhwcomposer/
hwc_ad.cpp 135 private_handle_t *hnd = (private_handle_t *)layer->handle; local
137 if(hnd && hnd->width <= (int) mdpHw.getMaxPipeWidth()) {
157 const private_handle_t *hnd) {
179 if(isSecureBuffer(hnd)) {
180 if(!wb->setSecure(isSecureBuffer(hnd))) {
186 if(!wb->configureDpyInfo(hnd->width, hnd->height)) {
201 size = getBufferSizeAndDimensions(hnd->width, hnd->height
    [all...]
hwc_dump_layers.cpp 230 private_handle_t *hnd = (private_handle_t *)layer->handle; local
243 if (hnd)
244 getHalPixelFormatStr(hnd->format, pixFormatStr);
249 (hnd)? getWidth(hnd) : -1, (hnd)? getHeight(hnd) : -1,
307 private_handle_t *hnd = (private_handle_t *)layer->handle; local
310 if (NULL == hnd) {
316 getHalPixelFormatStr(hnd->format, pixFormatStr)
    [all...]
  /hardware/qcom/display/msm8996/libcopybit/
copybit.cpp 158 private_handle_t* hnd = (private_handle_t*)rhs->handle; local
159 if(hnd == NULL){
166 img->offset = (uint32_t)hnd->offset;
167 img->memory_id = hnd->fd;
software_converter.cpp 38 private_handle_t* hnd = (private_handle_t*)src->handle; local
40 if(hnd == NULL || yv12_handle == NULL){
60 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size);
61 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size);
182 int convert_yuv_c2d_to_yuv_android(private_handle_t *hnd,
186 if (!hnd || !rhs) {
187 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs);
216 ret = copy_source_to_destination((uintptr_t) hnd->base, (uintptr_t) dst_hnd->base, info);
228 int convert_yuv_android_to_yuv_c2d(private_handle_t *hnd,
    [all...]
  /hardware/qcom/display/msm8996/libgralloc/
gpu.cpp 163 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, local
167 hnd->offset = data.offset;
168 hnd->base = (uint64_t)(data.base) + data.offset;
169 hnd->gpuaddr = 0;
171 setMetaData(hnd, UPDATE_COLOR_SPACE, (void*) &colorSpace);
173 *pHandle = hnd;
229 private_handle_t* hnd = new private_handle_t( local
244 hnd->base = vaddr;
245 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base);
246 *pHandle = hnd;
341 auto hnd = (private_handle_t*) *pHandle; local
406 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); local
    [all...]
  /hardware/qcom/display/msm8998/libcopybit/
copybit.cpp 158 private_handle_t* hnd = (private_handle_t*)rhs->handle; local
159 if(hnd == NULL){
166 img->offset = (uint32_t)hnd->offset;
167 img->memory_id = hnd->fd;
software_converter.cpp 40 private_handle_t* hnd = (private_handle_t*)src->handle; local
42 if(hnd == NULL || yv12_handle == NULL){
62 unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size);
63 memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size);
184 int convert_yuv_c2d_to_yuv_android(private_handle_t *hnd,
188 if (!hnd || !rhs) {
189 ALOGE("%s: invalid inputs hnd=%p rhs=%p", __FUNCTION__, hnd, rhs);
218 ret = copy_source_to_destination((uintptr_t) hnd->base, (uintptr_t) dst_hnd->base, info);
230 int convert_yuv_android_to_yuv_c2d(private_handle_t *hnd,
    [all...]
  /device/google/cuttlefish_common/guest/hals/gralloc/legacy/
gralloc_vsoc_priv.h 107 const private_handle_t* hnd = (const private_handle_t*)h; local
139 if (hnd->magic != sMagic) {
144 hnd->magic,
  /device/linaro/hikey/gralloc/
alloc_device.cpp 162 private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_USES_ION, usage, size, cpu_ptr, private_handle_t::LOCK_STATE_MAPPED); local
164 if (NULL != hnd)
166 hnd->share_fd = shared_fd;
167 *pHandle = hnd;
228 private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_USES_UMP, usage, size, cpu_ptr, local
231 if (NULL != hnd)
233 *pHandle = hnd;
319 private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, usage, size, vaddr, local
322 hnd->ump_id = m->framebuffer->ump_id;
325 if ((int)UMP_INVALID_SECURE_ID != hnd->ump_id
501 private_handle_t *hnd = (private_handle_t *)*pHandle; local
540 private_handle_t const *hnd = reinterpret_cast<private_handle_t const *>(handle); local
    [all...]
  /external/curl/docs/examples/
http2-upload.c 53 static int hnd2num(CURL *hnd)
57 if(curl_hnd[i] == hnd)
172 CURL *hnd; member in struct:input
185 static void setup(CURL *hnd, int num, const char *upload)
203 indata[num].hnd = hnd;
206 curl_easy_setopt(hnd, CURLOPT_WRITEDATA, out);
209 curl_easy_setopt(hnd, CURLOPT_READFUNCTION, read_callback);
211 curl_easy_setopt(hnd, CURLOPT_READDATA, &indata[num]);
213 curl_easy_setopt(hnd, CURLOPT_INFILESIZE_LARGE, uploadsize)
    [all...]
  /frameworks/native/opengl/libs/EGL/
Loader.cpp 145 int Loader::driver_t::set(void* hnd, int32_t api)
149 dso[0] = hnd;
152 dso[1] = hnd;
155 dso[2] = hnd;
224 driver_t* hnd = 0; local
230 hnd = new driver_t(dso);
235 hnd = new driver_t(dso);
236 hnd->set( load_driver("GLESv1_CM", cnx, GLESv1_CM), GLESv1_CM );
237 hnd->set( load_driver("GLESv2", cnx, GLESv2), GLESv2 );
241 LOG_ALWAYS_FATAL_IF(!hnd, "couldn't find an OpenGL ES implementation")
258 driver_t* hnd = (driver_t*)driver; local
    [all...]
  /hardware/qcom/display/msm8084/libgralloc/
alloc_controller.cpp 558 int getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr)
566 switch (hnd->format) {
572 ystride = cstride = hnd->width;
573 ycbcr->y = (void*)hnd->base;
574 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height);
575 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1);
587 ystride = cstride = hnd->width;
588 ycbcr->y = (void*)hnd->base
649 private_handle_t* hnd = new private_handle_t(data.fd, data.size, local
    [all...]
framebuffer.cpp 90 private_handle_t *hnd = static_cast<private_handle_t*> local
92 const size_t offset = hnd->base - m->framebuffer->base;
  /hardware/qcom/display/msm8226/libgralloc/
alloc_controller.cpp 553 int getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr)
561 switch (hnd->format) {
567 ystride = cstride = hnd->width;
568 ycbcr->y = (void*)hnd->base;
569 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height);
570 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1);
581 ystride = cstride = hnd->width;
582 ycbcr->y = (void*)hnd->base
643 private_handle_t* hnd = new private_handle_t(data.fd, data.size, local
    [all...]

Completed in 685 milliseconds

1 23 4 5 6