Searched defs:size (Results 276 - 300 of 575) sorted by relevance

<<11121314151617181920>>

/hardware/intel/common/libmix/videoencoder/
H A DIntelMetadataBuffer.cpp77 if (type == ST_MEMBASE) /*offset, size, heap*/
80 size_t size = data.readInt32(); local
84 sp<MemoryBase> mem = new MemoryBase(heap, offset, size);
136 if (smem->type == ST_MEMBASE) /*offset, size, heap*/
139 size_t size; local
140 sp<IMemoryHeap> heap = smem->membase->getMemory(&offset, &size);
142 data.writeInt32(size);
546 IMB_Result IntelMetadataBuffer::UnSerialize(uint8_t* data, uint32_t size) argument
548 if (!data || size == 0)
553 uint32_t extrasize = size
620 Serialize(uint8_t* &data, uint32_t& size) argument
[all...]
/hardware/intel/common/libwsbm/src/
H A Dwsbm_userpool.c70 unsigned long size; member in struct:_WsbmUserBuffer
178 vBuf->sysmem = malloc(vBuf->size + WSBM_USER_ALIGN_ADD);
188 memcpy(WSBM_USER_ALIGN_SYSMEM(vBuf->sysmem), vBuf->map, vBuf->size);
205 unsigned long size, uint32_t placement, unsigned alignment)
216 vBuf->size = size;
224 vBuf->node = wsbmMMSearchFree(&p->agpMM, size, alignment, 1);
226 vBuf->node = wsbmMMGetBlock(vBuf->node, size, alignment);
238 vBuf->node = wsbmMMSearchFree(&p->vramMM, size, alignment, 1);
240 vBuf->node = wsbmMMGetBlock(vBuf->node, size, alignmen
204 pool_create(struct _WsbmBufferPool *pool, unsigned long size, uint32_t placement, unsigned alignment) argument
[all...]
/hardware/intel/img/psb_video/fw/topazhp/
H A Dtopazhp_bin.c161 int size = 0; local
165 size = SECURE_VRL_HEADER + SECURE_FIP_HEADER;
167 for (iter = 0; iter < size; iter++) {
203 size = tng_fw_table[iter].header.text_size * 4;
204 fwrite(tng_fw_table[iter].fw_text, 1, size, fp);
205 for (i = 0; i < (sec_t[iter].text_size_bytes - size); i++)
210 size = tng_fw_table[iter].header.data_size * 4;
211 fwrite(tng_fw_table[iter].fw_data, 1, size, fp);
212 for (i = 0; i < (sec_t[iter].data_size_bytes - size); i++)
244 int size local
309 int size = 0; local
[all...]
/hardware/intel/img/psb_video/src/mrst/
H A Dlnc_cmdbuf.c52 #define RELOC_END(cmdbuf) (cmdbuf->cmd_base + cmdbuf->size)
79 unsigned int size = CMD_SIZE + RELOC_SIZE; local
81 cmdbuf->size = 0;
94 vaStatus = psb_buffer_create(driver_data, size, psb_bt_cpu_only, &cmdbuf->buf);
95 cmdbuf->size = size;
144 if (cmdbuf->size) {
146 cmdbuf->size = 0;
/hardware/intel/img/psb_video/src/
H A Dpnw_cmdbuf.c52 #define RELOC_END(cmdbuf) (cmdbuf->cmd_base + cmdbuf->size)
80 unsigned int size = CMD_SIZE + RELOC_SIZE; local
82 cmdbuf->size = 0;
95 vaStatus = psb_buffer_create(driver_data, size, psb_bt_cpu_only, &cmdbuf->buf);
96 cmdbuf->size = size;
148 if (cmdbuf->size) {
150 cmdbuf->size = 0;
H A Dpnw_rotate.c310 int bScaleChanged = 0, size = 0; local
360 size = obj_surface->out_loop_surface->chroma_offset;
361 memset(surface_data, 0, size);
362 memset(surface_data + size, 0x80, obj_surface->out_loop_surface->size - size);
640 obj_surface->psb_surface->size, VA_FOURCC_NV12,
694 rotate_surface->size - rotate_surface->chroma_offset);
/hardware/intel/img/psb_video/src/x11/
H A Dpsb_xvva.c252 int fourcc, int bpp, int w, int h, int stride, int size, unsigned int pre_add,
291 srf->size = size;
756 psb_surface->stride, psb_surface->size,
786 output->rotate_surface->stride, output->rotate_surface->size,
249 psb_surface_init( psb_driver_data_p driver_data, PsbVASurfaceRec *srf, int fourcc, int bpp, int w, int h, int stride, int size, unsigned int pre_add, struct _WsbmBufferObject *bo, int flags ) argument
/hardware/interfaces/bluetooth/1.0/default/
H A Dbt_vendor_lib.h262 * For each buffer allocation, the requested size needs to be big enough to
294 typedef void* (*malloc_cb)(int size);
330 size_t size; member in struct:__anon1029
369 uint16_t acl_data_size; /* Max ACL data size across HCI transport */
384 size_t size; member in struct:__anon1031
H A Dvendor_interface.cc57 size_t packet_size = data.size() + sizeof(HC_BT_HDR);
60 packet->len = data.size();
65 memcpy(packet->data, data.data(), data.size());
114 void* buffer_alloc_cb(int size) { argument
115 void* p = new uint8_t[size];
116 ALOGV("%s pts: %p, size: %d", __func__, p, size);
/hardware/interfaces/tests/baz/1.0/default/
H A DBaz.cpp77 out.resize(x.size());
78 for (size_t i = 0; i < x.size(); ++i) {
132 const size_t n = in.addresses.size();
149 const size_t n = in.size();
262 out.resize(param.size());
263 for (size_t i = 0; i < param.size(); ++i) {
352 Return<uint32_t> Baz::size(uint32_t size) { argument
353 return size;
357 int size local
[all...]
/hardware/libhardware/include/hardware/
H A Dbt_av.h161 size_t size; member in struct:__anon1121
170 size_t size; member in struct:__anon1122
192 size_t size; member in struct:__anon1123
218 size_t size; member in struct:__anon1124
H A Dbt_hh.h126 size_t size; member in struct:__anon1196
143 size_t size; member in struct:__anon1197
/hardware/libhardware/modules/radio/
H A Dradio_hw.c171 size_t size; local
178 size = info.st_size;
179 data = malloc(size);
184 ret = read(fd, data, size);
187 ret = radio_metadata_add_raw(metadata, key, (const unsigned char *)data, size);
/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsa_mixer.c317 unsigned int size; local
343 size = tlv[1];
349 if (size != 2 * sizeof(unsigned int)) {
350 while (size > 0) {
352 size -= sizeof(unsigned int);
371 if (size != 2 * sizeof(unsigned int)) {
372 while (size > 0) {
374 size -= sizeof(unsigned int);
695 unsigned int size; local
/hardware/qcom/display/msm8994/libgralloc/
H A Dalloc_controller.cpp493 unsigned int size = 0; local
496 size = alignedw * alignedh * 8;
502 size = alignedw * alignedh * 4;
505 size = alignedw * alignedh * 3;
511 size = alignedw * alignedh * 2;
514 size = ALIGN(alignedw * alignedh, 4096);
518 size = ALIGN(alignedw*alignedh, 4096);
519 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096);
525 size = ALIGN( alignedw * alignedh, 8192);
526 size
607 unsigned int size; local
625 unsigned int size; local
640 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument
858 unsigned int size = 0; local
883 unsigned int size = 0; local
[all...]
H A Dmapper.cpp65 unsigned int size = 0; local
68 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
69 int ret = memalloc->map_buffer(&mappedAddress, size,
89 unsigned int size = 0; local
98 size = hnd->size;
99 err = memalloc->map_buffer(&mappedAddress, size,
139 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset);
149 unsigned int size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local
151 size, hn
379 unsigned int size = va_arg(args, unsigned int); local
[all...]
/hardware/qcom/display/msm8996/libgralloc/
H A Dmapper.cpp65 unsigned int size = 0; local
68 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
69 int ret = memalloc->map_buffer(&mappedAddress, size,
89 unsigned int size = 0; local
98 size = hnd->size;
99 err = memalloc->map_buffer(&mappedAddress, size,
139 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset);
149 unsigned int size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local
151 size, hn
379 unsigned int size = va_arg(args, unsigned int); local
[all...]
/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_priv_handle.h76 unsigned int size; member in struct:private_handle_t
104 unsigned int size,
117 size(size),
133 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) argument
134 : private_handle_t(fd, -1, PRIV_FLAGS_CLIENT_ALLOCATED, w, h, 0, 0, format, buf_type, size,
165 ALOGD("handle id:%" PRIu64 " wxh:%dx%d uwxuh:%dx%d size: %d fd:%d fd_meta:%d flags:0x%x "
167 hnd->id, hnd->width, hnd->height, hnd->unaligned_width, hnd->unaligned_height, hnd->size,
95 private_handle_t(int fd, int meta_fd, int flags, int width, int height, int uw, int uh, int format, int buf_type, unsigned int size, gralloc1_producer_usage_t prod_usage = GRALLOC1_PRODUCER_USAGE_NONE, gralloc1_consumer_usage_t cons_usage = GRALLOC1_CONSUMER_USAGE_NONE) argument
/hardware/qcom/display/msm8996/sdm/include/core/
H A Dlayer_buffer.h227 uint32_t size = 0; //!< Size of a single buffer (even if multiple clubbed together) member in struct:sdm::LayerBuffer
/hardware/qcom/display/msm8998/libgralloc1/
H A Dgr_priv_handle.h75 unsigned int size; member in struct:private_handle_t
103 unsigned int size,
116 size(size),
132 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) argument
133 : private_handle_t(fd, -1, PRIV_FLAGS_CLIENT_ALLOCATED, w, h, 0, 0, format, buf_type, size,
94 private_handle_t(int fd, int meta_fd, int flags, int width, int height, int uw, int uh, int format, int buf_type, unsigned int size, gralloc1_producer_usage_t prod_usage = GRALLOC1_PRODUCER_USAGE_NONE, gralloc1_consumer_usage_t cons_usage = GRALLOC1_CONSUMER_USAGE_NONE) argument
/hardware/qcom/display/msm8998/sdm/libs/hwc/
H A Dhwc_color_manager.cpp65 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
590 ssize_t size = 0; local
[all...]
/hardware/qcom/keymaster/
H A Dkeymaster_qcom.cpp67 char* appname, uint32_t size);
193 uint32_t size)
221 ion_alloc_data.len = (size + 4095) & (~4095);
265 handle->sbuf_len = size;
192 qcom_km_ION_memalloc(struct qcom_km_ion_info_t *handle, uint32_t size) argument
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
H A Domx_video_encoder.cpp1060 "count min=%d, buffer size=%d",
1555 bool omx_venc::dev_get_seq_hdr(void *buffer, unsigned size, unsigned *hdrlen) argument
1557 return handle->venc_get_seq_hdr(buffer, size, hdrlen);
/hardware/qcom/msm8996/kernel-headers/media/
H A Dmsm_media_info.h42 * . . . . . . . . . . . . . . . . --> Buffer size alignment
49 * Total size = align((Y_Stride * Y_Scanlines
80 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment
87 * Total size = align((Y_Stride * Y_Scanlines
138 * . . . . . . . . . . . . . . . . --> Buffer size alignment
147 * Total size = align((2*(Y_Stride * Y_Scanlines)
187 * . . . . . . . . . . . . . . -------> Buffer size aligned to 4k
201 * . . . . . . . . . . . . . . . . -------> Buffer size aligned to 4k
210 * . . . . . . . . . . . . . . -------> Buffer size aligned to 4k
218 * . . . . . . . . . . . . . . . . -------> Buffer size aligne
713 unsigned int uv_alignment = 0, size = 0; local
[all...]
/hardware/qcom/msm8996/original-kernel-headers/media/
H A Dmsm_media_info.h42 * . . . . . . . . . . . . . . . . --> Buffer size alignment
49 * Total size = align((Y_Stride * Y_Scanlines
80 * . . . . . . . . . . . . . . . . --> Padding & Buffer size alignment
87 * Total size = align((Y_Stride * Y_Scanlines
138 * . . . . . . . . . . . . . . . . --> Buffer size alignment
147 * Total size = align((2*(Y_Stride * Y_Scanlines)
187 * . . . . . . . . . . . . . . -------> Buffer size aligned to 4k
201 * . . . . . . . . . . . . . . . . -------> Buffer size aligned to 4k
210 * . . . . . . . . . . . . . . -------> Buffer size aligned to 4k
218 * . . . . . . . . . . . . . . . . -------> Buffer size aligne
713 unsigned int uv_alignment = 0, size = 0; local
[all...]

Completed in 700 milliseconds

<<11121314151617181920>>