/hardware/qcom/display/msm8960/libgralloc/ |
H A D | alloc_controller.cpp | 259 size_t size; local 267 size = alignedw * alignedh * 4; 270 size = alignedw * alignedh * 3; 274 size = alignedw * alignedh * 2; 279 size = ALIGN(alignedw*alignedh, 4096); 280 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); 287 size = ALIGN( alignedw * alignedh, 8192); 288 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 293 size = ALIGN( ALIGN(width, 128) * ALIGN(height, 32), 8192); 294 size [all...] |
H A D | framebuffer.cpp | 201 //adreno needs 4k aligned offsets. Max hole size is 4096-1 202 int size = roundUpToPageSize(info.yres * info.xres * local 208 int numberOfBuffers = (int)(finfo.smem_len/size); 224 info.yres_virtual = (size * numberOfBuffers) / line_length; 228 if (info.yres_virtual < ((size * 2) / line_length) ) { 230 info.yres_virtual = size / line_length;
|
H A D | gpu.cpp | 55 int gpu_context_t::gralloc_alloc_buffer(size_t size, int usage, argument 61 size = roundUpToPageSize(size); 75 size = ALIGN(size, data.align); 77 data.size = size; 87 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 145 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, 175 int gpu_context_t::gralloc_alloc_framebuffer_locked(size_t size, in argument 235 gralloc_alloc_framebuffer(size_t size, int usage, buffer_handle_t* pHandle) argument 328 unsigned long size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local [all...] |
H A D | mapper.cpp | 64 size_t size = hnd->size; local 66 int err = memalloc->map_buffer(&mappedAddress, size, 77 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 78 err = memalloc->map_buffer(&mappedAddress, size, 98 size_t size = hnd->size; local 101 err = memalloc->unmap_buffer(base, size, hnd->offset); 106 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 107 err = memalloc->unmap_buffer(base, size, hn 340 size_t size = va_arg(args, size_t); local [all...] |
/hardware/qcom/display/msm8994/libgralloc/ |
H A D | framebuffer.cpp | 212 //adreno needs 4k aligned offsets. Max hole size is 4096-1 213 unsigned int size = roundUpToPageSize(info.yres * info.xres * local 219 int numberOfBuffers = (int)(finfo.smem_len/size); 235 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); 239 if (info.yres_virtual < ((size * 2) / line_length) ) { 241 info.yres_virtual = (int)(size / line_length);
|
H A D | gpu.cpp | 59 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, argument 65 size = roundUpToPageSize(size); 79 size = ALIGN(size, data.align); 83 data.size = size; 93 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 180 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, 227 //adreno needs FB size t 286 unsigned int size; local 371 unsigned int size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_ad.cpp | 193 size_t size; local 201 size = getBufferSizeAndDimensions(hnd->width, hnd->height, 204 if(!wb->configureMemory((uint32_t)size)) {
|
H A D | hwc_fbupdate.cpp | 48 unsigned int size = 0; local 62 mTileEnabled, size);
|
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | framebuffer.cpp | 202 //adreno needs 4k aligned offsets. Max hole size is 4096-1 203 unsigned int size = roundUpToPageSize(info.yres * info.xres * local 209 int numberOfBuffers = (int)(finfo.smem_len/size); 225 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); 229 if (info.yres_virtual < ((size * 2) / line_length) ) { 231 info.yres_virtual = (int)(size / line_length);
|
H A D | gpu.cpp | 58 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, argument 64 size = roundUpToPageSize(size); 81 size = ALIGN(size, data.align); 84 data.size = size; 94 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 163 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, 208 //adreno needs FB size t 267 unsigned int size; local 366 unsigned int size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_color_manager.cpp | 65 uint32_t size(0); 68 size = UINT32(in.readInt32()); 69 if (size > 0 && size == in.dataAvail()) { 70 const void *data = in.readInplace(size); 73 sink->size = size; 77 DLOGW("Failing size checking, size = %d", size); 240 uint32_t size = sizeof(hwc_display_contents_1) + kNumSolidFillLayers * sizeof(hwc_layer_1_t); local 489 ssize_t size = 0; local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
H A D | hwc_color_manager.cpp | 64 uint32_t size(0); 67 size = UINT32(in.readInt32()); 68 if (size > 0 && size == in.dataAvail()) { 69 const void *data = in.readInplace(size); 72 sink->size = size; 76 DLOGW("Failing size checking, size = %d", size); 301 ssize_t size = 0; local [all...] |
/hardware/qcom/display/msm8998/libgralloc/ |
H A D | framebuffer.cpp | 206 //adreno needs 4k aligned offsets. Max hole size is 4096-1 207 unsigned int size = roundUpToPageSize(info.yres * info.xres * local 213 int numberOfBuffers = (int)(finfo.smem_len/size); 229 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); 233 if (info.yres_virtual < ((size * 2) / line_length) ) { 235 info.yres_virtual = (int)(size / line_length);
|
H A D | gpu.cpp | 250 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, argument 266 size = roundUpToPageSize(size); 284 size = ALIGN(size, data.align); 287 data.size = size; 297 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 362 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, 442 //adreno needs FB size t 501 unsigned int size; local 600 unsigned int size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local [all...] |
H A D | mapper.cpp | 63 unsigned int size = 0; local 66 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 67 int ret = memalloc->map_buffer(&mappedAddress, size, 87 unsigned int size = 0; local 96 size = hnd->size; 97 err = memalloc->map_buffer(&mappedAddress, size, 137 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset); 147 unsigned int size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local 149 size, hn 315 unsigned int size = va_arg(args, unsigned int); local [all...] |
/hardware/qcom/display/msm8998/libqdutils/ |
H A D | qd_utils.cpp | 178 int size; local 198 size = (int)read(edidFile, (char*)buffer, EDID_RAW_DATA_SIZE); 200 return size;
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_color_manager.cpp | 65 uint32_t size(0); 68 size = UINT32(in.readInt32()); 69 if (size > 0 && size == in.dataAvail()) { 70 const void *data = in.readInplace(size); 73 sink->size = size; 77 DLOGW("Failing size checking, size = %d", size); 446 ssize_t size = 0; local [all...] |
/hardware/qcom/media/msm8974/libc2dcolorconvert/ |
H A D | C2DColorConverter.h | 94 int32_t size; member in struct:android::__anon2913
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
H A D | mp4_utils.cpp | 57 uint32 MP4_Utils::read_bit_field(posInfoType * posPtr, uint32 size) { argument 62 uint32 value = (bitBuf >> (32 - posPtr->bitPos - size)) & MASK(size); 65 posPtr->bitPos += size; 74 (uint8 * bytePtr, uint32 size, uint32 codeMask, uint32 referenceCode) { 76 for (uint32 i = 0; i < size; i++) { 73 find_code(uint8 * bytePtr, uint32 size, uint32 codeMask, uint32 referenceCode) argument
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/ |
H A D | video_encoder_device.h | 90 int size; member in struct:venc_dev::recon_buffer 149 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
H A D | mp4_utils.cpp | 50 uint32 MP4_Utils::read_bit_field(posInfoType * posPtr, uint32 size) argument 56 uint32 value = (bitBuf >> (32 - posPtr->bitPos - size)) & MASK(size); 59 posPtr->bitPos += size; 69 (uint8 * bytePtr, uint32 size, uint32 codeMask, uint32 referenceCode) 73 for (uint32 i = 0; i < size; i++) { 68 find_code(uint8 * bytePtr, uint32 size, uint32 codeMask, uint32 referenceCode) argument
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/ |
H A D | omx_video_common.h | 79 unsigned size; member in struct:pmem
|
H A D | video_encoder_device.h | 96 int size; member in struct:venc_dev::recon_buffer 163 OMX_U32 pmem_allocate(OMX_U32 size, OMX_U32 alignment, OMX_U32 count);
|
/hardware/qcom/media/msm8996/libc2dcolorconvert/ |
H A D | C2DColorConverter.h | 98 int32_t size; member in struct:android::__anon2971
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
H A D | mp4_utils.cpp | 50 uint32 MP4_Utils::read_bit_field(posInfoType * posPtr, uint32 size) argument 56 uint32 value = (bitBuf >> (32 - posPtr->bitPos - size)) & MASK(size); 59 posPtr->bitPos += size; 69 (uint8 * bytePtr, uint32 size, uint32 codeMask, uint32 referenceCode) 73 for (uint32 i = 0; i < size; i++) { 68 find_code(uint8 * bytePtr, uint32 size, uint32 codeMask, uint32 referenceCode) argument
|