Home
last modified time | relevance | path

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

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/parser/
Dviddec_mpeg2_workload.c20 void viddec_mpeg2_append_workitem(void *parent, viddec_workload_item_t *wi, uint8_t next_wl) in viddec_mpeg2_append_workitem() argument
24 viddec_pm_append_workitem_next(parent, wi); in viddec_mpeg2_append_workitem()
28 viddec_pm_append_workitem(parent, wi); in viddec_mpeg2_append_workitem()
80 qmat_packed = (uint32_t *) parser->wi.qmat; in viddec_mpeg2_pack_qmat()
103 qmat_packed = (uint32_t *) parser->wi.qmat; in viddec_mpeg2_pack_qmat()
126 parser->wi.csi1 = 0x0; in viddec_mpeg2_trans_metadata_workitems()
127 parser->wi.csi2 = 0x0; in viddec_mpeg2_trans_metadata_workitems()
128 parser->wi.cpi1 = 0x0; in viddec_mpeg2_trans_metadata_workitems()
129 parser->wi.cpce1 = 0x0; in viddec_mpeg2_trans_metadata_workitems()
142 parser->wi.csi1 |= (parser->mpeg2_stream) << 1; in viddec_mpeg2_trans_metadata_workitems()
[all …]
Dviddec_mpeg2_metadata.c855 viddec_workload_item_t wi; in viddec_mpeg2_parse_and_append_user_data() local
865 wi.vwi_type = VIDDEC_WORKLOAD_SEQ_USER_DATA; in viddec_mpeg2_parse_and_append_user_data()
870 wi.vwi_type = VIDDEC_WORKLOAD_GOP_USER_DATA; in viddec_mpeg2_parse_and_append_user_data()
875 wi.vwi_type = VIDDEC_WORKLOAD_FRM_USER_DATA; in viddec_mpeg2_parse_and_append_user_data()
880 wi.vwi_type = VIDDEC_WORKLOAD_INVALID; in viddec_mpeg2_parse_and_append_user_data()
890 wi.user_data.size = 0; in viddec_mpeg2_parse_and_append_user_data()
891 memset(&(wi.user_data), 0, sizeof(wi.user_data)); in viddec_mpeg2_parse_and_append_user_data()
895 wi.user_data.data_payload[wi.user_data.size] = user_data; in viddec_mpeg2_parse_and_append_user_data()
896 wi.user_data.size++; in viddec_mpeg2_parse_and_append_user_data()
899 if (wi.user_data.size >= 11) in viddec_mpeg2_parse_and_append_user_data()
[all …]
Dmix_vbp_mpeg2_stubs.c5 void viddec_mpeg2_append_workitem(void *parent, viddec_workload_item_t *wi, uint8_t flag) in viddec_mpeg2_append_workitem() argument
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/
Dviddec_h264_workload.c254 viddec_workload_item_t wi; in h264_parse_emit_4X4_scaling_matrix() local
299 wi.vwi_type = VIDDEC_WORKLOAD_H264_SCALING_MATRIX; in h264_parse_emit_4X4_scaling_matrix()
311 wi.data.data_offset = i + (SPS_QM << 4) + (n_items <<8); in h264_parse_emit_4X4_scaling_matrix()
312wi.data.data_payload[0] = ((uint32_t)(pInfo->active_SPS.ScalingList4x4[i][n_items*8+0]))+ in h264_parse_emit_4X4_scaling_matrix()
316wi.data.data_payload[1] = ((uint32_t)(pInfo->active_SPS.ScalingList4x4[i][n_items*8+4]))+ in h264_parse_emit_4X4_scaling_matrix()
323 viddec_pm_append_workitem( parent, &wi ); in h264_parse_emit_4X4_scaling_matrix()
327 viddec_pm_append_workitem_next( parent, &wi ); in h264_parse_emit_4X4_scaling_matrix()
338 wi.data.data_offset = i + (PPS_QM << 4) + (n_items <<8); in h264_parse_emit_4X4_scaling_matrix()
339wi.data.data_payload[0] = ((uint32_t)(pInfo->active_PPS.ScalingList4x4[i][n_items*8+0]))+ in h264_parse_emit_4X4_scaling_matrix()
343wi.data.data_payload[1] = ((uint32_t)(pInfo->active_PPS.ScalingList4x4[i][n_items*8+4]))+ in h264_parse_emit_4X4_scaling_matrix()
[all …]
Dmix_vbp_h264_stubs.c132 viddec_workload_item_t wi; in h264_parse_emit_current_slice() local
184 wi.vwi_type = VIDDEC_WORKLOAD_H264_SLICE_REG; in h264_parse_emit_current_slice()
186 wi.data.data_offset = slice_data.h264_bsd_slice_start; in h264_parse_emit_current_slice()
187 wi.data.data_payload[0] = slice_data.h264_bsd_slice_p1; in h264_parse_emit_current_slice()
188 wi.data.data_payload[1] = slice_data.h264_bsd_slice_p2; in h264_parse_emit_current_slice()
203 wi.vwi_type = VIDDEC_WORKLOAD_H264_PWT_BITS_OFFSET; in h264_parse_emit_current_slice()
204 wi.data.data_offset = pInfo->h264_pwt_end_byte_offset- pInfo->h264_pwt_start_byte_offset+1; in h264_parse_emit_current_slice()
205 wi.data.data_payload[0] = pInfo->h264_pwt_start_bit_offset; in h264_parse_emit_current_slice()
206 wi.data.data_payload[1] = pInfo->h264_pwt_end_bit_offset; in h264_parse_emit_current_slice()
212 wi.vwi_type = VIDDEC_WORKLOAD_H264_PWT_ES_BYTES; in h264_parse_emit_current_slice()
[all …]
Dh264parse_sei.c135 viddec_workload_item_t wi; in h264_sei_pic_timing() local
137 wi.vwi_payload[0] = wi.vwi_payload[1] = wi.vwi_payload[2] = 0; in h264_sei_pic_timing()
148 wi.vwi_type = VIDDEC_WORKLOAD_SEI_PIC_TIMING; in h264_sei_pic_timing()
149 wi.h264_sei_pic_timing.pic_struct = sei_msg_ptr->pic_struct; in h264_sei_pic_timing()
154 viddec_pm_append_workitem( parent, &wi ); in h264_sei_pic_timing()
156 viddec_pm_append_workitem_next( parent, &wi ); in h264_sei_pic_timing()
262 viddec_workload_item_t wi; in h264_sei_pan_scan() local
266 viddec_fw_reset_workload_item(&wi); in h264_sei_pan_scan()
267 wi.vwi_type = VIDDEC_WORKLOAD_H264_PAN_SCAN; in h264_sei_pan_scan()
273 wi.h264_sei_pan_scan.pan_scan_rect_id = sei_msg_ptr->pan_scan_rect_id; in h264_sei_pan_scan()
[all …]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/
Dviddec_fw_mp4_workload.c44 viddec_workload_item_t wi; in viddec_fw_mp4_insert_vol_workitem() local
73 wi.vwi_type = VIDDEC_WORKLOAD_MP4_VOL_INFO; in viddec_fw_mp4_insert_vol_workitem()
74 wi.vwi_payload[0] = vol_info.vol_flags; in viddec_fw_mp4_insert_vol_workitem()
75 wi.vwi_payload[1] = vol_info.vol_size; in viddec_fw_mp4_insert_vol_workitem()
76 wi.vwi_payload[2] = vol_info.vol_item; in viddec_fw_mp4_insert_vol_workitem()
78 result = viddec_pm_append_workitem(parent, &wi); in viddec_fw_mp4_insert_vol_workitem()
86 viddec_workload_item_t wi; in viddec_fw_mp4_insert_vop_workitem() local
122 wi.vwi_type = VIDDEC_WORKLOAD_MP4_VOP_INFO; in viddec_fw_mp4_insert_vop_workitem()
123 wi.vwi_payload[0] = vop_info.frame_info; in viddec_fw_mp4_insert_vop_workitem()
124 wi.vwi_payload[1] = vop_info.vop_data; in viddec_fw_mp4_insert_vop_workitem()
[all …]
Dviddec_mp4_visualobject.c192 viddec_workload_item_t wi; in mp4_Parse_VisualObject() local
195 wi.vwi_type = VIDDEC_WORKLOAD_MPEG4_VISUAL_SEQ_OBJ; in mp4_Parse_VisualObject()
197 wi.mp4_vs_vo.vs_item = 0; in mp4_Parse_VisualObject()
198 wi.mp4_vs_vo.video_signal_type = 0; in mp4_Parse_VisualObject()
199 wi.mp4_vs_vo.color_desc = 0; in mp4_Parse_VisualObject()
201 …viddec_fw_mp4_vs_set_profile_and_level_indication(&wi.mp4_vs_vo, pInfo->profile_and_level_indicati… in mp4_Parse_VisualObject()
203 viddec_fw_mp4_vo_set_video_signal_type(&wi.mp4_vs_vo, vst->is_video_signal_type); in mp4_Parse_VisualObject()
206 viddec_fw_mp4_vo_set_video_range(&wi.mp4_vs_vo, vst->video_range); in mp4_Parse_VisualObject()
207 viddec_fw_mp4_vo_set_video_format(&wi.mp4_vs_vo, vst->video_format); in mp4_Parse_VisualObject()
208 viddec_fw_mp4_vo_set_colour_description(&wi.mp4_vs_vo, vst->is_colour_description); in mp4_Parse_VisualObject()
[all …]
Dviddec_mp4_shortheader.c118 viddec_workload_item_t wi; in mp4_Parse_VideoObject_svh() local
120 wi.vwi_type = VIDDEC_WORKLOAD_MPEG4_VIDEO_PLANE_SHORT; in mp4_Parse_VideoObject_svh()
122 wi.mp4_vpsh.info = 0; in mp4_Parse_VideoObject_svh()
123 wi.mp4_vpsh.pad1 = 0; in mp4_Parse_VideoObject_svh()
124 wi.mp4_vpsh.pad2 = 0; in mp4_Parse_VideoObject_svh()
126 viddec_fw_mp4_vpsh_set_source_format(&wi.mp4_vpsh, svh->source_format); in mp4_Parse_VideoObject_svh()
128 ret = viddec_pm_append_workitem(parent, &wi); in mp4_Parse_VideoObject_svh()
Dviddec_mp4_videoobjectlayer.c562 viddec_workload_item_t wi; in mp4_Parse_VideoObjectLayer() local
565 wi.vwi_type = VIDDEC_WORKLOAD_MPEG4_VIDEO_OBJ; in mp4_Parse_VideoObjectLayer()
567 wi.mp4_vol.vol_aspect_ratio = 0; in mp4_Parse_VideoObjectLayer()
568 wi.mp4_vol.vol_bit_rate = 0; in mp4_Parse_VideoObjectLayer()
569 wi.mp4_vol.vol_frame_rate = 0; in mp4_Parse_VideoObjectLayer()
571 viddec_fw_mp4_vol_set_aspect_ratio_info(&wi.mp4_vol, vidObjLay->aspect_ratio_info); in mp4_Parse_VideoObjectLayer()
572 viddec_fw_mp4_vol_set_par_width(&wi.mp4_vol, vidObjLay->aspect_ratio_info_par_width); in mp4_Parse_VideoObjectLayer()
573 viddec_fw_mp4_vol_set_par_height(&wi.mp4_vol, vidObjLay->aspect_ratio_info_par_height); in mp4_Parse_VideoObjectLayer()
574 viddec_fw_mp4_vol_set_control_param(&wi.mp4_vol, vidObjLay->is_vol_control_parameters); in mp4_Parse_VideoObjectLayer()
575 … viddec_fw_mp4_vol_set_chroma_format(&wi.mp4_vol, vidObjLay->VOLControlParameters.chroma_format); in mp4_Parse_VideoObjectLayer()
[all …]
Dviddec_mp4_videoobjectplane.c45 viddec_workload_item_t wi; in mp4_Parse_GroupOfVideoObjectPlane() local
47 wi.vwi_type = VIDDEC_WORKLOAD_MPEG4_GRP_VIDEO_OBJ; in mp4_Parse_GroupOfVideoObjectPlane()
49 wi.mp4_gvop.gvop_info = 0; in mp4_Parse_GroupOfVideoObjectPlane()
50 wi.mp4_gvop.pad1 = 0; in mp4_Parse_GroupOfVideoObjectPlane()
51 wi.mp4_gvop.pad2 = 0; in mp4_Parse_GroupOfVideoObjectPlane()
53 viddec_fw_mp4_gvop_set_broken_link(&wi.mp4_gvop, data->broken_link); in mp4_Parse_GroupOfVideoObjectPlane()
54 viddec_fw_mp4_gvop_set_closed_gov(&wi.mp4_gvop, data->closed_gov); in mp4_Parse_GroupOfVideoObjectPlane()
55 viddec_fw_mp4_gvop_set_time_code(&wi.mp4_gvop, time_code); in mp4_Parse_GroupOfVideoObjectPlane()
57 ret = viddec_pm_append_workitem(parent, &wi); in mp4_Parse_GroupOfVideoObjectPlane()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/
Dvc1parse.c78 viddec_workload_item_t wi; in vc1_ParseRCVSequenceLayer() local
80 wi.vwi_type = VIDDEC_WORKLOAD_VC1_SEQ_HDR_STRUCT_A_C; in vc1_ParseRCVSequenceLayer()
82 wi.vc1_sh_struct_a_c.size = 0; in vc1_ParseRCVSequenceLayer()
83 wi.vc1_sh_struct_a_c.flags = 0; in vc1_ParseRCVSequenceLayer()
84 wi.vc1_sh_struct_a_c.pad = 0; in vc1_ParseRCVSequenceLayer()
86 viddec_fw_vc1_set_rcv_horiz_size(&wi.vc1_sh_struct_a_c, rcv.struct_a.HORIZ_SIZE); in vc1_ParseRCVSequenceLayer()
87 viddec_fw_vc1_set_rcv_vert_size(&wi.vc1_sh_struct_a_c, rcv.struct_a.VERT_SIZE); in vc1_ParseRCVSequenceLayer()
89 viddec_fw_vc1_set_rcv_bitrtq_postproc(&wi.vc1_sh_struct_a_c, rcv.struct_c.BITRTQ_POSTPROC); in vc1_ParseRCVSequenceLayer()
90 viddec_fw_vc1_set_rcv_frmrtq_postproc(&wi.vc1_sh_struct_a_c, rcv.struct_c.FRMRTQ_POSTPROC); in vc1_ParseRCVSequenceLayer()
91 viddec_fw_vc1_set_rcv_profile(&wi.vc1_sh_struct_a_c, rcv.struct_c.PROFILE); in vc1_ParseRCVSequenceLayer()
[all …]
Dviddec_vc1_workload.c497 viddec_workload_item_t wi; in vc1_parse_emit_current_frame() local
522 wi.vwi_type = VIDDEC_WORKLOAD_DECODER_SPECIFIC; in vc1_parse_emit_current_frame()
523 wi.data.data_offset = (unsigned int)pl - (unsigned int)&parser->spr; // offset within struct in vc1_parse_emit_current_frame()
524 wi.data.data_payload[0] = pl[0]; in vc1_parse_emit_current_frame()
525 wi.data.data_payload[1] = pl[1]; in vc1_parse_emit_current_frame()
528 viddec_pm_append_workitem( parent, &wi ); in vc1_parse_emit_current_frame()
536 wi.vwi_type = VIDDEC_WORKLOAD_VC1_BITOFFSET; in vc1_parse_emit_current_frame()
541 wi.vwi_payload[0] = bit + (is_emul*8); in vc1_parse_emit_current_frame()
542 wi.vwi_payload[1] = parser->info.picLayerHeader.SLICE_ADDR; in vc1_parse_emit_current_frame()
543 wi.vwi_payload[2] = 0xdeaddead; in vc1_parse_emit_current_frame()
[all …]
Dvc1parse_bitplane.c575 viddec_workload_item_t wi; in vc1_DecodeBitplane() local
586 nitems = (sizeinbytes + (sizeof(wi.data.data_payload) - 1)) / in vc1_DecodeBitplane()
587 sizeof(wi.data.data_payload); in vc1_DecodeBitplane()
592 wi.vwi_type = bpnum; in vc1_DecodeBitplane()
593 wi.data.data_offset = (char *)pl - (char *)bit_dw; // offset within struct in vc1_DecodeBitplane()
594 wi.data.data_payload[0] = pl[0]; in vc1_DecodeBitplane()
595 wi.data.data_payload[1] = pl[1]; in vc1_DecodeBitplane()
598 viddec_pm_append_workitem( ctxt, &wi ); in vc1_DecodeBitplane()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dviddec_pm_utils_list.c113 …dec_pm_utils_list_emit_slice_tags_append(viddec_emitter_wkld *cur_wkld, viddec_workload_item_t *wi) in viddec_pm_utils_list_emit_slice_tags_append() argument
119 if((wi->es.es_phys_len != 0) || (wi->es.es_flags&VIDDEC_WORKLOAD_FLAGS_ES_END_SLICE)) in viddec_pm_utils_list_emit_slice_tags_append()
121 viddec_emit_append(cur_wkld, wi); in viddec_pm_utils_list_emit_slice_tags_append()
128 …2_t start, uint32_t end, viddec_emitter *emitter, uint32_t is_cur_wkld, viddec_workload_item_t *wi) in viddec_pm_utils_list_emit_slice_tags() argument
135 flags = wi->es.es_flags; in viddec_pm_utils_list_emit_slice_tags()
142 wi->es.es_phys_len = end - start + 1; in viddec_pm_utils_list_emit_slice_tags()
143 wi->es.es_phys_addr = list->sc_ibuf[items].phys + start - list->data[items].stpos; in viddec_pm_utils_list_emit_slice_tags()
145 if(items == 0) wi->es.es_phys_addr += list->start_offset; in viddec_pm_utils_list_emit_slice_tags()
147wi->es.es_flags = flags | VIDDEC_WORKLOAD_FLAGS_ES_START_SLICE | VIDDEC_WORKLOAD_FLAGS_ES_END_SLIC… in viddec_pm_utils_list_emit_slice_tags()
148 viddec_pm_utils_list_emit_slice_tags_append(cur_wkld, wi); in viddec_pm_utils_list_emit_slice_tags()
[all …]
Dviddec_pm_parser_ops.c9 …_t start, uint32_t end, viddec_emitter *emitter, uint32_t is_cur_wkld, viddec_workload_item_t *wi);
82 viddec_workload_item_t wi; in viddec_pm_append_restof_pixel_data() local
88 wi.vwi_type = VIDDEC_WORKLOAD_PIXEL_ES; in viddec_pm_append_restof_pixel_data()
89 wi.es.es_flags = 0; in viddec_pm_append_restof_pixel_data()
90 …ist_emit_slice_tags(&(cxt->list), start, cxt->list.total_bytes -1, &(cxt->emitter), cur_wkld, &wi); in viddec_pm_append_restof_pixel_data()
142 …c_tags(void *parent, uint32_t start, uint32_t end, viddec_workload_item_t *wi, uint32_t using_next) in viddec_pm_append_misc_tags() argument
149 viddec_pm_utils_list_emit_slice_tags(&(cxt->list), start, end, &(cxt->emitter), using_next, wi); in viddec_pm_append_misc_tags()
169 void viddec_pm_setup_userdata(viddec_workload_item_t *wi) in viddec_pm_setup_userdata() argument
172 wi->vwi_payload[0] = SWAP_WORD(wi->vwi_payload[0]); in viddec_pm_setup_userdata()
173 wi->vwi_payload[1] = SWAP_WORD(wi->vwi_payload[1]); in viddec_pm_setup_userdata()
[all …]
/hardware/intel/common/wrs_omxil_core/utils/src/
Dworkqueue.cpp136 WorkableInterface *wi = in Run() local
157 DoWork(wi); in Run()
166 void WorkQueue::DoWork(WorkableInterface *wi) in DoWork() argument
168 if (wi) in DoWork()
169 wi->Work(); in DoWork()
185 void WorkQueue::ScheduleWork(WorkableInterface *wi) in ScheduleWork() argument
188 if (wi) in ScheduleWork()
189 works = list_add_tail(works, wi); in ScheduleWork()
196 void WorkQueue::CancelScheduledWork(WorkableInterface *wi) in CancelScheduledWork() argument
199 works = list_delete_all(works, wi); in CancelScheduledWork()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/
Dviddec_parser_ops.h94 …c_tags(void *parent, uint32_t start, uint32_t end, viddec_workload_item_t *wi, uint32_t using_next…
100 static inline void viddec_fw_reset_workload_item(viddec_workload_item_t *wi) in viddec_fw_reset_workload_item() argument
102 wi->vwi_payload[0] = wi->vwi_payload[1] = wi->vwi_payload[2] = 0; in viddec_fw_reset_workload_item()
105 void viddec_pm_setup_userdata(viddec_workload_item_t *wi);
/hardware/intel/common/wrs_omxil_core/utils/inc/
Dworkqueue.h54 void ScheduleWork(WorkableInterface *wi);
64 void CancelScheduledWork(WorkableInterface *wi);
98 void DoWork(WorkableInterface *wi);
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/include/
Dviddec_mpeg2.h152 struct mpeg2_workitems wi; member
228 void viddec_mpeg2_append_workitem (void *parent, viddec_workload_item_t *wi, uint8_t flag…
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.h167 Whf(uint32_t wi, uint32_t he, uint32_t f) : in Whf()
168 w(wi), h(he), format(f), size(0) {} in Whf()
169 Whf(uint32_t wi, uint32_t he, uint32_t f, uint32_t s) : in Whf()
170 w(wi), h(he), format(f), size(s) {} in Whf()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.h167 Whf(uint32_t wi, uint32_t he, uint32_t f) : in Whf()
168 w(wi), h(he), format(f), size(0) {} in Whf()
169 Whf(uint32_t wi, uint32_t he, uint32_t f, uint32_t s) : in Whf()
170 w(wi), h(he), format(f), size(s) {} in Whf()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayUtils.h194 Whf(uint32_t wi, uint32_t he, uint32_t f) : in Whf()
195 w(wi), h(he), format(f), size(0) {} in Whf()
196 Whf(uint32_t wi, uint32_t he, uint32_t f, uint32_t s) : in Whf()
197 w(wi), h(he), format(f), size(s) {} in Whf()
/hardware/qcom/display/msm8974/liboverlay/
DoverlayUtils.h194 Whf(uint32_t wi, uint32_t he, uint32_t f) : in Whf()
195 w(wi), h(he), format(f), size(0) {} in Whf()
196 Whf(uint32_t wi, uint32_t he, uint32_t f, uint32_t s) : in Whf()
197 w(wi), h(he), format(f), size(s) {} in Whf()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayUtils.h198 Whf(uint32_t wi, uint32_t he, uint32_t f) : in Whf()
199 w(wi), h(he), format(f), size(0) {} in Whf()
200 Whf(uint32_t wi, uint32_t he, uint32_t f, uint32_t s) : in Whf()
201 w(wi), h(he), format(f), size(s) {} in Whf()