Home
last modified time | relevance | path

Searched refs:src_hnd (Results 1 – 19 of 19) sorted by relevance

/hardware/qcom/display/msm8960/libcopybit/
Dcopybit_c2d.cpp1221 private_handle_t* src_hnd = new private_handle_t(-1, 0, 0, 0, src_info.format, in stretch_copybit_internal() local
1223 if (NULL == src_hnd) { in stretch_copybit_internal()
1237 delete_handle(src_hnd); in stretch_copybit_internal()
1242 src_hnd->fd = ctx->temp_src_buffer.fd; in stretch_copybit_internal()
1243 src_hnd->size = ctx->temp_src_buffer.size; in stretch_copybit_internal()
1244 src_hnd->flags = ctx->temp_src_buffer.allocType; in stretch_copybit_internal()
1245 src_hnd->base = (int)(ctx->temp_src_buffer.base); in stretch_copybit_internal()
1246 src_hnd->offset = ctx->temp_src_buffer.offset; in stretch_copybit_internal()
1247 src_hnd->gpuaddr = 0; in stretch_copybit_internal()
1248 src_image.handle = src_hnd; in stretch_copybit_internal()
[all …]
Dcopybit.cpp462 private_handle_t* src_hnd = (private_handle_t*)src->handle; in stretch_copybit() local
463 if(src_hnd != NULL && src_hnd->flags & private_handle_t::PRIV_FLAGS_DO_NOT_FLUSH) { in stretch_copybit()
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit_c2d.cpp1233 private_handle_t* src_hnd = new private_handle_t(-1, 0, 0, 0, src_info.format, in stretch_copybit_internal() local
1235 if (NULL == src_hnd) { in stretch_copybit_internal()
1249 delete_handle(src_hnd); in stretch_copybit_internal()
1254 src_hnd->fd = ctx->temp_src_buffer.fd; in stretch_copybit_internal()
1255 src_hnd->size = ctx->temp_src_buffer.size; in stretch_copybit_internal()
1256 src_hnd->flags = ctx->temp_src_buffer.allocType; in stretch_copybit_internal()
1257 src_hnd->base = (uintptr_t)(ctx->temp_src_buffer.base); in stretch_copybit_internal()
1258 src_hnd->offset = ctx->temp_src_buffer.offset; in stretch_copybit_internal()
1259 src_hnd->gpuaddr = 0; in stretch_copybit_internal()
1260 src_image.handle = src_hnd; in stretch_copybit_internal()
[all …]
Dcopybit.cpp517 private_handle_t* src_hnd = (private_handle_t*)src->handle; in stretch_copybit() local
518 if(src_hnd != NULL && in stretch_copybit()
519 (!(src_hnd->flags & private_handle_t::PRIV_FLAGS_CACHED))) { in stretch_copybit()
527 if (src_hnd != NULL) in stretch_copybit()
528 metadata = (MetaData_t *)src_hnd->base_metadata; in stretch_copybit()
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit_c2d.cpp1256 private_handle_t* src_hnd = new private_handle_t(-1, 0, 0, 0, src_info.format, in stretch_copybit_internal() local
1258 if (NULL == src_hnd) { in stretch_copybit_internal()
1272 delete_handle(src_hnd); in stretch_copybit_internal()
1277 src_hnd->fd = ctx->temp_src_buffer.fd; in stretch_copybit_internal()
1278 src_hnd->size = ctx->temp_src_buffer.size; in stretch_copybit_internal()
1279 src_hnd->flags = ctx->temp_src_buffer.allocType; in stretch_copybit_internal()
1280 src_hnd->base = (uintptr_t)(ctx->temp_src_buffer.base); in stretch_copybit_internal()
1281 src_hnd->offset = ctx->temp_src_buffer.offset; in stretch_copybit_internal()
1282 src_hnd->gpuaddr = 0; in stretch_copybit_internal()
1283 src_image.handle = src_hnd; in stretch_copybit_internal()
[all …]
Dcopybit.cpp522 private_handle_t* src_hnd = (private_handle_t*)src->handle; in stretch_copybit() local
523 if(src_hnd != NULL && in stretch_copybit()
524 (!(src_hnd->flags & private_handle_t::PRIV_FLAGS_CACHED))) { in stretch_copybit()
532 if (src_hnd != NULL) in stretch_copybit()
533 metadata = (MetaData_t *)src_hnd->base_metadata; in stretch_copybit()
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit_c2d.cpp1255 private_handle_t* src_hnd = new private_handle_t(-1, 0, 0, 0, src_info.format, in stretch_copybit_internal() local
1257 if (NULL == src_hnd) { in stretch_copybit_internal()
1271 delete_handle(src_hnd); in stretch_copybit_internal()
1276 src_hnd->fd = ctx->temp_src_buffer.fd; in stretch_copybit_internal()
1277 src_hnd->size = ctx->temp_src_buffer.size; in stretch_copybit_internal()
1278 src_hnd->flags = ctx->temp_src_buffer.allocType; in stretch_copybit_internal()
1279 src_hnd->base = (uintptr_t)(ctx->temp_src_buffer.base); in stretch_copybit_internal()
1280 src_hnd->offset = ctx->temp_src_buffer.offset; in stretch_copybit_internal()
1281 src_hnd->gpuaddr = 0; in stretch_copybit_internal()
1282 src_image.handle = src_hnd; in stretch_copybit_internal()
[all …]
Dcopybit.cpp502 private_handle_t* src_hnd = (private_handle_t*)src->handle; in stretch_copybit() local
503 if(src_hnd != NULL && src_hnd->flags & private_handle_t::PRIV_FLAGS_DO_NOT_FLUSH) { in stretch_copybit()
/hardware/qcom/display/sdm845/libcopybit/
Dcopybit_c2d.cpp1256 private_handle_t* src_hnd = new private_handle_t(-1, 0, 0, 0, src_info.format, in stretch_copybit_internal() local
1258 if (NULL == src_hnd) { in stretch_copybit_internal()
1272 delete_handle(src_hnd); in stretch_copybit_internal()
1277 src_hnd->fd = ctx->temp_src_buffer.fd; in stretch_copybit_internal()
1278 src_hnd->size = ctx->temp_src_buffer.size; in stretch_copybit_internal()
1279 src_hnd->flags = ctx->temp_src_buffer.allocType; in stretch_copybit_internal()
1280 src_hnd->base = (uintptr_t)(ctx->temp_src_buffer.base); in stretch_copybit_internal()
1281 src_hnd->offset = ctx->temp_src_buffer.offset; in stretch_copybit_internal()
1282 src_hnd->gpuaddr = 0; in stretch_copybit_internal()
1283 src_image.handle = src_hnd; in stretch_copybit_internal()
[all …]
Dcopybit.cpp524 private_handle_t* src_hnd = (private_handle_t*)src->handle; in stretch_copybit() local
525 if(src_hnd != NULL && in stretch_copybit()
526 (!(src_hnd->flags & private_handle_t::PRIV_FLAGS_CACHED))) { in stretch_copybit()
534 if (src_hnd != NULL) in stretch_copybit()
535 metadata = (MetaData_t *)src_hnd->base_metadata; in stretch_copybit()
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit_c2d.cpp1249 private_handle_t* src_hnd = new private_handle_t(-1, 0, 0, 0, src_info.format, in stretch_copybit_internal() local
1251 if (NULL == src_hnd) { in stretch_copybit_internal()
1265 delete_handle(src_hnd); in stretch_copybit_internal()
1270 src_hnd->fd = ctx->temp_src_buffer.fd; in stretch_copybit_internal()
1271 src_hnd->size = ctx->temp_src_buffer.size; in stretch_copybit_internal()
1272 src_hnd->flags = ctx->temp_src_buffer.allocType; in stretch_copybit_internal()
1273 src_hnd->base = (uintptr_t)(ctx->temp_src_buffer.base); in stretch_copybit_internal()
1274 src_hnd->offset = ctx->temp_src_buffer.offset; in stretch_copybit_internal()
1275 src_hnd->gpuaddr = 0; in stretch_copybit_internal()
1276 src_image.handle = src_hnd; in stretch_copybit_internal()
[all …]
Dcopybit.cpp502 private_handle_t* src_hnd = (private_handle_t*)src->handle; in stretch_copybit() local
503 if(src_hnd != NULL && src_hnd->flags & private_handle_t::PRIV_FLAGS_DO_NOT_FLUSH) { in stretch_copybit()
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit_c2d.cpp1256 private_handle_t* src_hnd = new private_handle_t(-1, 0, 0, 0, src_info.format, in stretch_copybit_internal() local
1258 if (NULL == src_hnd) { in stretch_copybit_internal()
1272 delete_handle(src_hnd); in stretch_copybit_internal()
1277 src_hnd->fd = ctx->temp_src_buffer.fd; in stretch_copybit_internal()
1278 src_hnd->size = ctx->temp_src_buffer.size; in stretch_copybit_internal()
1279 src_hnd->flags = ctx->temp_src_buffer.allocType; in stretch_copybit_internal()
1280 src_hnd->base = (uintptr_t)(ctx->temp_src_buffer.base); in stretch_copybit_internal()
1281 src_hnd->offset = ctx->temp_src_buffer.offset; in stretch_copybit_internal()
1282 src_hnd->gpuaddr = 0; in stretch_copybit_internal()
1283 src_image.handle = src_hnd; in stretch_copybit_internal()
[all …]
Dcopybit.cpp524 private_handle_t* src_hnd = (private_handle_t*)src->handle; in stretch_copybit() local
525 if(src_hnd != NULL && in stretch_copybit()
526 (!(src_hnd->flags & private_handle_t::PRIV_FLAGS_CACHED))) { in stretch_copybit()
534 if (src_hnd != NULL) in stretch_copybit()
535 metadata = (MetaData_t *)src_hnd->base_metadata; in stretch_copybit()
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit_c2d.cpp1258 private_handle_t* src_hnd = new private_handle_t(-1, 0, 0, 0, src_info.format, in stretch_copybit_internal() local
1260 if (NULL == src_hnd) { in stretch_copybit_internal()
1274 delete_handle(src_hnd); in stretch_copybit_internal()
1279 src_hnd->fd = ctx->temp_src_buffer.fd; in stretch_copybit_internal()
1280 src_hnd->size = ctx->temp_src_buffer.size; in stretch_copybit_internal()
1281 src_hnd->flags = ctx->temp_src_buffer.allocType; in stretch_copybit_internal()
1282 src_hnd->base = (uintptr_t)(ctx->temp_src_buffer.base); in stretch_copybit_internal()
1283 src_hnd->offset = ctx->temp_src_buffer.offset; in stretch_copybit_internal()
1284 src_hnd->gpuaddr = 0; in stretch_copybit_internal()
1285 src_image.handle = src_hnd; in stretch_copybit_internal()
[all …]
Dcopybit.cpp507 private_handle_t* src_hnd = (private_handle_t*)src->handle; in stretch_copybit() local
508 if(src_hnd != NULL && in stretch_copybit()
509 (!(src_hnd->flags & private_handle_t::PRIV_FLAGS_CACHED))) { in stretch_copybit()
515 MetaData_t *metadata = (MetaData_t *)src_hnd->base_metadata; in stretch_copybit()
/hardware/qcom/display/sdm845/sdm/libs/hwc/
Dhwc_tonemapper.cpp180 const private_handle_t *src_hnd = static_cast<const private_handle_t *>(hwc_layer->handle); in ToneMap() local
195 reinterpret_cast<const void *>(src_hnd), merged_fd); in ToneMap()
/hardware/qcom/display/sdm845/sdm/libs/hwc2/
Dhwc_tonemapper.cpp190 const private_handle_t *src_hnd = reinterpret_cast<const private_handle_t *> in ToneMap() local
207 reinterpret_cast<const void *>(src_hnd), merged_fd); in ToneMap()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_tonemapper.cpp87 const void *src_hnd = reinterpret_cast<const void *> in OnTask() local
89 ctx->fence_fd = gpu_tone_mapper_->blit(dst_hnd, src_hnd, ctx->merged_fd); in OnTask()