Home
last modified time | relevance | path

Searched refs:payload (Results 1 – 25 of 109) sorted by relevance

12345

/hardware/intel/img/hwcomposer/merrifield/ips/common/
DRotationBufferProvider.cpp153 bool RotationBufferProvider::createVaSurface(VideoPayloadBuffer *payload, int transform, bool isTar… in createVaSurface() argument
165 width = payload->width; in createVaSurface()
166 height = payload->height; in createVaSurface()
168 width = payload->height; in createVaSurface()
169 height = payload->width; in createVaSurface()
176 width = payload->width; in createVaSurface()
177 height = payload->height; in createVaSurface()
178 bufferHeight = (payload->height + 0x1f) & ~0x1f; in createVaSurface()
179 stride = payload->luma_stride; /* NV12 srouce buffer */ in createVaSurface()
187 mBobDeinterlace = payload->bob_deinterlace; in createVaSurface()
[all …]
DOverlayPlaneBase.cpp345 …er* OverlayPlaneBase::getTTMMapper(BufferMapper& grallocMapper, struct VideoPayloadBuffer *payload) in getTTMMapper() argument
359 if (!payload) { in getTTMMapper()
371 khandle = payload->scaling_khandle; in getTTMMapper()
373 khandle = payload->rotated_buffer_handle; in getTTMMapper()
380 w = payload->scaling_width; in getTTMMapper()
381 h = payload->scaling_height; in getTTMMapper()
383 w = payload->rotated_width; in getTTMMapper()
384 h = payload->rotated_height; in getTTMMapper()
386 checkCrop(srcX, srcY, srcW, srcH, payload->coded_width, payload->coded_height); in getTTMMapper()
391 if (payload->tiling) in getTTMMapper()
[all …]
DRotationBufferProvider.h46 bool setupRotationBuffer(VideoPayloadBuffer *payload, int transform);
51 bool startVA(VideoPayloadBuffer *payload, int transform);
57 bool createVaSurface(VideoPayloadBuffer *payload, int transform, bool isTarget);
DOverlayPlaneBase.h82 …irtual BufferMapper* getTTMMapper(BufferMapper& grallocMapper, struct VideoPayloadBuffer *payload);
86 … scaledBufferReady(BufferMapper& mapper, BufferMapper* &scaledMapper, VideoPayloadBuffer *payload);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DRotationBufferProvider.cpp153 bool RotationBufferProvider::createVaSurface(VideoPayloadBuffer *payload, int transform, bool isTar… in createVaSurface() argument
165 width = payload->width; in createVaSurface()
166 height = payload->height; in createVaSurface()
168 width = payload->height; in createVaSurface()
169 height = payload->width; in createVaSurface()
176 width = payload->width; in createVaSurface()
177 height = payload->height; in createVaSurface()
178 bufferHeight = payload->height; in createVaSurface()
179 stride = payload->luma_stride; /* NV12 srouce buffer */ in createVaSurface()
197 vaSurfaceAttrib->pixel_format = payload->format; in createVaSurface()
[all …]
DOverlayPlaneBase.cpp341 …er* OverlayPlaneBase::getTTMMapper(BufferMapper& grallocMapper, struct VideoPayloadBuffer *payload) in getTTMMapper() argument
353 if (!payload) { in getTTMMapper()
364 khandle = payload->rotated_buffer_handle; in getTTMMapper()
369 w = payload->rotated_width; in getTTMMapper()
370 h = payload->rotated_height; in getTTMMapper()
371 checkCrop(srcX, srcY, srcW, srcH, payload->coded_width, payload->coded_height); in getTTMMapper()
375 if (payload->tiling) in getTTMMapper()
477 checkCrop(srcX, srcY, srcW, srcH, payload->coded_width, payload->coded_height); in getTTMMapper()
559 struct VideoPayloadBuffer *payload; in rotatedBufferReady() local
568 payload = (struct VideoPayloadBuffer *)mapper.getCpuAddress(SUB_BUFFER1); in rotatedBufferReady()
[all …]
DRotationBufferProvider.h46 bool setupRotationBuffer(VideoPayloadBuffer *payload, int transform);
51 bool startVA(VideoPayloadBuffer *payload, int transform);
57 bool createVaSurface(VideoPayloadBuffer *payload, int transform, bool isTarget);
/hardware/ril/libril/
DRilSapSocket.cpp65 if (request->curr->payload) { in sOnRequestComplete()
66 free(request->curr->payload); in sOnRequestComplete()
291 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest, id); in dispatchRequest()
293 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest); in dispatchRequest()
308 rsp.payload = (pb_bytes_array_t *)calloc(1, sizeof(pb_bytes_array_t) + response_len); in onRequestComplete()
309 if (!rsp.payload) { in onRequestComplete()
313 memcpy(rsp.payload->bytes, response, response_len); in onRequestComplete()
314 rsp.payload->size = response_len; in onRequestComplete()
316 rsp.payload->size = 0; in onRequestComplete()
322 free(rsp.payload); in onRequestComplete()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngOverlayPlane.cpp120 struct VideoPayloadBuffer *payload; in rotatedBufferReady() local
133 payload = (struct VideoPayloadBuffer *)mapper.getCpuAddress(SUB_BUFFER1); in rotatedBufferReady()
135 if (payload == NULL && format == HAL_PIXEL_FORMAT_NV12) { in rotatedBufferReady()
151 payload = &buffer_info; in rotatedBufferReady()
155 if (!payload) { in rotatedBufferReady()
160 if (payload->force_output_method == FORCE_OUTPUT_GPU) { in rotatedBufferReady()
165 if (payload->client_transform != mTransform || in rotatedBufferReady()
167 payload->hwc_timestamp = systemTime(); in rotatedBufferReady()
168 payload->layer_transform = mTransform; in rotatedBufferReady()
169 if (!mRotationBufProvider->setupRotationBuffer(payload, mTransform)) { in rotatedBufferReady()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c550 uint32_t payload; in mm_camera_get_queued_buf_count() local
552 payload = stream_id; in mm_camera_get_queued_buf_count()
559 (void *)&payload, in mm_camera_get_queued_buf_count()
1128 mm_evt_paylod_config_stream_t payload; in mm_camera_config_stream() local
1134 memset(&payload, 0, sizeof(mm_evt_paylod_config_stream_t)); in mm_camera_config_stream()
1135 payload.stream_id = stream_id; in mm_camera_config_stream()
1136 payload.config = config; in mm_camera_config_stream()
1139 (void *)&payload, in mm_camera_config_stream()
1382 mm_evt_paylod_set_get_stream_parms_t payload; in mm_camera_set_stream_parms() local
1390 memset(&payload, 0, sizeof(payload)); in mm_camera_set_stream_parms()
[all …]
Dmm_camera_channel.c81 mm_evt_paylod_set_get_stream_parms_t *payload);
86 mm_evt_paylod_set_get_stream_parms_t *payload);
88 mm_evt_paylod_do_stream_action_t *payload);
90 cam_buf_map_type *payload);
92 cam_buf_map_type_list *payload);
94 cam_buf_unmap_type *payload);
284 uint32_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf()
299 uint32_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf()
314 uint32_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf()
329 uint32_t start = cmd_cb->u.gen_cmd.payload[0]; in mm_channel_process_stream_buf()
[all …]
/hardware/qcom/camera/QCamera2/HAL/
DQCameraStateMachine.h232 int32_t stateMachine(qcamera_sm_evt_enum_t evt, void *payload);
233 int32_t procEvtPreviewStoppedState(qcamera_sm_evt_enum_t evt, void *payload);
234 int32_t procEvtPreviewReadyState(qcamera_sm_evt_enum_t evt, void *payload);
235 int32_t procEvtPreviewingState(qcamera_sm_evt_enum_t evt, void *payload);
236 int32_t procEvtPrepareSnapshotState(qcamera_sm_evt_enum_t evt, void *payload);
237 int32_t procEvtPicTakingState(qcamera_sm_evt_enum_t evt, void *payload);
238 int32_t procEvtRecordingState(qcamera_sm_evt_enum_t evt, void *payload);
239 int32_t procEvtVideoPicTakingState(qcamera_sm_evt_enum_t evt, void *payload);
240 int32_t procEvtPreviewPicTakingState(qcamera_sm_evt_enum_t evt, void *payload);
DQCameraStateMachine.cpp299 int32_t QCameraStateMachine::stateMachine(qcamera_sm_evt_enum_t evt, void *payload) in stateMachine() argument
305 rc = procEvtPreviewStoppedState(evt, payload); in stateMachine()
308 rc = procEvtPreviewReadyState(evt, payload); in stateMachine()
311 rc = procEvtPreviewingState(evt, payload); in stateMachine()
314 rc = procEvtPrepareSnapshotState(evt, payload); in stateMachine()
317 rc = procEvtPicTakingState(evt, payload); in stateMachine()
320 rc = procEvtRecordingState(evt, payload); in stateMachine()
323 rc = procEvtVideoPicTakingState(evt, payload); in stateMachine()
326 rc = procEvtPreviewPicTakingState(evt, payload); in stateMachine()
350 void *payload) in procEvtPreviewStoppedState() argument
[all …]
DQCamera2HWICallbacks.cpp102 qcamera_sm_internal_evt_payload_t *payload = in zsl_channel_cb() local
105 if (NULL != payload) { in zsl_channel_cb()
106 memset(payload, 0, sizeof(qcamera_sm_internal_evt_payload_t)); in zsl_channel_cb()
107 payload->evt_type = QCAMERA_INTERNAL_EVT_RETRO_AEC_UNLOCK; in zsl_channel_cb()
108 int32_t rc = pme->processEvt(QCAMERA_SM_EVT_EVT_INTERNAL, payload); in zsl_channel_cb()
111 free(payload); in zsl_channel_cb()
112 payload = NULL; in zsl_channel_cb()
124 qcamera_sm_internal_evt_payload_t *payload = in zsl_channel_cb() local
127 if (NULL != payload) { in zsl_channel_cb()
128 memset(payload, 0, sizeof(qcamera_sm_internal_evt_payload_t)); in zsl_channel_cb()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DAnnOverlayPlane.cpp659 struct VideoPayloadBuffer *payload; in rotatedBufferReady() local
669 payload = (struct VideoPayloadBuffer *)mapper.getCpuAddress(SUB_BUFFER1); in rotatedBufferReady()
671 if (!payload) { in rotatedBufferReady()
676 if (payload->force_output_method == FORCE_OUTPUT_GPU) { in rotatedBufferReady()
681 if (payload->client_transform != mTransform || in rotatedBufferReady()
683 if (!mRotationBufProvider->setupRotationBuffer(payload, mTransform)) { in rotatedBufferReady()
689 rotatedMapper = getTTMMapper(mapper, payload); in rotatedBufferReady()
695 struct VideoPayloadBuffer *payload; in signalVideoRotation() local
705 payload = (struct VideoPayloadBuffer *)mapper.getCpuAddress(SUB_BUFFER1); in signalVideoRotation()
706 if (!payload) { in signalVideoRotation()
[all …]
/hardware/qcom/msm8994/original-kernel-headers/sound/
Dvoice_svc.h19 __u8 payload[0]; member
34 __u8 payload[0]; member
44 __u8 payload[0]; member
/hardware/qcom/msm8994/kernel-headers/sound/
Dvoice_svc.h35 __u8 payload[0]; member
51 __u8 payload[0]; member
62 __u8 payload[0]; member
/hardware/qcom/msm8996/original-kernel-headers/sound/
Dvoice_svc.h19 __u8 payload[0]; member
34 __u8 payload[0]; member
44 __u8 payload[0]; member
/hardware/qcom/msm8996/kernel-headers/sound/
Dvoice_svc.h35 __u8 payload[0]; member
51 __u8 payload[0]; member
62 __u8 payload[0]; member
/hardware/qcom/display/msm8996/sdm/include/private/
Dcolor_params.h122 uint8_t *payload = NULL; member
126 : size(size), payload(param) {} in PPDisplayAPIPayload()
132 payload = new uint8_t[sizeof(T)](); in CreatePayload()
133 if (!payload) { in CreatePayload()
138 output = reinterpret_cast<T *>(payload); in CreatePayload()
145 if (payload && own_payload) { in DestroyPayload()
146 delete[] payload; in DestroyPayload()
147 payload = NULL; in DestroyPayload()
150 payload = NULL; in DestroyPayload()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnOverlayPlane.cpp746 struct VideoPayloadBuffer *payload; in rotatedBufferReady() local
756 payload = (struct VideoPayloadBuffer *)mapper.getCpuAddress(SUB_BUFFER1); in rotatedBufferReady()
758 if (!payload) { in rotatedBufferReady()
763 if (payload->force_output_method == FORCE_OUTPUT_GPU) { in rotatedBufferReady()
768 if (payload->client_transform != mTransform || in rotatedBufferReady()
770 if (!mRotationBufProvider->setupRotationBuffer(payload, mTransform)) { in rotatedBufferReady()
776 rotatedMapper = getTTMMapper(mapper, payload); in rotatedBufferReady()
782 struct VideoPayloadBuffer *payload; in signalVideoRotation() local
792 payload = (struct VideoPayloadBuffer *)mapper.getCpuAddress(SUB_BUFFER1); in signalVideoRotation()
793 if (!payload) { in signalVideoRotation()
[all …]
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifilogger_diag.h104 u_int8_t payload[0]; member
166 u8 payload[0]; member
/hardware/marvell/bt/libbt-vendor/
Dhardware_mrvl.c141 static HC_BT_HDR *build_cmd_buf(uint16_t cmd, uint8_t pl_len, uint8_t *payload) in build_cmd_buf() argument
147 assert(vnd_cb && payload); in build_cmd_buf()
169 memcpy(p, payload, pl_len); in build_cmd_buf()
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp910 …if (status_report_ptr->payload.rpc_loc_status_event_payload_u_type_u.engine_state == RPC_LOC_ENGIN… in reportStatus()
915 …else if (status_report_ptr->payload.rpc_loc_status_event_payload_u_type_u.engine_state == RPC_LOC_… in reportStatus()
1172 …connHandle = server_request_ptr->payload.rpc_loc_server_request_u_type_u.multi_open_req.conn_handl… in ATLEvent()
1173 … if (server_request_ptr->payload.rpc_loc_server_request_u_type_u.multi_open_req.connection_type in ATLEvent()
1184 … connHandle = server_request_ptr->payload.rpc_loc_server_request_u_type_u.open_req.conn_handle; in ATLEvent()
1189 … connHandle = server_request_ptr->payload.rpc_loc_server_request_u_type_u.close_req.conn_handle; in ATLEvent()
1207 &ni_req->payload.rpc_loc_ni_event_payload_u_type_u.vx_req; in NIEvent()
1223 &ni_req->payload.rpc_loc_ni_event_payload_u_type_u.umts_cp_req; in NIEvent()
1276 &ni_req->payload.rpc_loc_ni_event_payload_u_type_u.supl_req; in NIEvent()
1329 …NIEventFillVerfiyType(notif, ni_req->payload.rpc_loc_ni_event_payload_u_type_u.supl_req.notificati… in NIEvent()
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp910 …if (status_report_ptr->payload.rpc_loc_status_event_payload_u_type_u.engine_state == RPC_LOC_ENGIN… in reportStatus()
915 …else if (status_report_ptr->payload.rpc_loc_status_event_payload_u_type_u.engine_state == RPC_LOC_… in reportStatus()
1172 …connHandle = server_request_ptr->payload.rpc_loc_server_request_u_type_u.multi_open_req.conn_handl… in ATLEvent()
1173 … if (server_request_ptr->payload.rpc_loc_server_request_u_type_u.multi_open_req.connection_type in ATLEvent()
1184 … connHandle = server_request_ptr->payload.rpc_loc_server_request_u_type_u.open_req.conn_handle; in ATLEvent()
1189 … connHandle = server_request_ptr->payload.rpc_loc_server_request_u_type_u.close_req.conn_handle; in ATLEvent()
1207 &ni_req->payload.rpc_loc_ni_event_payload_u_type_u.vx_req; in NIEvent()
1223 &ni_req->payload.rpc_loc_ni_event_payload_u_type_u.umts_cp_req; in NIEvent()
1276 &ni_req->payload.rpc_loc_ni_event_payload_u_type_u.supl_req; in NIEvent()
1329 …NIEventFillVerfiyType(notif, ni_req->payload.rpc_loc_ni_event_payload_u_type_u.supl_req.notificati… in NIEvent()

12345