• Home
  • Raw
  • Download

Lines Matching refs:ps_ip

197             ihevcd_cxa_create_ip_t *ps_ip = (ihevcd_cxa_create_ip_t *)pv_api_ip;  in api_check_struct_sanity()  local
203 if((ps_ip->s_ivd_create_ip_t.u4_size > sizeof(ihevcd_cxa_create_ip_t)) in api_check_struct_sanity()
204 || (ps_ip->s_ivd_create_ip_t.u4_size in api_check_struct_sanity()
228 if((ps_ip->s_ivd_create_ip_t.e_output_format != IV_YUV_420P) in api_check_struct_sanity()
229 && (ps_ip->s_ivd_create_ip_t.e_output_format in api_check_struct_sanity()
231 && (ps_ip->s_ivd_create_ip_t.e_output_format in api_check_struct_sanity()
233 && (ps_ip->s_ivd_create_ip_t.e_output_format in api_check_struct_sanity()
235 && (ps_ip->s_ivd_create_ip_t.e_output_format in api_check_struct_sanity()
251 ihevcd_cxa_get_display_frame_ip_t *ps_ip = in api_check_struct_sanity() local
258 if((ps_ip->s_ivd_get_display_frame_ip_t.u4_size in api_check_struct_sanity()
260 && (ps_ip->s_ivd_get_display_frame_ip_t.u4_size in api_check_struct_sanity()
287 ihevcd_cxa_rel_display_frame_ip_t *ps_ip = in api_check_struct_sanity() local
294 if((ps_ip->s_ivd_rel_display_frame_ip_t.u4_size in api_check_struct_sanity()
296 && (ps_ip->s_ivd_rel_display_frame_ip_t.u4_size in api_check_struct_sanity()
323 ihevcd_cxa_set_display_frame_ip_t *ps_ip = in api_check_struct_sanity() local
331 if((ps_ip->s_ivd_set_display_frame_ip_t.u4_size in api_check_struct_sanity()
333 && (ps_ip->s_ivd_set_display_frame_ip_t.u4_size in api_check_struct_sanity()
355 if(ps_ip->s_ivd_set_display_frame_ip_t.num_disp_bufs == 0) in api_check_struct_sanity()
364 for(j = 0; j < ps_ip->s_ivd_set_display_frame_ip_t.num_disp_bufs; in api_check_struct_sanity()
367 if(ps_ip->s_ivd_set_display_frame_ip_t.s_disp_buffer[j].u4_num_bufs in api_check_struct_sanity()
379 … < (WORD32)ps_ip->s_ivd_set_display_frame_ip_t.s_disp_buffer[j].u4_num_bufs; in api_check_struct_sanity()
382 if(ps_ip->s_ivd_set_display_frame_ip_t.s_disp_buffer[j].pu1_bufs[i] in api_check_struct_sanity()
392 if(ps_ip->s_ivd_set_display_frame_ip_t.s_disp_buffer[j].u4_min_out_buf_size[i] in api_check_struct_sanity()
408 ihevcd_cxa_video_decode_ip_t *ps_ip = in api_check_struct_sanity() local
414 ps_ip->s_ivd_video_decode_ip_t.u4_num_Bytes); in api_check_struct_sanity()
417 if(ps_ip->s_ivd_video_decode_ip_t.u4_size in api_check_struct_sanity()
419 && ps_ip->s_ivd_video_decode_ip_t.u4_size in api_check_struct_sanity()
448 ihevcd_cxa_delete_ip_t *ps_ip = in api_check_struct_sanity() local
455 if(ps_ip->s_ivd_delete_ip_t.u4_size in api_check_struct_sanity()
491 ihevcd_cxa_ctl_set_config_ip_t *ps_ip; in api_check_struct_sanity() local
493 ps_ip = (ihevcd_cxa_ctl_set_config_ip_t *)pv_api_ip; in api_check_struct_sanity()
496 if(ps_ip->s_ivd_ctl_set_config_ip_t.u4_size in api_check_struct_sanity()
525 ihevcd_cxa_ctl_getstatus_ip_t *ps_ip; in api_check_struct_sanity() local
528 ps_ip = (ihevcd_cxa_ctl_getstatus_ip_t *)pv_api_ip; in api_check_struct_sanity()
530 if(ps_ip->s_ivd_ctl_getstatus_ip_t.u4_size in api_check_struct_sanity()
555 ihevcd_cxa_ctl_getbufinfo_ip_t *ps_ip; in api_check_struct_sanity() local
557 ps_ip = (ihevcd_cxa_ctl_getbufinfo_ip_t *)pv_api_ip; in api_check_struct_sanity()
560 if(ps_ip->s_ivd_ctl_getbufinfo_ip_t.u4_size in api_check_struct_sanity()
583 ihevcd_cxa_ctl_getversioninfo_ip_t *ps_ip; in api_check_struct_sanity() local
585 ps_ip = (ihevcd_cxa_ctl_getversioninfo_ip_t *)pv_api_ip; in api_check_struct_sanity()
587 if(ps_ip->s_ivd_ctl_getversioninfo_ip_t.u4_size in api_check_struct_sanity()
610 ihevcd_cxa_ctl_flush_ip_t *ps_ip; in api_check_struct_sanity() local
612 ps_ip = (ihevcd_cxa_ctl_flush_ip_t *)pv_api_ip; in api_check_struct_sanity()
614 if(ps_ip->s_ivd_ctl_flush_ip_t.u4_size in api_check_struct_sanity()
637 ihevcd_cxa_ctl_reset_ip_t *ps_ip; in api_check_struct_sanity() local
639 ps_ip = (ihevcd_cxa_ctl_reset_ip_t *)pv_api_ip; in api_check_struct_sanity()
641 if(ps_ip->s_ivd_ctl_reset_ip_t.u4_size in api_check_struct_sanity()
663 ihevcd_cxa_ctl_degrade_ip_t *ps_ip; in api_check_struct_sanity() local
666 ps_ip = (ihevcd_cxa_ctl_degrade_ip_t *)pv_api_ip; in api_check_struct_sanity()
669 if(ps_ip->u4_size in api_check_struct_sanity()
687 if((ps_ip->i4_degrade_pics < 0) || in api_check_struct_sanity()
688 (ps_ip->i4_degrade_pics > 4) || in api_check_struct_sanity()
689 (ps_ip->i4_nondegrade_interval < 0) || in api_check_struct_sanity()
690 (ps_ip->i4_degrade_type < 0) || in api_check_struct_sanity()
691 (ps_ip->i4_degrade_type > 15)) in api_check_struct_sanity()
702 ihevcd_cxa_ctl_get_frame_dimensions_ip_t *ps_ip; in api_check_struct_sanity() local
705 ps_ip = in api_check_struct_sanity()
710 if(ps_ip->u4_size in api_check_struct_sanity()
733 ihevcd_cxa_ctl_get_vui_params_ip_t *ps_ip; in api_check_struct_sanity() local
736 ps_ip = in api_check_struct_sanity()
741 if(ps_ip->u4_size in api_check_struct_sanity()
763 ihevcd_cxa_ctl_get_sei_mastering_params_ip_t *ps_ip; in api_check_struct_sanity() local
766 ps_ip = (ihevcd_cxa_ctl_get_sei_mastering_params_ip_t *)pv_api_ip; in api_check_struct_sanity()
769 if(ps_ip->u4_size in api_check_struct_sanity()
791 ihevcd_cxa_ctl_set_num_cores_ip_t *ps_ip; in api_check_struct_sanity() local
794 ps_ip = (ihevcd_cxa_ctl_set_num_cores_ip_t *)pv_api_ip; in api_check_struct_sanity()
797 if(ps_ip->u4_size in api_check_struct_sanity()
816 if((ps_ip->u4_num_cores < 1) || (ps_ip->u4_num_cores > MAX_NUM_CORES)) in api_check_struct_sanity()
818 if(ps_ip->u4_num_cores != 1) in api_check_struct_sanity()
828 ihevcd_cxa_ctl_set_processor_ip_t *ps_ip; in api_check_struct_sanity() local
831 ps_ip = (ihevcd_cxa_ctl_set_processor_ip_t *)pv_api_ip; in api_check_struct_sanity()
834 if(ps_ip->u4_size in api_check_struct_sanity()
2168 ihevcd_cxa_delete_ip_t *ps_ip = (ihevcd_cxa_delete_ip_t *)pv_api_ip; in ihevcd_delete() local
2172 UNUSED(ps_ip); in ihevcd_delete()
2917 ihevcd_cxa_ctl_degrade_ip_t *ps_ip; in ihevcd_set_degrade() local
2921 ps_ip = (ihevcd_cxa_ctl_degrade_ip_t *)pv_api_ip; in ihevcd_set_degrade()
2924 ps_codec->i4_degrade_type = ps_ip->i4_degrade_type; in ihevcd_set_degrade()
2925 ps_codec->i4_nondegrade_interval = ps_ip->i4_nondegrade_interval; in ihevcd_set_degrade()
2926 ps_codec->i4_degrade_pics = ps_ip->i4_degrade_pics; in ihevcd_set_degrade()
2966 ihevcd_cxa_ctl_get_frame_dimensions_ip_t *ps_ip; in ihevcd_get_frame_dimensions() local
2970 ps_ip = (ihevcd_cxa_ctl_get_frame_dimensions_ip_t *)pv_api_ip; in ihevcd_get_frame_dimensions()
2972 UNUSED(ps_ip); in ihevcd_get_frame_dimensions()
3090 ihevcd_cxa_ctl_get_vui_params_ip_t *ps_ip; in ihevcd_get_vui_params() local
3097 ps_ip = (ihevcd_cxa_ctl_get_vui_params_ip_t *)pv_api_ip; in ihevcd_get_vui_params()
3126 UNUSED(ps_ip); in ihevcd_get_vui_params()
3230 ihevcd_cxa_ctl_get_sei_mastering_params_ip_t *ps_ip; in ihevcd_get_sei_mastering_params() local
3237 ps_ip = (ihevcd_cxa_ctl_get_sei_mastering_params_ip_t *)pv_api_ip; in ihevcd_get_sei_mastering_params()
3239 UNUSED(ps_ip); in ihevcd_get_sei_mastering_params()
3307 ihevcd_cxa_ctl_set_processor_ip_t *ps_ip; in ihevcd_set_processor() local
3311 ps_ip = (ihevcd_cxa_ctl_set_processor_ip_t *)pv_api_ip; in ihevcd_set_processor()
3314 ps_codec->e_processor_arch = (IVD_ARCH_T)ps_ip->u4_arch; in ihevcd_set_processor()
3315 ps_codec->e_processor_soc = (IVD_SOC_T)ps_ip->u4_soc; in ihevcd_set_processor()
3377 ihevcd_cxa_ctl_set_num_cores_ip_t *ps_ip; in ihevcd_set_num_cores() local
3381 ps_ip = (ihevcd_cxa_ctl_set_num_cores_ip_t *)pv_api_ip; in ihevcd_set_num_cores()
3385 ps_codec->i4_num_cores = ps_ip->u4_num_cores; in ihevcd_set_num_cores()
3472 ivd_ctl_getversioninfo_ip_t *ps_ip; in ihevcd_ctl() local
3475 ps_ip = (ivd_ctl_getversioninfo_ip_t *)pv_api_ip; in ihevcd_ctl()
3480 if((WORD32)ps_ip->u4_version_buffer_size <= 0) in ihevcd_ctl()
3487 ret = ihevcd_get_version((CHAR *)ps_ip->pv_version_buffer, in ihevcd_ctl()
3488 ps_ip->u4_version_buffer_size); in ihevcd_ctl()