Home
last modified time | relevance | path

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

12

/hardware/qcom/display/msm8x26/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/qcom/display/msm8960/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/qcom/display/msm8974/libcopybit/
Dcopybit.cpp52 struct mdp_blit_req req[10]; member
215 struct mdp_blit_req *req, int flags) in set_infos() argument
217 req->alpha = dev->mAlpha; in set_infos()
218 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
219 req->flags = dev->mFlags | flags; in set_infos()
222 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
225 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
247 l->req[i].src.width, in msm_copybit()
248 l->req[i].src.height, in msm_copybit()
249 l->req[i].src.format, in msm_copybit()
[all …]
/hardware/qcom/media/libc2dcolorconvert/
DC2DColorConverter.cpp56 int32_t getBuffReq(int32_t port, C2DBuffReq *req);
522 int32_t C2DColorConverter::getBuffReq(int32_t port, C2DBuffReq *req) { in getBuffReq() argument
523 if (!req) return -1; in getBuffReq()
527 memset(req, 0, sizeof(C2DBuffReq)); in getBuffReq()
529 req->width = mSrcWidth; in getBuffReq()
530 req->height = mSrcHeight; in getBuffReq()
531 req->stride = calcStride(mSrcFormat, mSrcWidth); in getBuffReq()
532 req->sliceHeight = mSrcHeight; in getBuffReq()
533 req->lumaAlign = calcLumaAlign(mSrcFormat); in getBuffReq()
534 req->sizeAlign = calcSizeAlign(mSrcFormat); in getBuffReq()
[all …]
DC2DColorConverter.h103 virtual int32_t getBuffReq(int32_t port, C2DBuffReq *req) = 0;
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/
DExynosVideoDecoder.c841 struct v4l2_requestbuffers req; in MFC_Decoder_Setup_Inbuf() local
861 memset(&req, 0, sizeof(req)); in MFC_Decoder_Setup_Inbuf()
863 req.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in MFC_Decoder_Setup_Inbuf()
864 req.count = nBufferCount; in MFC_Decoder_Setup_Inbuf()
867 req.memory = pCtx->nMemoryType; in MFC_Decoder_Setup_Inbuf()
869 req.memory = V4L2_MEMORY_MMAP; in MFC_Decoder_Setup_Inbuf()
871 if (exynos_v4l2_reqbufs(pCtx->hDec, &req) != 0) { in MFC_Decoder_Setup_Inbuf()
876 if (req.count != nBufferCount) { in MFC_Decoder_Setup_Inbuf()
877 ALOGE("%s: asked for %d, got %d\n", __func__, nBufferCount, req.count); in MFC_Decoder_Setup_Inbuf()
882 pCtx->nInbufs = (int)req.count; in MFC_Decoder_Setup_Inbuf()
[all …]
/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/qcom/display/msm8960/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/qcom/display/msm8x26/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/qcom/display/msm8974/liboverlay/
Doverlay.cpp253 msmfb_mixer_info_req req; in initOverlay() local
266 req.mixer_num = i; in initOverlay()
267 if (ioctl(fd, MSMFB_MIXER_INFO, &req) == -1) { in initOverlay()
272 minfo = req.info; in initOverlay()
273 for (int j = 0; j < req.cnt; j++) { in initOverlay()
/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.c1175 struct v4l2_requestbuffers req; in MFC_Encoder_Setup_Inbuf() local
1191 memset(&req, 0, sizeof(req)); in MFC_Encoder_Setup_Inbuf()
1193 req.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in MFC_Encoder_Setup_Inbuf()
1194 req.count = nBufferCount; in MFC_Encoder_Setup_Inbuf()
1197 req.memory = pCtx->nMemoryType; in MFC_Encoder_Setup_Inbuf()
1199 req.memory = V4L2_MEMORY_MMAP; in MFC_Encoder_Setup_Inbuf()
1201 if (exynos_v4l2_reqbufs(pCtx->hEnc, &req) != 0) { in MFC_Encoder_Setup_Inbuf()
1207 pCtx->nInbufs = (int)req.count; in MFC_Encoder_Setup_Inbuf()
1297 struct v4l2_requestbuffers req; in MFC_Encoder_Setup_Outbuf() local
1314 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.cpp600 camera_metadata_t *req; in TEST_F() local
601 req = allocate_camera_metadata(20, 2000); in TEST_F()
602 append_camera_metadata(req, request); in TEST_F()
604 add_camera_metadata_entry(req, in TEST_F()
609 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/msm8x74/kernel-headers/linux/
Dmsm_mdp.h261 struct mdp_blit_req req[]; member
845 struct mdp_blit_req req[]; member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_mdp.h261 struct mdp_blit_req req[]; member
843 struct mdp_blit_req req[]; member
/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/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/ril/libril/
Dril.cpp95 #define printRequest(token, req) \ argument
96 RLOGD("[%04d]> %s %s", token, requestToString(req), printBuf)
108 #define printRequest(token, req)

12