Searched defs:buf (Results 251 - 275 of 378) sorted by relevance

<<111213141516

/hardware/intel/common/libwsbm/src/
H A Dwsbm_slabpool.c204 slabBuffer(struct _WsbmBufStorage *buf) argument
206 return containerOf(buf, struct _WsbmSlabBuffer, storage);
523 wsbmSlabFreeBufferLocked(struct _WsbmSlabBuffer *buf) argument
525 struct _WsbmSlab *slab = buf->parent;
527 struct _WsbmListHead *list = &buf->head;
650 static struct _WsbmSlabBuffer *buf; local
682 buf = WSBMLISTENTRY(list, struct _WsbmSlabBuffer, head);
684 buf->storage.destroyContainer = NULL;
689 return buf;
795 struct _WsbmBufStorage *buf local
876 pool_waitIdle(struct _WsbmBufStorage *buf, int lazy) argument
888 pool_map(struct _WsbmBufStorage *buf, unsigned mode __attribute__ ((unused)), void **virtual) argument
898 pool_releaseFromCpu(struct _WsbmBufStorage *buf, unsigned mode __attribute__ ((unused))) argument
907 pool_syncForCpu(struct _WsbmBufStorage *buf, unsigned mode) argument
950 pool_poolOffset(struct _WsbmBufStorage *buf) argument
958 pool_size(struct _WsbmBufStorage *buf) argument
969 pool_kernel(struct _WsbmBufStorage *buf) argument
977 pool_offset(struct _WsbmBufStorage *buf) argument
983 pool_fence(struct _WsbmBufStorage *buf, struct _WsbmFenceObject *fence) argument
1003 pool_validate(struct _WsbmBufStorage *buf, uint64_t set_flags __attribute__ ((unused)), uint64_t clr_flags __attribute__ ((unused))) argument
1019 pool_unvalidate(struct _WsbmBufStorage *buf) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
H A Dvp9_blockd.h178 uint8_t *buf; member in struct:buf_2d
200 YV12_BUFFER_CONFIG *buf; member in struct:RefBuffer
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/
H A Dsvc_encodeframe.c104 void *buf; // compressed data buffer member in struct:LayerData
110 static struct LayerData *ld_create(void *buf, size_t size) { argument
116 layer_data->buf = malloc(size);
117 if (layer_data->buf == NULL) {
121 memcpy(layer_data->buf, buf, size);
129 if (layer_data->buf) {
130 free(layer_data->buf);
131 layer_data->buf = NULL;
163 memcpy(buffer, p->buf,
238 char buf[512]; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Dvpxdec.c218 static int read_frame(struct VpxDecInputContext *input, uint8_t **buf, argument
224 buf, bytes_in_buffer, buffer_size);
228 buf, bytes_in_buffer, buffer_size);
231 buf, bytes_in_buffer, buffer_size);
243 const unsigned char *buf = img->planes[plane]; local
249 MD5Update(md5, buf, w);
250 buf += stride;
261 const unsigned char *buf = img->planes[plane]; local
267 fwrite(buf, 1, w, file);
268 buf
274 uint8_t buf[32]; local
490 uint8_t *buf = NULL; local
879 char buf[Y4M_BUFFER_SIZE] = {0}; local
[all...]
/hardware/intel/img/hwcomposer/merrifield/ips/common/
H A DOverlayPlaneBase.cpp204 OverlayBackBufferBlk *backBuffer = mBackBuffer[i]->buf;
239 OverlayBackBufferBlk *backBuffer = mBackBuffer[i]->buf;
258 OverlayBackBufferBlk *backBuffer = mBackBuffer[i]->buf;
297 backBuffer->buf = (OverlayBackBufferBlk *)virtAddr;
306 void OverlayPlaneBase::deleteBackBuffer(int buf) argument
308 if (!mBackBuffer[buf])
311 void *wsbmBufferObject = mBackBuffer[buf]->bufObject;
317 free(mBackBuffer[buf]);
318 mBackBuffer[buf] = 0;
321 void OverlayPlaneBase::resetBackBuffer(int buf) argument
354 DataBuffer *buf; local
[all...]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
H A DOverlayPlaneBase.cpp200 OverlayBackBufferBlk *backBuffer = mBackBuffer[i]->buf;
235 OverlayBackBufferBlk *backBuffer = mBackBuffer[i]->buf;
254 OverlayBackBufferBlk *backBuffer = mBackBuffer[i]->buf;
293 backBuffer->buf = (OverlayBackBufferBlk *)virtAddr;
302 void OverlayPlaneBase::deleteBackBuffer(int buf) argument
304 if (!mBackBuffer[buf])
307 void *wsbmBufferObject = (void *)mBackBuffer[buf]->bufObject;
313 free(mBackBuffer[buf]);
314 mBackBuffer[buf] = 0;
317 void OverlayPlaneBase::resetBackBuffer(int buf) argument
[all...]
/hardware/intel/img/psb_video/src/mrst/
H A Dpsb_MPEG4.c558 psb_buffer_p buf; local
563 buf = &(ctx->colocated_buffers[index]);
564 vaStatus = psb_buffer_create(ctx->obj_context->driver_data, size, psb_bt_vpu_only, buf);
955 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs);
956 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs + rotate_surface->chroma_offset);
1040 psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs);
1042 psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surfac
[all...]
/hardware/intel/img/psb_video/src/
H A Dpsb_cmdbuf.c131 vaStatus = psb_buffer_create(driver_data, size, psb_bt_cpu_vpu, &cmdbuf->buf);
155 psb_buffer_destroy(&cmdbuf->buf);
201 ret = psb_buffer_map(&cmdbuf->buf, &cmdbuf->cmd_base);
207 psb_buffer_unmap(&cmdbuf->buf);
221 psb_cmdbuf_buffer_ref(cmdbuf, &cmdbuf->reloc_buf); /* reloc buf == 0 */
222 psb_cmdbuf_buffer_ref(cmdbuf, &cmdbuf->buf); /* cmd buf == 1 */
243 psb_buffer_unmap(&cmdbuf->buf);
250 * Reference an addtional buffer "buf" in the command stream
251 * Returns a reference index that can be used to refer to "buf" i
254 psb_cmdbuf_buffer_ref(psb_cmdbuf_p cmdbuf, psb_buffer_p buf) argument
[all...]
H A Dpsb_overlay.c949 psb_buffer_p buf = &psb_surface->buf; local
960 ret = psb_buffer_map(buf, &data);
997 psb_buffer_unmap(buf);
1009 * buf is the pointer to the source data in system memory.
1011 * If "sync" is TRUE, then we must be finished with *buf at the point of return
1173 pre_add = psb_surface->buf.buffer_ofs;
1174 drm_buf = psb_surface->buf.drm_buf;
H A Dvsp_VPP.c573 vsp_cmdbuf_reloc_pic_param(&(cell_proc_picture_param->input_picture[0].base), ctx->pic_param_offset, &(input_surface->psb_surface->buf),
642 psb_buffer_map(&(input_surface->psb_surface->buf), &src_addr);
643 psb_buffer_map(&(cur_output_surf->psb_surface->buf), &dest_addr);
645 psb_buffer_unmap(&(cur_output_surf->psb_surface->buf));
646 psb_buffer_unmap(&(input_surface->psb_surface->buf));
678 cell_proc_picture_param->output_picture[i].surface_id = wsbmKBufHandle(wsbmKBuf(output_surface->buf.drm_buf));
681 ctx->pic_param_offset, &(output_surface->buf),
720 if (vsp_cmdbuf_buffer_ref(cmdbuf, &cur_output_surf->psb_surface->buf) < 0) {
1063 object_buffer_p buf; local
1160 buf
[all...]
/hardware/libhardware_legacy/wifi/
H A Dwifi.c379 char buf[2048]; local
411 while ((nread = TEMP_FAILURE_RETRY(read(srcfd, buf, sizeof(buf)))) != 0) {
419 TEMP_FAILURE_RETRY(write(destfd, buf, nread));
680 int wifi_wait_on_socket(char *buf, size_t buflen) argument
687 return snprintf(buf, buflen, "IFNAME=%s %s - connection closed",
691 result = wifi_ctrl_recv(buf, &nread);
695 return snprintf(buf, buflen, "IFNAME=%s %s - connection closed",
701 return snprintf(buf, buflen, "IFNAME=%s %s - recv error",
704 buf[nrea
752 wifi_wait_for_event(char *buf, size_t buflen) argument
[all...]
/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsa_ucm.c2124 char *read_buf = NULL, *next_str = NULL, *current_str = NULL, *buf = NULL; local
2156 buf = strstr(current_str, "SectionUseCase");
2157 if (buf == NULL) {
2172 p = strtok_r(buf, ".", &temp_ptr);
2186 buf = strstr(current_str, "File");
2187 if (buf == NULL) {
2193 p = strtok_r(buf, "\"", &temp_ptr);
2283 char *read_buf, *next_str, *current_str, *buf, *p, *verb_name; local
2338 buf = strstr(current_str, "SectionUseCase");
2339 if (buf
2455 char *next_str, *buf, *p, *verb_ptr, *temp_ptr; local
2706 char *current_str, *next_str, *str_addr, *buf; local
2740 char *current_str, *next_str, *str_addr, *buf; local
2771 char *current_str, *next_str, *str_addr, *buf; local
2802 char *current_str, *next_str, *str_addr, *buf, *p; local
2833 char *current_str, *next_str, *str_addr, *buf; local
3351 snd_ucm_extract_name(char *buf, char **case_name) argument
3376 snd_ucm_extract_acdb(char *buf, int *id, int *cap) argument
3401 snd_ucm_extract_effects_mixer_ctl(char *buf, char **mixer_name) argument
3426 snd_ucm_extract_dev_name(char *buf, char **dev_name) argument
3452 get_num_values(const char *buf) argument
3478 snd_ucm_extract_controls(char *buf, mixer_control_t **mixer_list, int size) argument
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera.c507 * @buf : buf ptr to be enqueued
515 mm_camera_buf_def_t *buf)
527 rc = mm_channel_qbuf(ch_obj, buf);
610 * NOTE : Assume the parms struct buf is already mapped to server via
638 * NOTE : Assume the parms struct buf is already mapped to server via
1232 uint32_t ch_id, mm_camera_req_buf_t *buf)
1238 if ((NULL != ch_obj) && (buf != NULL)) {
1243 (void *)buf, NULL);
1372 * NOTE : Assume the parms struct buf i
513 mm_camera_qbuf(mm_camera_obj_t *my_obj, uint32_t ch_id, mm_camera_buf_def_t *buf) argument
1231 mm_camera_request_super_buf(mm_camera_obj_t *my_obj, uint32_t ch_id, mm_camera_req_buf_t *buf) argument
[all...]
H A Dmm_camera_channel.c50 mm_camera_buf_def_t *buf);
69 mm_camera_req_buf_t *buf);
119 mm_camera_buf_info_t *buf);
182 * @cmd_cb : ptr storing matched super buf information
197 LOGE("Wrong cmd_type (%d) for super buf dataCB",
217 * @cmd_cb : ptr storing matched super buf information
241 &cmd_cb->u.buf);
497 mm_channel_qbuf(ch_obj, node->super_buf[i].buf);
598 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf;
613 LOGH("Sent super buf fo
1795 mm_channel_request_super_buf(mm_channel_t *my_obj, mm_camera_req_buf_t *buf) argument
1845 mm_camera_req_buf_t buf; local
2016 mm_channel_qbuf(mm_channel_t *my_obj, mm_camera_buf_def_t *buf) argument
[all...]
H A Dmm_camera_interface.c188 * NOTE : Assume the parms struct buf is already mapped to server via
223 * NOTE : Assume the parms struct buf is already mapped to server via
581 * @buf : buf ptr to be enqueued
589 mm_camera_buf_def_t *buf)
600 rc = mm_camera_qbuf(my_obj, ch_id, buf);
874 * @buf : request buffer info
881 uint32_t ch_id, mm_camera_req_buf_t *buf)
891 if(my_obj && buf) {
894 rc = mm_camera_request_super_buf (my_obj, ch_id, buf);
587 mm_camera_intf_qbuf(uint32_t camera_handle, uint32_t ch_id, mm_camera_buf_def_t *buf) argument
880 mm_camera_intf_request_super_buf(uint32_t camera_handle, uint32_t ch_id, mm_camera_req_buf_t *buf) argument
[all...]
H A Dmm_camera_stream.c49 mm_camera_buf_def_t *buf);
72 mm_camera_buf_def_t *buf);
168 node->u.buf = *buf_info;
202 /* enqueue to super buf thread */
212 /* need to add into super buf for linking, add ref count */
213 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++;
231 node->u.buf = *buf_info;
268 super_buf.bufs[0] = buf_info->buf;
331 uint32_t idx = buf_info.buf->buf_idx;
352 /* update buf re
1246 mm_stream_write_user_buf(mm_stream_t * my_obj, mm_camera_buf_def_t *buf) argument
1647 mm_stream_qbuf(mm_stream_t *my_obj, mm_camera_buf_def_t *buf) argument
[all...]
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_copybit.cpp392 copybit_image_t buf; local
393 buf.w = ALIGN(getWidth(hnd),32);
394 buf.h = getHeight(hnd);
395 buf.format = hnd->format;
396 buf.base = (void *)hnd->base;
397 buf.handle = (native_handle_t *)hnd;
400 ret = copybit->clear(copybit, &buf, &clear_rect);
/hardware/qcom/display/msm8909/libhwcomposer/
H A Dhwc_copybit.cpp497 copybit_image_t buf; local
498 buf.w = ALIGN(getWidth(hnd),32);
499 buf.h = getHeight(hnd);
500 buf.format = hnd->format;
501 buf.base = (void *)hnd->base;
502 buf.handle = (native_handle_t *)hnd;
505 ret = copybit->clear(copybit, &buf, &clear_rect);
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_utils.cpp303 void dumpsys_log(android::String8& buf, const char* fmt, ...) argument
307 buf.appendFormatV(fmt, varargs);
/hardware/qcom/display/msm8994/libhwcomposer/
H A Dhwc_copybit.cpp401 copybit_image_t buf; local
402 buf.w = ALIGN(getWidth(hnd),32);
403 buf.h = getHeight(hnd);
404 buf.format = hnd->format;
405 buf.base = (void *)hnd->base;
406 buf.handle = (native_handle_t *)hnd;
409 ret = copybit->clear(copybit, &buf, &clear_rect);
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
H A DLocEngAdapter.cpp176 void getChipsetSerialNo(char buf[], int buflen, const char def[]) const { argument
182 strlcpy(buf, def, buflen);
185 size_t size = fread(buf, 1, buflen - 1, file);
188 strlcpy(buf, def, buflen);
191 buf[size] = '\0';
197 size_t len = strlen(buf);
198 while (--len >= 0 && isspace(buf[len])) {
199 buf[len] = '\0';
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
H A DLocEngAdapter.cpp176 void getChipsetSerialNo(char buf[], int buflen, const char def[]) const { argument
182 strlcpy(buf, def, buflen);
185 size_t size = fread(buf, 1, buflen - 1, file);
188 strlcpy(buf, def, buflen);
191 buf[size] = '\0';
197 size_t len = strlen(buf);
198 while (--len >= 0 && isspace(buf[len])) {
199 buf[len] = '\0';
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
H A Domx_swvenc_hevc.cpp1104 struct pmem* buf = (struct pmem*)buf_addr; local
1107 // m_pSwVencIpBuffer[index].nSize = buf->size;
1108 m_pSwVencIpBuffer[index].pBuffer = (unsigned char*)buf->buffer;
1116 m_pSwVencOpBuffer[index].nSize = buf->size;
1117 m_pSwVencOpBuffer[index].pBuffer = (unsigned char*)buf->buffer;
1127 struct pmem* buf = (struct pmem*)buf_addr; local
1133 if (m_pSwVencIpBuffer[i].pBuffer == buf->buffer)
1144 if (m_pSwVencOpBuffer[i].pBuffer == buf->buffer)
1220 DEBUG_PRINT_LOW("mapped meta buf fd %d size %d %p", fd, size, ipbuffer.pBuffer);
/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dgscan.cpp1477 char buf[100]; local
1479 for (i = 0; i < *mNumChannelsPtr && len < sizeof(buf); i++) {
1480 len += snprintf(buf + len, sizeof(buf)-len, "%u ",
1484 __FUNCTION__, *mNumChannelsPtr, buf);
H A Dwifilogger_diag.cpp114 u8* buf, int length)
134 pScanCapabilities = (wlan_ext_scan_capabilities_payload_type *)buf;
213 u32 id, u8* buf, int length)
234 pBtScanStart = (wlan_bt_coex_bt_scan_start_payload_type *)buf;
249 pBtScanStop = (wlan_bt_coex_bt_scan_stop_payload_type *)buf;
267 u8* buf, int length)
288 pBtCoexStartPL = (wlan_bt_coex_bt_sco_start_payload_type *)buf;
303 pBtCoexStopPL = (wlan_bt_coex_bt_sco_stop_payload_type *)buf;
318 pBtCoexHidStartPL = (wlan_bt_coex_bt_hid_start_payload_type *)buf;
332 pBtCoexHidStopPL = (wlan_bt_coex_bt_hid_stop_payload_type *)buf;
113 process_log_extscan_capabilities(hal_info *info, u8* buf, int length) argument
212 process_bt_coex_scan_event(hal_info *info, u32 id, u8* buf, int length) argument
266 process_bt_coex_event(hal_info *info, u32 id, u8* buf, int length) argument
386 process_extscan_event(hal_info *info, u32 id, u8* buf, int length) argument
528 process_addba_success_event(hal_info *info, u8* buf, int length) argument
572 process_addba_failed_event(hal_info *info, u8* buf, int length) argument
616 process_roam_event(hal_info *info, u32 id, u8* buf, int length) argument
759 process_firmware_prints(hal_info *info, u8 *buf, u16 length) argument
796 process_beacon_received_event(hal_info *info, u8* buf, int length) argument
835 process_fw_diag_msg(hal_info *info, u8* buf, u16 length) argument
983 process_wlan_pe_event(hal_info *info, u8* buf, int length) argument
1033 process_wlan_eapol_event(hal_info *info, u8* buf, int length) argument
1086 process_wakelock_event(hal_info *info, u8* buf, int length) argument
1158 process_wlan_log_complete_event(hal_info *info, u8* buf, int length) argument
1176 process_wlan_low_resource_failure(hal_info *info, u8* buf, u16 length) argument
1353 parse_rx_stats(hal_info *info, u8 *buf, u16 size) argument
[all...]

Completed in 1316 milliseconds

<<111213141516