Lines Matching refs:ps_ctl_op
2417 ivd_ctl_flush_op_t *ps_ctl_op = (ivd_ctl_flush_op_t *)pv_api_op; in ihevcd_set_flush_mode() local
2424 ps_ctl_op->u4_error_code = 0; in ihevcd_set_flush_mode()
2469 ivd_ctl_getstatus_op_t *ps_ctl_op = (ivd_ctl_getstatus_op_t *)pv_api_op; in ihevcd_get_status() local
2473 ps_ctl_op->u4_error_code = 0; in ihevcd_get_status()
2477 ps_ctl_op->u4_min_num_in_bufs = MIN_IN_BUFS; in ihevcd_get_status()
2479 ps_ctl_op->u4_min_num_out_bufs = MIN_OUT_BUFS_420; in ihevcd_get_status()
2481 ps_ctl_op->u4_min_num_out_bufs = MIN_OUT_BUFS_422ILE; in ihevcd_get_status()
2483 ps_ctl_op->u4_min_num_out_bufs = MIN_OUT_BUFS_RGB565; in ihevcd_get_status()
2485 ps_ctl_op->u4_min_num_out_bufs = MIN_OUT_BUFS_RGBA8888; in ihevcd_get_status()
2488 ps_ctl_op->u4_min_num_out_bufs = MIN_OUT_BUFS_420SP; in ihevcd_get_status()
2490 ps_ctl_op->u4_num_disp_bufs = 1; in ihevcd_get_status()
2492 for(i = 0; i < (WORD32)ps_ctl_op->u4_min_num_in_bufs; i++) in ihevcd_get_status()
2496 ps_ctl_op->u4_min_in_buf_size[i] = MAX((wd * ht), MIN_BITSBUF_SIZE); in ihevcd_get_status()
2521 ps_ctl_op->u4_num_disp_bufs = 1; in ihevcd_get_status()
2533 ps_ctl_op->u4_num_disp_bufs = reorder_pic_cnt; in ihevcd_get_status()
2535 ps_ctl_op->u4_num_disp_bufs += ref_pic_cnt + 1; in ihevcd_get_status()
2539 ps_ctl_op->u4_num_disp_bufs = MAX_REF_CNT; in ihevcd_get_status()
2542 ps_ctl_op->u4_num_disp_bufs = MIN( in ihevcd_get_status()
2543 ps_ctl_op->u4_num_disp_bufs, 32); in ihevcd_get_status()
2549 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht); in ihevcd_get_status()
2550 ps_ctl_op->u4_min_out_buf_size[1] = (wd * ht) >> 2; in ihevcd_get_status()
2551 ps_ctl_op->u4_min_out_buf_size[2] = (wd * ht) >> 2; in ihevcd_get_status()
2555 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht) * 2; in ihevcd_get_status()
2556 ps_ctl_op->u4_min_out_buf_size[1] = in ihevcd_get_status()
2557 ps_ctl_op->u4_min_out_buf_size[2] = 0; in ihevcd_get_status()
2561 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht) * 2; in ihevcd_get_status()
2562 ps_ctl_op->u4_min_out_buf_size[1] = in ihevcd_get_status()
2563 ps_ctl_op->u4_min_out_buf_size[2] = 0; in ihevcd_get_status()
2567 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht) * 4; in ihevcd_get_status()
2568 ps_ctl_op->u4_min_out_buf_size[1] = in ihevcd_get_status()
2569 ps_ctl_op->u4_min_out_buf_size[2] = 0; in ihevcd_get_status()
2574 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht); in ihevcd_get_status()
2575 ps_ctl_op->u4_min_out_buf_size[1] = (wd * ht) >> 1; in ihevcd_get_status()
2576 ps_ctl_op->u4_min_out_buf_size[2] = 0; in ihevcd_get_status()
2578 ps_ctl_op->u4_pic_ht = ht; in ihevcd_get_status()
2579 ps_ctl_op->u4_pic_wd = wd; in ihevcd_get_status()
2580 ps_ctl_op->u4_frame_rate = 30000; in ihevcd_get_status()
2581 ps_ctl_op->u4_bit_rate = 1000000; in ihevcd_get_status()
2582 ps_ctl_op->e_content_type = IV_PROGRESSIVE; in ihevcd_get_status()
2583 ps_ctl_op->e_output_chroma_format = ps_codec->e_chroma_fmt; in ihevcd_get_status()
2584 ps_codec->i4_num_disp_bufs = ps_ctl_op->u4_num_disp_bufs; in ihevcd_get_status()
2586 if(ps_ctl_op->u4_size == sizeof(ihevcd_cxa_ctl_getstatus_op_t)) in ihevcd_get_status()
2588 ihevcd_cxa_ctl_getstatus_op_t *ps_ext_ctl_op = (ihevcd_cxa_ctl_getstatus_op_t *)ps_ctl_op; in ihevcd_get_status()
2629 ivd_ctl_getbufinfo_op_t *ps_ctl_op = in ihevcd_get_buf_info() local
2633 ps_ctl_op->u4_error_code = 0; in ihevcd_get_buf_info()
2637 ps_ctl_op->u4_min_num_in_bufs = MIN_IN_BUFS; in ihevcd_get_buf_info()
2639 ps_ctl_op->u4_min_num_out_bufs = MIN_OUT_BUFS_420; in ihevcd_get_buf_info()
2641 ps_ctl_op->u4_min_num_out_bufs = MIN_OUT_BUFS_422ILE; in ihevcd_get_buf_info()
2643 ps_ctl_op->u4_min_num_out_bufs = MIN_OUT_BUFS_RGB565; in ihevcd_get_buf_info()
2645 ps_ctl_op->u4_min_num_out_bufs = MIN_OUT_BUFS_RGBA8888; in ihevcd_get_buf_info()
2648 ps_ctl_op->u4_min_num_out_bufs = MIN_OUT_BUFS_420SP; in ihevcd_get_buf_info()
2650 ps_ctl_op->u4_num_disp_bufs = 1; in ihevcd_get_buf_info()
2652 for(i = 0; i < ps_ctl_op->u4_min_num_in_bufs; i++) in ihevcd_get_buf_info()
2657 ps_ctl_op->u4_min_in_buf_size[i] = MAX((wd * ht), MIN_BITSBUF_SIZE); in ihevcd_get_buf_info()
2690 ps_ctl_op->u4_num_disp_bufs = 1; in ihevcd_get_buf_info()
2702 ps_ctl_op->u4_num_disp_bufs = reorder_pic_cnt; in ihevcd_get_buf_info()
2704 ps_ctl_op->u4_num_disp_bufs += ref_pic_cnt + 1; in ihevcd_get_buf_info()
2708 ps_ctl_op->u4_num_disp_bufs = MAX_REF_CNT; in ihevcd_get_buf_info()
2711 ps_ctl_op->u4_num_disp_bufs = MIN( in ihevcd_get_buf_info()
2712 ps_ctl_op->u4_num_disp_bufs, 32); in ihevcd_get_buf_info()
2719 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht); in ihevcd_get_buf_info()
2720 ps_ctl_op->u4_min_out_buf_size[1] = (wd * ht) >> 2; in ihevcd_get_buf_info()
2721 ps_ctl_op->u4_min_out_buf_size[2] = (wd * ht) >> 2; in ihevcd_get_buf_info()
2725 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht) * 2; in ihevcd_get_buf_info()
2726 ps_ctl_op->u4_min_out_buf_size[1] = in ihevcd_get_buf_info()
2727 ps_ctl_op->u4_min_out_buf_size[2] = 0; in ihevcd_get_buf_info()
2731 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht) * 2; in ihevcd_get_buf_info()
2732 ps_ctl_op->u4_min_out_buf_size[1] = in ihevcd_get_buf_info()
2733 ps_ctl_op->u4_min_out_buf_size[2] = 0; in ihevcd_get_buf_info()
2737 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht) * 4; in ihevcd_get_buf_info()
2738 ps_ctl_op->u4_min_out_buf_size[1] = in ihevcd_get_buf_info()
2739 ps_ctl_op->u4_min_out_buf_size[2] = 0; in ihevcd_get_buf_info()
2744 ps_ctl_op->u4_min_out_buf_size[0] = (wd * ht); in ihevcd_get_buf_info()
2745 ps_ctl_op->u4_min_out_buf_size[1] = (wd * ht) >> 1; in ihevcd_get_buf_info()
2746 ps_ctl_op->u4_min_out_buf_size[2] = 0; in ihevcd_get_buf_info()
2748 ps_codec->i4_num_disp_bufs = ps_ctl_op->u4_num_disp_bufs; in ihevcd_get_buf_info()
3505 ivd_ctl_set_config_op_t *ps_ctl_op; in ihevcd_ctl() local
3511 ps_ctl_op = (ivd_ctl_set_config_op_t *)pv_api_op; in ihevcd_ctl()
3515 ps_ctl_op->u4_error_code |= 1 << IVD_FATALERROR; in ihevcd_ctl()
3516 ps_ctl_op->u4_error_code |= IHEVCD_INIT_NOT_DONE; in ihevcd_ctl()