Home
last modified time | relevance | path

Searched refs:req (Results 1 – 24 of 24) sorted by relevance

/hardware/msm7k/libcopybit/
Dcopybit.cpp197 static void set_infos(struct copybit_context_t *dev, struct mdp_blit_req *req) { in set_infos() argument
198 req->alpha = dev->mAlpha; in set_infos()
199 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
200 req->flags = dev->mFlags | MDP_BLEND_FG_PREMULT; in set_infos()
220 l->req[i].src.width, in msm_copybit()
221 l->req[i].src.height, in msm_copybit()
222 l->req[i].src.format, in msm_copybit()
223 l->req[i].src_rect.x, in msm_copybit()
224 l->req[i].src_rect.y, in msm_copybit()
225 l->req[i].src_rect.w, in msm_copybit()
[all …]
/hardware/qcom/display/libcopybit/
Dcopybit.cpp212 struct mdp_blit_req *req, int flags) in set_infos() argument
214 req->alpha = dev->mAlpha; in set_infos()
215 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
216 req->flags = dev->mFlags | flags; in set_infos()
219 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
222 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
244 l->req[i].src.width, in msm_copybit()
245 l->req[i].src.height, in msm_copybit()
246 l->req[i].src.format, in msm_copybit()
247 l->req[i].src_rect.x, in msm_copybit()
[all …]
/hardware/msm7k/libgralloc/
Dframebuffer.cpp387 mdp_blit_req req; in msm_copy_buffer() member
394 blit.req.flags = 0; in msm_copy_buffer()
395 blit.req.alpha = 0xff; in msm_copy_buffer()
396 blit.req.transp_mask = 0xffffffff; in msm_copy_buffer()
398 blit.req.src.width = width; in msm_copy_buffer()
399 blit.req.src.height = height; in msm_copy_buffer()
400 blit.req.src.offset = 0; in msm_copy_buffer()
401 blit.req.src.memory_id = priv->fd; in msm_copy_buffer()
403 blit.req.dst.width = width; in msm_copy_buffer()
404 blit.req.dst.height = height; in msm_copy_buffer()
[all …]
/hardware/msm7k/libgralloc-qsd8k/
Dframebuffer.cpp424 mdp_blit_req req; in msm_copy_buffer() member
431 blit.req.flags = 0; in msm_copy_buffer()
432 blit.req.alpha = 0xff; in msm_copy_buffer()
433 blit.req.transp_mask = 0xffffffff; in msm_copy_buffer()
435 blit.req.src.width = width; in msm_copy_buffer()
436 blit.req.src.height = height; in msm_copy_buffer()
437 blit.req.src.offset = 0; in msm_copy_buffer()
438 blit.req.src.memory_id = priv->fd; in msm_copy_buffer()
440 blit.req.dst.width = width; in msm_copy_buffer()
441 blit.req.dst.height = height; in msm_copy_buffer()
[all …]
/hardware/qcom/media/libc2dcolorconvert/
DC2DColorConverter.cpp59 int32_t getBuffReq(int32_t port, C2DBuffReq *req);
519 int32_t C2DColorConverter::getBuffReq(int32_t port, C2DBuffReq *req) { in getBuffReq() argument
520 if (!req) return -1; in getBuffReq()
524 memset(req, 0, sizeof(C2DBuffReq)); in getBuffReq()
526 req->width = mSrcWidth; in getBuffReq()
527 req->height = mSrcHeight; in getBuffReq()
528 req->stride = calcStride(mSrcFormat, mSrcWidth); in getBuffReq()
529 req->sliceHeight = mSrcHeight; in getBuffReq()
530 req->lumaAlign = calcLumaAlign(mSrcFormat); in getBuffReq()
531 req->sizeAlign = calcSizeAlign(mSrcFormat); in getBuffReq()
[all …]
DC2DColorConverter.h100 virtual int32_t getBuffReq(int32_t port, C2DBuffReq *req) = 0;
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/
Ddriver_mac80211.c65 } req; in wpa_driver_wext_send_oper_ifla() local
70 os_memset(&req, 0, sizeof(req)); in wpa_driver_wext_send_oper_ifla()
72 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in wpa_driver_wext_send_oper_ifla()
73 req.hdr.nlmsg_type = RTM_SETLINK; in wpa_driver_wext_send_oper_ifla()
74 req.hdr.nlmsg_flags = NLM_F_REQUEST; in wpa_driver_wext_send_oper_ifla()
75 req.hdr.nlmsg_seq = ++nl_seq; in wpa_driver_wext_send_oper_ifla()
76 req.hdr.nlmsg_pid = 0; in wpa_driver_wext_send_oper_ifla()
78 req.ifinfo.ifi_family = AF_UNSPEC; in wpa_driver_wext_send_oper_ifla()
79 req.ifinfo.ifi_type = 0; in wpa_driver_wext_send_oper_ifla()
80 req.ifinfo.ifi_index = drv->ifindex; in wpa_driver_wext_send_oper_ifla()
[all …]
/hardware/samsung_slsi/exynos5/libv4l2/
Dexynos_v4l2.c391 int exynos_v4l2_reqbufs(int fd, struct v4l2_requestbuffers *req) in exynos_v4l2_reqbufs() argument
403 if (!req) { in exynos_v4l2_reqbufs()
408 if ((req->memory != V4L2_MEMORY_MMAP) && in exynos_v4l2_reqbufs()
409 (req->memory != V4L2_MEMORY_USERPTR) && in exynos_v4l2_reqbufs()
410 (req->memory != V4L2_MEMORY_DMABUF)) { in exynos_v4l2_reqbufs()
415 if (__v4l2_check_buf_type(req->type) == false) { in exynos_v4l2_reqbufs()
420 count = req->count; in exynos_v4l2_reqbufs()
422 ret = ioctl(fd, VIDIOC_REQBUFS, req); in exynos_v4l2_reqbufs()
428 if (count != req->count) { in exynos_v4l2_reqbufs()
429 ALOGW("number of buffers had been changed: %d => %d", count, req->count); in exynos_v4l2_reqbufs()
/hardware/ti/omap4xxx/ion/
Dion.c47 static int ion_ioctl(int fd, int req, void *arg) in ion_ioctl() argument
49 int ret = ioctl(fd, req, arg); in ion_ioctl()
51 ALOGE("ioctl %d failed with code %d: %s\n", req, in ion_ioctl()
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/
DExynosVideoDecoder.c803 struct v4l2_requestbuffers req; in MFC_Decoder_Setup_Inbuf() local
823 memset(&req, 0, sizeof(req)); in MFC_Decoder_Setup_Inbuf()
825 req.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in MFC_Decoder_Setup_Inbuf()
826 req.count = nBufferCount; in MFC_Decoder_Setup_Inbuf()
829 req.memory = pCtx->nMemoryType; in MFC_Decoder_Setup_Inbuf()
831 req.memory = V4L2_MEMORY_MMAP; in MFC_Decoder_Setup_Inbuf()
833 if (exynos_v4l2_reqbufs(pCtx->hDec, &req) != 0) { in MFC_Decoder_Setup_Inbuf()
838 if (req.count != nBufferCount) { in MFC_Decoder_Setup_Inbuf()
839 ALOGE("%s: asked for %d, got %d\n", __func__, nBufferCount, req.count); in MFC_Decoder_Setup_Inbuf()
844 pCtx->nInbufs = (int)req.count; in MFC_Decoder_Setup_Inbuf()
[all …]
/hardware/qcom/display/liboverlay/
Doverlay.cpp232 msmfb_mixer_info_req req; in initOverlay() local
245 req.mixer_num = i; in initOverlay()
246 if (ioctl(fd, MSMFB_MIXER_INFO, &req) == -1) { in initOverlay()
251 minfo = req.info; in initOverlay()
252 for (int j = 0; j < req.cnt; j++) { in initOverlay()
/hardware/msm7k/librpc/
Dsvc.c364 struct svc_req req; in svc_dispatch() local
395 req.rq_prog = prog; in svc_dispatch()
396 req.rq_vers = vers; in svc_dispatch()
397 req.rq_proc = proc; in svc_dispatch()
398 req.rq_xprt = xprt; in svc_dispatch()
411 svc->dispatch(&req, (SVCXPRT *)svc); in svc_dispatch()
/hardware/samsung_slsi/exynos5/libhwjpeg/
DExynosJpegBase.cpp177 struct v4l2_requestbuffers req; in t_v4l2Reqbufs() local
180 memset(&req, 0, sizeof(v4l2_requestbuffers)); in t_v4l2Reqbufs()
182 req.type = pstBufInfo->buf_type; in t_v4l2Reqbufs()
183 req.memory = pstBufInfo->memory; in t_v4l2Reqbufs()
186 req.count = iBufCount; in t_v4l2Reqbufs()
188 iRet = ioctl(iFd, VIDIOC_REQBUFS, &req); in t_v4l2Reqbufs()
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/
DExynosVideoEncoder.c1151 struct v4l2_requestbuffers req; in MFC_Encoder_Setup_Inbuf() local
1167 memset(&req, 0, sizeof(req)); in MFC_Encoder_Setup_Inbuf()
1169 req.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in MFC_Encoder_Setup_Inbuf()
1170 req.count = nBufferCount; in MFC_Encoder_Setup_Inbuf()
1173 req.memory = pCtx->nMemoryType; in MFC_Encoder_Setup_Inbuf()
1175 req.memory = V4L2_MEMORY_MMAP; in MFC_Encoder_Setup_Inbuf()
1177 if (exynos_v4l2_reqbufs(pCtx->hEnc, &req) != 0) { in MFC_Encoder_Setup_Inbuf()
1183 pCtx->nInbufs = (int)req.count; in MFC_Encoder_Setup_Inbuf()
1273 struct v4l2_requestbuffers req; in MFC_Encoder_Setup_Outbuf() local
1290 memset(&req, 0, sizeof(req)); in MFC_Encoder_Setup_Outbuf()
[all …]
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCamera.cpp1262 struct v4l2_requestbuffers req; in stopPreview() local
1263 req.count = 0; in stopPreview()
1264 req.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in stopPreview()
1265 req.memory = V4L2_MEMORY_DMABUF; in stopPreview()
1267 if (exynos_v4l2_reqbufs(m_previewDev->fd, &req) < 0) { in stopPreview()
1473 struct v4l2_requestbuffers req; in stopVideo() local
1474 req.count = 0; in stopVideo()
1475 req.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in stopVideo()
1476 req.memory = V4L2_MEMORY_DMABUF; in stopVideo()
1478 if (exynos_v4l2_reqbufs(m_videoDev->fd, &req) < 0) { in stopVideo()
[all …]
/hardware/libhardware/tests/camera2/
Dcamera2.cpp594 camera_metadata_t *req; in TEST_F() local
595 req = allocate_camera_metadata(20, 2000); in TEST_F()
596 append_camera_metadata(req, request); in TEST_F()
598 add_camera_metadata_entry(req, in TEST_F()
603 res = mRequests.enqueue(req); in TEST_F()
/hardware/samsung_slsi/exynos5/include/
Dexynos_v4l2.h68 int exynos_v4l2_reqbufs(int fd, struct v4l2_requestbuffers *req);
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_mdp.h242 struct mdp_blit_req req[]; member
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_mdp.h237 struct mdp_blit_req req[]; member
/hardware/ti/wlan/mac80211/ti-utils/
DREADME194 Type is 0-data packet, 1-ack, 2-probe req, 3-random data, 4-user data
/hardware/ril/libril/
Dril.cpp95 #define printRequest(token, req) \ argument
96 RLOGD("[%04d]> %s %s", token, requestToString(req), printBuf)
108 #define printRequest(token, req)
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCameraHWInterface2.cpp146 struct v4l2_requestbuffers req; in cam_int_reqbufs() local
149 req.count = node->buffers; in cam_int_reqbufs()
150 req.type = node->type; in cam_int_reqbufs()
151 req.memory = node->memory; in cam_int_reqbufs()
153 ret = exynos_v4l2_reqbufs(node->fd, &req); in cam_int_reqbufs()
158 return req.count; in cam_int_reqbufs()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dwlioctl.h791 wl_rm_req_elt_t req[1]; /* variable length block of requests */ member
793 #define WL_RM_REQ_FIXED_LEN OFFSETOF(wl_rm_req_t, req)
983 struct dot11_assoc_req req; member
/hardware/qcom/media/mm-video/vidc/vdec/test/
Domx_vdec_test.cpp3498 e = &img.list.req[0]; in render_fb()