• Home
  • Raw
  • Download

Lines Matching refs:ps_mem_rec

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()  local
521 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
522 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
523 ps_mem_rec->u4_mem_size = sizeof(iv_obj_t); in impeg2d_fill_mem_rec()
525 ps_mem_rec++; in impeg2d_fill_mem_rec()
533 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
534 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
535 ps_mem_rec->u4_mem_size = sizeof(dec_state_multi_core_t); in impeg2d_fill_mem_rec()
537 ps_mem_rec++; in impeg2d_fill_mem_rec()
547 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
548 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
549 ps_mem_rec->u4_mem_size = sizeof(dec_state_t); in impeg2d_fill_mem_rec()
551 ps_mem_rec++; in impeg2d_fill_mem_rec()
555 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
556 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
557 ps_mem_rec->u4_mem_size = ithread_get_handle_size(); in impeg2d_fill_mem_rec()
559 ps_mem_rec++; in impeg2d_fill_mem_rec()
565 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
566 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_SCRATCH_MEM; in impeg2d_fill_mem_rec()
569 ps_mem_rec->u4_mem_size = MB_LUMA_MEM_SIZE; in impeg2d_fill_mem_rec()
572 ps_mem_rec->u4_mem_size += MB_CHROMA_MEM_SIZE; in impeg2d_fill_mem_rec()
575 ps_mem_rec->u4_mem_size += MB_CHROMA_MEM_SIZE; in impeg2d_fill_mem_rec()
578 ps_mem_rec->u4_mem_size += MB_LUMA_MEM_SIZE; in impeg2d_fill_mem_rec()
581 ps_mem_rec->u4_mem_size += MB_CHROMA_MEM_SIZE; in impeg2d_fill_mem_rec()
584 ps_mem_rec->u4_mem_size += MB_CHROMA_MEM_SIZE; in impeg2d_fill_mem_rec()
587 ps_mem_rec->u4_mem_size += MB_LUMA_MEM_SIZE; in impeg2d_fill_mem_rec()
590 ps_mem_rec->u4_mem_size += MB_CHROMA_MEM_SIZE; in impeg2d_fill_mem_rec()
593 ps_mem_rec->u4_mem_size += MB_CHROMA_MEM_SIZE; in impeg2d_fill_mem_rec()
595 ps_mem_rec++; in impeg2d_fill_mem_rec()
603 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
604 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
605 ps_mem_rec->u4_mem_size = 392; in impeg2d_fill_mem_rec()
607 ps_mem_rec++; in impeg2d_fill_mem_rec()
618 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
619 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
620 ps_mem_rec->u4_mem_size = sizeof(buf_mgr_t) + sizeof(pic_buf_t) * BUF_MGR_MAX_CNT; in impeg2d_fill_mem_rec()
622 ps_mem_rec++; in impeg2d_fill_mem_rec()
634 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
635 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
637 ps_mem_rec->u4_mem_size = max_frm_size; in impeg2d_fill_mem_rec()
641 ps_mem_rec->u4_mem_size = i4_chroma_size * 2; in impeg2d_fill_mem_rec()
644 ps_mem_rec->u4_mem_size = 64; in impeg2d_fill_mem_rec()
645 ps_mem_rec++; in impeg2d_fill_mem_rec()
650 ps_mem_rec->u4_mem_alignment = 128; in impeg2d_fill_mem_rec()
651 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
652 ps_mem_rec->u4_mem_size = MAX_BITSTREAM_BUFFER_SIZE + MIN_BUFFER_BYTES_AT_EOS; in impeg2d_fill_mem_rec()
653 ps_mem_rec++; in impeg2d_fill_mem_rec()
669 ps_mem_rec->u4_mem_size = i4_job_queue_size; in impeg2d_fill_mem_rec()
670 ps_mem_rec->u4_mem_alignment = 128; in impeg2d_fill_mem_rec()
671 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
673 ps_mem_rec++; in impeg2d_fill_mem_rec()
678 ps_mem_rec->u4_mem_alignment = 128; in impeg2d_fill_mem_rec()
679 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
680 ps_mem_rec->u4_mem_size = impeg2d_deint_ctxt_size(); in impeg2d_fill_mem_rec()
681 ps_mem_rec++; in impeg2d_fill_mem_rec()
684 ps_mem_rec->u4_mem_alignment = 128; in impeg2d_fill_mem_rec()
685 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
688 ps_mem_rec->u4_mem_size = max_frm_size; in impeg2d_fill_mem_rec()
690 ps_mem_rec->u4_mem_size = 64; in impeg2d_fill_mem_rec()
692 ps_mem_rec++; in impeg2d_fill_mem_rec()
695 ps_mem_rec->u4_mem_alignment = 128; in impeg2d_fill_mem_rec()
696 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
697 ps_mem_rec->u4_mem_size = sizeof(iv_mem_rec_t) * (NUM_MEM_RECORDS); in impeg2d_fill_mem_rec()
698 ps_mem_rec++; in impeg2d_fill_mem_rec()
1610 iv_mem_rec_t *ps_mem_rec ; in impeg2d_api_init() local
1664 ps_mem_rec = ps_dec_init_ip->s_ivd_init_ip_t.pv_mem_rec_location; in impeg2d_api_init()
1665 ps_mem_rec ++; in impeg2d_api_init()
1674 memset(ps_mem_rec->pv_base,0,ps_mem_rec->u4_mem_size); in impeg2d_api_init()
1675 ps_mem_rec++; in impeg2d_api_init()
1679 ps_mem_rec = ps_dec_init_ip->s_ivd_init_ip_t.pv_mem_rec_location; in impeg2d_api_init()
1683 ps_dec_handle = ps_mem_rec->pv_base; in impeg2d_api_init()
1685 ps_mem_rec++; in impeg2d_api_init()
1692 ps_dec_state_multi_core = ps_mem_rec->pv_base; in impeg2d_api_init()
1694 ps_mem_rec++; in impeg2d_api_init()
1710 ps_dec_state = ps_mem_rec->pv_base; in impeg2d_api_init()
1719 ps_mem_rec++; in impeg2d_api_init()
1722 ps_dec_state->pv_codec_thread_handle = ps_mem_rec->pv_base; in impeg2d_api_init()
1724 ps_mem_rec++; in impeg2d_api_init()
1729 pv = ps_mem_rec->pv_base; in impeg2d_api_init()
1793 ps_mem_rec++; in impeg2d_api_init()
1802 ps_dec_state->pv_stack_cntxt = ps_mem_rec->pv_base; in impeg2d_api_init()
1804 ps_mem_rec++; in impeg2d_api_init()
1817 ps_dec_state->pv_pic_buf_mg = ps_mem_rec->pv_base; in impeg2d_api_init()
1818 ps_dec_state->pv_pic_buf_base = (UWORD8 *)ps_mem_rec->pv_base + sizeof(buf_mgr_t); in impeg2d_api_init()
1821 ps_mem_rec++; in impeg2d_api_init()
1887 ps_frm_buf = ps_mem_rec; in impeg2d_api_init()
1899 pu1_buf = ps_mem_rec->pv_base; in impeg2d_api_init()
1917 ps_mem_rec++; in impeg2d_api_init()
1926 ps_dec_state->pu1_chroma_ref_buf[i] = ps_mem_rec->pv_base; in impeg2d_api_init()
1927 ps_mem_rec++; in impeg2d_api_init()
1934 ps_mem_rec+=NUM_INT_FRAME_BUFFERS; in impeg2d_api_init()
1941 ps_dec_state->pu1_input_buffer = ps_mem_rec->pv_base; in impeg2d_api_init()
1943 ps_mem_rec++; in impeg2d_api_init()
1945 ps_dec_state->pv_jobq_buf = ps_mem_rec->pv_base; in impeg2d_api_init()
1946 ps_dec_state->i4_jobq_buf_size = ps_mem_rec->u4_mem_size; in impeg2d_api_init()
1948 ps_mem_rec++; in impeg2d_api_init()
1962 ps_dec_state->pv_deinterlacer_ctxt = ps_mem_rec->pv_base; in impeg2d_api_init()
1964 ps_mem_rec++; in impeg2d_api_init()
1966 ps_dec_state->pu1_deint_fmt_buf = ps_mem_rec->pv_base; in impeg2d_api_init()
1968 ps_mem_rec++; in impeg2d_api_init()
1974 ps_dec_state->pv_memTab = (void *)ps_mem_rec->pv_base; in impeg2d_api_init()
1975 …memcpy(ps_mem_rec->pv_base,ps_dec_init_ip->s_ivd_init_ip_t.pv_mem_rec_location, ps_mem_rec->u4_mem… in impeg2d_api_init()
1978 ps_mem_rec++; in impeg2d_api_init()
2021 iv_mem_rec_t *ps_mem_rec; in impeg2d_api_retrieve_mem_rec() local
2032 ps_mem_rec = ps_retr_mem_rec_ip->s_ivd_retrieve_mem_rec_ip_t.pv_mem_rec_location; in impeg2d_api_retrieve_mem_rec()
2039 ps_mem_rec[u4_i].u4_mem_size = ps_temp_rec[u4_i].u4_mem_size; in impeg2d_api_retrieve_mem_rec()
2040 ps_mem_rec[u4_i].u4_mem_alignment = ps_temp_rec[u4_i].u4_mem_alignment; in impeg2d_api_retrieve_mem_rec()
2041 ps_mem_rec[u4_i].e_mem_type = ps_temp_rec[u4_i].e_mem_type; in impeg2d_api_retrieve_mem_rec()
2042 ps_mem_rec[u4_i].pv_base = ps_temp_rec[u4_i].pv_base; in impeg2d_api_retrieve_mem_rec()
2285 iv_mem_rec_t *ps_mem_rec; in impeg2d_api_check_struct_sanity() local
2339 ps_mem_rec = ps_ip->s_ivd_fill_mem_rec_ip_t.pv_mem_rec_location; in impeg2d_api_check_struct_sanity()
2342 if(ps_mem_rec[i].u4_size != sizeof(iv_mem_rec_t)) in impeg2d_api_check_struct_sanity()
2356 iv_mem_rec_t *ps_mem_rec; in impeg2d_api_check_struct_sanity() local
2438 ps_mem_rec = ps_ip->s_ivd_init_ip_t.pv_mem_rec_location; in impeg2d_api_check_struct_sanity()
2452 if(ps_mem_rec[i].u4_size != sizeof(iv_mem_rec_t)) in impeg2d_api_check_struct_sanity()
2466 pau1_start[0] = (UWORD8 *)(ps_mem_rec[0].pv_base); in impeg2d_api_check_struct_sanity()
2467 … pau1_end[0] = (UWORD8 *)(ps_mem_rec[0].pv_base) + ps_mem_rec[0].u4_mem_size - 1; in impeg2d_api_check_struct_sanity()
2471 pau1_start[i] = (UWORD8 *)(ps_mem_rec[i].pv_base); in impeg2d_api_check_struct_sanity()
2472 … pau1_end[i] = (UWORD8 *)(ps_mem_rec[i].pv_base) + ps_mem_rec[i].u4_mem_size - 1; in impeg2d_api_check_struct_sanity()
2560 if(ps_mem_rec[i].pv_base == NULL) in impeg2d_api_check_struct_sanity()
2568 if((UWORD32)(ps_mem_rec[i].pv_base) & (ps_mem_rec[i].u4_mem_alignment - 1)) in impeg2d_api_check_struct_sanity()
2575 … if(ps_mem_rec[i].u4_mem_alignment != as_mem_rec_ittiam_api[i].u4_mem_alignment) in impeg2d_api_check_struct_sanity()
2582 if(ps_mem_rec[i].u4_mem_size < as_mem_rec_ittiam_api[i].u4_mem_size) in impeg2d_api_check_struct_sanity()
2589 if(ps_mem_rec[i].e_mem_type != as_mem_rec_ittiam_api[i].e_mem_type) in impeg2d_api_check_struct_sanity()
2593 … if (IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM == ps_mem_rec[i].e_mem_type) in impeg2d_api_check_struct_sanity()
2778 iv_mem_rec_t *ps_mem_rec; in impeg2d_api_check_struct_sanity() local
2796 ps_mem_rec = ps_ip->s_ivd_retrieve_mem_rec_ip_t.pv_mem_rec_location; in impeg2d_api_check_struct_sanity()
2800 if(ps_mem_rec[i].u4_size != sizeof(iv_mem_rec_t)) in impeg2d_api_check_struct_sanity()