• Home
  • Raw
  • Download

Lines Matching refs:ps_ip

303     impeg2d_ctl_set_num_cores_ip_t   *ps_ip;  in impeg2d_api_set_num_cores()  local
308 ps_ip = (impeg2d_ctl_set_num_cores_ip_t *)pv_api_ip; in impeg2d_api_set_num_cores()
314 if(ps_ip->u4_num_cores > 0) in impeg2d_api_set_num_cores()
320 ps_dec_state_multi_core->ps_dec_state[i]->i4_num_cores = ps_ip->u4_num_cores; in impeg2d_api_set_num_cores()
335 impeg2d_ctl_get_seq_info_ip_t *ps_ip; in impeg2d_api_get_seq_info() local
340 ps_ip = (impeg2d_ctl_get_seq_info_ip_t *)pv_api_ip; in impeg2d_api_get_seq_info()
345 UNUSED(ps_ip); in impeg2d_api_get_seq_info()
410 impeg2d_ctl_set_processor_ip_t *ps_ip; in impeg2d_set_processor() local
418 ps_ip = (impeg2d_ctl_set_processor_ip_t *)pv_api_ip; in impeg2d_set_processor()
421 ps_codec->e_processor_arch = (IVD_ARCH_T)ps_ip->u4_arch; in impeg2d_set_processor()
422 ps_codec->e_processor_soc = (IVD_SOC_T)ps_ip->u4_soc; in impeg2d_set_processor()
449 void impeg2d_fill_mem_rec(impeg2d_fill_mem_rec_ip_t *ps_ip, in impeg2d_fill_mem_rec() argument
456 iv_mem_rec_t *ps_mem_rec = ps_ip->s_ivd_fill_mem_rec_ip_t.pv_mem_rec_location; in impeg2d_fill_mem_rec()
462 max_frm_width = ALIGN16(ps_ip->s_ivd_fill_mem_rec_ip_t.u4_max_frm_wd); in impeg2d_fill_mem_rec()
467 max_frm_height = ALIGN32(ps_ip->s_ivd_fill_mem_rec_ip_t.u4_max_frm_ht) + 9; in impeg2d_fill_mem_rec()
473 …if(ps_ip->s_ivd_fill_mem_rec_ip_t.u4_size > offsetof(impeg2d_fill_mem_rec_ip_t, u4_share_disp_buf)) in impeg2d_fill_mem_rec()
476 i4_share_disp_buf = ps_ip->u4_share_disp_buf; in impeg2d_fill_mem_rec()
485 … if(ps_ip->s_ivd_fill_mem_rec_ip_t.u4_size > offsetof(impeg2d_fill_mem_rec_ip_t, e_output_format)) in impeg2d_fill_mem_rec()
487 i4_chroma_format = ps_ip->e_output_format; in impeg2d_fill_mem_rec()
494 if(ps_ip->s_ivd_fill_mem_rec_ip_t.u4_size > offsetof(impeg2d_fill_mem_rec_ip_t, u4_deinterlace)) in impeg2d_fill_mem_rec()
496 u4_deinterlace = ps_ip->u4_deinterlace; in impeg2d_fill_mem_rec()
731 impeg2d_ctl_getversioninfo_ip_t *ps_ip; in impeg2d_api_get_version() local
736 ps_ip = (impeg2d_ctl_getversioninfo_ip_t *)pv_api_ip; in impeg2d_api_get_version()
744 if((WORD32)ps_ip->s_ivd_ctl_getversioninfo_ip_t.u4_version_buffer_size <= 0) in impeg2d_api_get_version()
750 if(ps_ip->s_ivd_ctl_getversioninfo_ip_t.u4_version_buffer_size in impeg2d_api_get_version()
753 memcpy(ps_ip->s_ivd_ctl_getversioninfo_ip_t.pv_version_buffer, in impeg2d_api_get_version()
1252 impeg2d_ctl_get_frame_dimensions_ip_t *ps_ip; in impeg2d_get_frame_dimensions() local
1262 ps_ip = (impeg2d_ctl_get_frame_dimensions_ip_t *)pv_api_ip; in impeg2d_get_frame_dimensions()
1264 UNUSED(ps_ip); in impeg2d_get_frame_dimensions()
1603 void *ps_ip, in impeg2d_api_init() argument
1625 ps_dec_init_ip = (impeg2d_init_ip_t *)ps_ip; in impeg2d_api_init()
2266 impeg2d_num_mem_rec_ip_t *ps_ip = (impeg2d_num_mem_rec_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity() local
2270 if(ps_ip->s_ivd_num_mem_rec_ip_t.u4_size != sizeof(impeg2d_num_mem_rec_ip_t)) in impeg2d_api_check_struct_sanity()
2287 impeg2d_fill_mem_rec_ip_t *ps_ip = (impeg2d_fill_mem_rec_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity() local
2293 if(ps_ip->s_ivd_fill_mem_rec_ip_t.u4_size != sizeof(impeg2d_fill_mem_rec_ip_t)) in impeg2d_api_check_struct_sanity()
2307 if(ps_ip->s_ivd_fill_mem_rec_ip_t.u4_max_frm_wd < MIN_WIDTH) in impeg2d_api_check_struct_sanity()
2314 if(ps_ip->s_ivd_fill_mem_rec_ip_t.u4_max_frm_wd > MAX_WIDTH) in impeg2d_api_check_struct_sanity()
2321 if(ps_ip->s_ivd_fill_mem_rec_ip_t.u4_max_frm_ht < MIN_HEIGHT) in impeg2d_api_check_struct_sanity()
2328 if(ps_ip->s_ivd_fill_mem_rec_ip_t.u4_max_frm_ht > MAX_HEIGHT) in impeg2d_api_check_struct_sanity()
2335 if(NULL == ps_ip->s_ivd_fill_mem_rec_ip_t.pv_mem_rec_location) in impeg2d_api_check_struct_sanity()
2343 ps_mem_rec = ps_ip->s_ivd_fill_mem_rec_ip_t.pv_mem_rec_location; in impeg2d_api_check_struct_sanity()
2358 impeg2d_init_ip_t *ps_ip = (impeg2d_init_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity() local
2365 if(ps_ip->s_ivd_init_ip_t.u4_size != sizeof(impeg2d_init_ip_t)) in impeg2d_api_check_struct_sanity()
2384 if(ps_ip->s_ivd_init_ip_t.u4_num_mem_rec > u4_tot_num_mem_recs) in impeg2d_api_check_struct_sanity()
2391 if(ps_ip->s_ivd_init_ip_t.u4_frm_max_wd < MIN_WIDTH) in impeg2d_api_check_struct_sanity()
2398 if(ps_ip->s_ivd_init_ip_t.u4_frm_max_wd > MAX_WIDTH) in impeg2d_api_check_struct_sanity()
2405 if(ps_ip->s_ivd_init_ip_t.u4_frm_max_ht < MIN_HEIGHT) in impeg2d_api_check_struct_sanity()
2412 if(ps_ip->s_ivd_init_ip_t.u4_frm_max_ht > MAX_HEIGHT) in impeg2d_api_check_struct_sanity()
2419 if(NULL == ps_ip->s_ivd_init_ip_t.pv_mem_rec_location) in impeg2d_api_check_struct_sanity()
2426 if((ps_ip->s_ivd_init_ip_t.e_output_format != IV_YUV_420P) && in impeg2d_api_check_struct_sanity()
2427 …(ps_ip->s_ivd_init_ip_t.e_output_format != IV_YUV_422ILE)&&(ps_ip->s_ivd_init_ip_t.e_output_format… in impeg2d_api_check_struct_sanity()
2435 if(ps_ip->s_ivd_init_ip_t.u4_num_mem_rec < NUM_MEM_RECORDS) in impeg2d_api_check_struct_sanity()
2442 ps_mem_rec = ps_ip->s_ivd_init_ip_t.pv_mem_rec_location; in impeg2d_api_check_struct_sanity()
2454 for(i=0;i < (WORD32)ps_ip->s_ivd_init_ip_t.u4_num_mem_rec ; i++) in impeg2d_api_check_struct_sanity()
2472 for(i = 1; i < (WORD32)ps_ip->s_ivd_init_ip_t.u4_num_mem_rec; i++) in impeg2d_api_check_struct_sanity()
2543 …s_fill_mem_rec_ip.s_ivd_fill_mem_rec_ip_t.u4_max_frm_wd = ps_ip->s_ivd_init_ip_t.u4_fr… in impeg2d_api_check_struct_sanity()
2544 …s_fill_mem_rec_ip.s_ivd_fill_mem_rec_ip_t.u4_max_frm_ht = ps_ip->s_ivd_init_ip_t.u4_fr… in impeg2d_api_check_struct_sanity()
2546 … s_fill_mem_rec_ip.u4_share_disp_buf = ps_ip->u4_share_disp_buf; in impeg2d_api_check_struct_sanity()
2547 …s_fill_mem_rec_ip.e_output_format = ps_ip->s_ivd_init_ip_t.e_out… in impeg2d_api_check_struct_sanity()
2615 impeg2d_get_display_frame_ip_t *ps_ip = (impeg2d_get_display_frame_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity() local
2620 … if(ps_ip->s_ivd_get_display_frame_ip_t.u4_size != sizeof(impeg2d_get_display_frame_ip_t)) in impeg2d_api_check_struct_sanity()
2634 if(ps_ip->s_ivd_get_display_frame_ip_t.s_out_buffer.u4_num_bufs == 0) in impeg2d_api_check_struct_sanity()
2641 … for(i = 0; i< (WORD32)ps_ip->s_ivd_get_display_frame_ip_t.s_out_buffer.u4_num_bufs;i++) in impeg2d_api_check_struct_sanity()
2643 if(ps_ip->s_ivd_get_display_frame_ip_t.s_out_buffer.pu1_bufs[i] == NULL) in impeg2d_api_check_struct_sanity()
2650 if(ps_ip->s_ivd_get_display_frame_ip_t.s_out_buffer.u4_min_out_buf_size[i] == 0) in impeg2d_api_check_struct_sanity()
2669 impeg2d_rel_display_frame_ip_t *ps_ip = (impeg2d_rel_display_frame_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity() local
2674 … if ((ps_ip->s_ivd_rel_display_frame_ip_t.u4_size != sizeof(impeg2d_rel_display_frame_ip_t)) in impeg2d_api_check_struct_sanity()
2675 … && (ps_ip->s_ivd_rel_display_frame_ip_t.u4_size != sizeof(ivd_rel_display_frame_ip_t))) in impeg2d_api_check_struct_sanity()
2696 impeg2d_set_display_frame_ip_t *ps_ip = (impeg2d_set_display_frame_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity() local
2702 … if ((ps_ip->s_ivd_set_display_frame_ip_t.u4_size != sizeof(impeg2d_set_display_frame_ip_t)) in impeg2d_api_check_struct_sanity()
2703 … && (ps_ip->s_ivd_set_display_frame_ip_t.u4_size != sizeof(ivd_set_display_frame_ip_t))) in impeg2d_api_check_struct_sanity()
2718 if(ps_ip->s_ivd_set_display_frame_ip_t.num_disp_bufs == 0) in impeg2d_api_check_struct_sanity()
2725 for(j = 0; j < ps_ip->s_ivd_set_display_frame_ip_t.num_disp_bufs; j++) in impeg2d_api_check_struct_sanity()
2727 if(ps_ip->s_ivd_set_display_frame_ip_t.s_disp_buffer[j].u4_num_bufs == 0) in impeg2d_api_check_struct_sanity()
2734 for(i=0;i< ps_ip->s_ivd_set_display_frame_ip_t.s_disp_buffer[j].u4_num_bufs;i++) in impeg2d_api_check_struct_sanity()
2736 if(ps_ip->s_ivd_set_display_frame_ip_t.s_disp_buffer[j].pu1_bufs[i] == NULL) in impeg2d_api_check_struct_sanity()
2743 … if(ps_ip->s_ivd_set_display_frame_ip_t.s_disp_buffer[j].u4_min_out_buf_size[i] == 0) in impeg2d_api_check_struct_sanity()
2756 impeg2d_video_decode_ip_t *ps_ip = (impeg2d_video_decode_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity() local
2761 if(ps_ip->s_ivd_video_decode_ip_t.u4_size != sizeof(impeg2d_video_decode_ip_t)) in impeg2d_api_check_struct_sanity()
2780 impeg2d_retrieve_mem_rec_ip_t *ps_ip = (impeg2d_retrieve_mem_rec_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity() local
2786 … if(ps_ip->s_ivd_retrieve_mem_rec_ip_t.u4_size != sizeof(impeg2d_retrieve_mem_rec_ip_t)) in impeg2d_api_check_struct_sanity()
2800 ps_mem_rec = ps_ip->s_ivd_retrieve_mem_rec_ip_t.pv_mem_rec_location; in impeg2d_api_check_struct_sanity()
2827 impeg2d_ctl_set_config_ip_t *ps_ip; in impeg2d_api_check_struct_sanity() local
2829 ps_ip = (impeg2d_ctl_set_config_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity()
2834 … if(ps_ip->s_ivd_ctl_set_config_ip_t.u4_size != sizeof(impeg2d_ctl_set_config_ip_t)) in impeg2d_api_check_struct_sanity()
2858 impeg2d_ctl_getstatus_ip_t *ps_ip; in impeg2d_api_check_struct_sanity() local
2861 ps_ip = (impeg2d_ctl_getstatus_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity()
2866 … if(ps_ip->s_ivd_ctl_getstatus_ip_t.u4_size != sizeof(impeg2d_ctl_getstatus_ip_t)) in impeg2d_api_check_struct_sanity()
2883 impeg2d_ctl_getbufinfo_ip_t *ps_ip; in impeg2d_api_check_struct_sanity() local
2885 ps_ip = (impeg2d_ctl_getbufinfo_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity()
2890 … if(ps_ip->s_ivd_ctl_getbufinfo_ip_t.u4_size != sizeof(impeg2d_ctl_getbufinfo_ip_t)) in impeg2d_api_check_struct_sanity()
2907 impeg2d_ctl_getversioninfo_ip_t *ps_ip; in impeg2d_api_check_struct_sanity() local
2909 ps_ip = (impeg2d_ctl_getversioninfo_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity()
2914 … if(ps_ip->s_ivd_ctl_getversioninfo_ip_t.u4_size != sizeof(impeg2d_ctl_getversioninfo_ip_t)) in impeg2d_api_check_struct_sanity()
2931 impeg2d_ctl_flush_ip_t *ps_ip; in impeg2d_api_check_struct_sanity() local
2933 ps_ip = (impeg2d_ctl_flush_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity()
2938 … if(ps_ip->s_ivd_ctl_flush_ip_t.u4_size != sizeof(impeg2d_ctl_flush_ip_t)) in impeg2d_api_check_struct_sanity()
2955 impeg2d_ctl_reset_ip_t *ps_ip; in impeg2d_api_check_struct_sanity() local
2957 ps_ip = (impeg2d_ctl_reset_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity()
2962 … if(ps_ip->s_ivd_ctl_reset_ip_t.u4_size != sizeof(impeg2d_ctl_reset_ip_t)) in impeg2d_api_check_struct_sanity()
2979 impeg2d_ctl_get_frame_dimensions_ip_t *ps_ip; in impeg2d_api_check_struct_sanity() local
2982 ps_ip = in impeg2d_api_check_struct_sanity()
2987 if(ps_ip->u4_size in impeg2d_api_check_struct_sanity()
3009 impeg2d_ctl_get_seq_info_ip_t *ps_ip; in impeg2d_api_check_struct_sanity() local
3012 ps_ip = in impeg2d_api_check_struct_sanity()
3017 if(ps_ip->u4_size in impeg2d_api_check_struct_sanity()
3039 impeg2d_ctl_set_num_cores_ip_t *ps_ip; in impeg2d_api_check_struct_sanity() local
3042 ps_ip = (impeg2d_ctl_set_num_cores_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity()
3045 if(ps_ip->u4_size in impeg2d_api_check_struct_sanity()
3064 if((ps_ip->u4_num_cores < 1) || (ps_ip->u4_num_cores > MAX_THREADS)) in impeg2d_api_check_struct_sanity()
3066 if(ps_ip->u4_num_cores != 1) in impeg2d_api_check_struct_sanity()
3076 impeg2d_ctl_set_processor_ip_t *ps_ip; in impeg2d_api_check_struct_sanity() local
3079 ps_ip = (impeg2d_ctl_set_processor_ip_t *)pv_api_ip; in impeg2d_api_check_struct_sanity()
3082 if(ps_ip->u4_size in impeg2d_api_check_struct_sanity()