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()
1614 iv_mem_rec_t *ps_mem_rec ; in impeg2d_api_init() local
1668 ps_mem_rec = ps_dec_init_ip->s_ivd_init_ip_t.pv_mem_rec_location; in impeg2d_api_init()
1669 ps_mem_rec ++; in impeg2d_api_init()
1678 memset(ps_mem_rec->pv_base,0,ps_mem_rec->u4_mem_size); in impeg2d_api_init()
1679 ps_mem_rec++; in impeg2d_api_init()
1683 ps_mem_rec = ps_dec_init_ip->s_ivd_init_ip_t.pv_mem_rec_location; in impeg2d_api_init()
1687 ps_dec_handle = ps_mem_rec->pv_base; in impeg2d_api_init()
1689 ps_mem_rec++; in impeg2d_api_init()
1696 ps_dec_state_multi_core = ps_mem_rec->pv_base; in impeg2d_api_init()
1698 ps_mem_rec++; in impeg2d_api_init()
1714 ps_dec_state = ps_mem_rec->pv_base; in impeg2d_api_init()
1723 ps_mem_rec++; in impeg2d_api_init()
1726 ps_dec_state->pv_codec_thread_handle = ps_mem_rec->pv_base; in impeg2d_api_init()
1728 ps_mem_rec++; in impeg2d_api_init()
1733 pv = ps_mem_rec->pv_base; in impeg2d_api_init()
1797 ps_mem_rec++; in impeg2d_api_init()
1806 ps_dec_state->pv_stack_cntxt = ps_mem_rec->pv_base; in impeg2d_api_init()
1808 ps_mem_rec++; in impeg2d_api_init()
1821 ps_dec_state->pv_pic_buf_mg = ps_mem_rec->pv_base; in impeg2d_api_init()
1822 ps_dec_state->pv_pic_buf_base = (UWORD8 *)ps_mem_rec->pv_base + sizeof(buf_mgr_t); in impeg2d_api_init()
1825 ps_mem_rec++; in impeg2d_api_init()
1891 ps_frm_buf = ps_mem_rec; in impeg2d_api_init()
1903 pu1_buf = ps_mem_rec->pv_base; in impeg2d_api_init()
1921 ps_mem_rec++; in impeg2d_api_init()
1930 ps_dec_state->pu1_chroma_ref_buf[i] = ps_mem_rec->pv_base; in impeg2d_api_init()
1931 ps_mem_rec++; in impeg2d_api_init()
1938 ps_mem_rec+=NUM_INT_FRAME_BUFFERS; in impeg2d_api_init()
1945 ps_dec_state->pu1_input_buffer = ps_mem_rec->pv_base; in impeg2d_api_init()
1947 ps_mem_rec++; in impeg2d_api_init()
1949 ps_dec_state->pv_jobq_buf = ps_mem_rec->pv_base; in impeg2d_api_init()
1950 ps_dec_state->i4_jobq_buf_size = ps_mem_rec->u4_mem_size; in impeg2d_api_init()
1952 ps_mem_rec++; in impeg2d_api_init()
1966 ps_dec_state->pv_deinterlacer_ctxt = ps_mem_rec->pv_base; in impeg2d_api_init()
1968 ps_mem_rec++; in impeg2d_api_init()
1970 ps_dec_state->pu1_deint_fmt_buf = ps_mem_rec->pv_base; in impeg2d_api_init()
1972 ps_mem_rec++; in impeg2d_api_init()
1978 ps_dec_state->pv_memTab = (void *)ps_mem_rec->pv_base; in impeg2d_api_init()
1979 …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()
1982 ps_mem_rec++; in impeg2d_api_init()
2025 iv_mem_rec_t *ps_mem_rec; in impeg2d_api_retrieve_mem_rec() local
2036 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()
2043 ps_mem_rec[u4_i].u4_mem_size = ps_temp_rec[u4_i].u4_mem_size; in impeg2d_api_retrieve_mem_rec()
2044 ps_mem_rec[u4_i].u4_mem_alignment = ps_temp_rec[u4_i].u4_mem_alignment; in impeg2d_api_retrieve_mem_rec()
2045 ps_mem_rec[u4_i].e_mem_type = ps_temp_rec[u4_i].e_mem_type; in impeg2d_api_retrieve_mem_rec()
2046 ps_mem_rec[u4_i].pv_base = ps_temp_rec[u4_i].pv_base; in impeg2d_api_retrieve_mem_rec()
2289 iv_mem_rec_t *ps_mem_rec; in impeg2d_api_check_struct_sanity() local
2343 ps_mem_rec = ps_ip->s_ivd_fill_mem_rec_ip_t.pv_mem_rec_location; in impeg2d_api_check_struct_sanity()
2346 if(ps_mem_rec[i].u4_size != sizeof(iv_mem_rec_t)) in impeg2d_api_check_struct_sanity()
2360 iv_mem_rec_t *ps_mem_rec; in impeg2d_api_check_struct_sanity() local
2442 ps_mem_rec = ps_ip->s_ivd_init_ip_t.pv_mem_rec_location; in impeg2d_api_check_struct_sanity()
2456 if(ps_mem_rec[i].u4_size != sizeof(iv_mem_rec_t)) in impeg2d_api_check_struct_sanity()
2470 pau1_start[0] = (UWORD8 *)(ps_mem_rec[0].pv_base); in impeg2d_api_check_struct_sanity()
2471 … pau1_end[0] = (UWORD8 *)(ps_mem_rec[0].pv_base) + ps_mem_rec[0].u4_mem_size - 1; in impeg2d_api_check_struct_sanity()
2475 pau1_start[i] = (UWORD8 *)(ps_mem_rec[i].pv_base); in impeg2d_api_check_struct_sanity()
2476 … pau1_end[i] = (UWORD8 *)(ps_mem_rec[i].pv_base) + ps_mem_rec[i].u4_mem_size - 1; in impeg2d_api_check_struct_sanity()
2564 if(ps_mem_rec[i].pv_base == NULL) in impeg2d_api_check_struct_sanity()
2572 if((UWORD32)(ps_mem_rec[i].pv_base) & (ps_mem_rec[i].u4_mem_alignment - 1)) in impeg2d_api_check_struct_sanity()
2579 … if(ps_mem_rec[i].u4_mem_alignment != as_mem_rec_ittiam_api[i].u4_mem_alignment) in impeg2d_api_check_struct_sanity()
2586 if(ps_mem_rec[i].u4_mem_size < as_mem_rec_ittiam_api[i].u4_mem_size) in impeg2d_api_check_struct_sanity()
2593 if(ps_mem_rec[i].e_mem_type != as_mem_rec_ittiam_api[i].e_mem_type) in impeg2d_api_check_struct_sanity()
2597 … if (IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM == ps_mem_rec[i].e_mem_type) in impeg2d_api_check_struct_sanity()
2782 iv_mem_rec_t *ps_mem_rec; in impeg2d_api_check_struct_sanity() local
2800 ps_mem_rec = ps_ip->s_ivd_retrieve_mem_rec_ip_t.pv_mem_rec_location; in impeg2d_api_check_struct_sanity()
2804 if(ps_mem_rec[i].u4_size != sizeof(iv_mem_rec_t)) in impeg2d_api_check_struct_sanity()