Lines Matching refs:ps_mem_rec

424     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
485 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
486 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
487 ps_mem_rec->u4_mem_size = sizeof(iv_obj_t); in impeg2d_fill_mem_rec()
489 ps_mem_rec++; in impeg2d_fill_mem_rec()
497 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
498 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
499 ps_mem_rec->u4_mem_size = sizeof(dec_state_multi_core_t); in impeg2d_fill_mem_rec()
501 ps_mem_rec++; in impeg2d_fill_mem_rec()
511 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
512 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
513 ps_mem_rec->u4_mem_size = sizeof(dec_state_t); in impeg2d_fill_mem_rec()
515 ps_mem_rec++; in impeg2d_fill_mem_rec()
519 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
520 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
521 ps_mem_rec->u4_mem_size = ithread_get_handle_size(); in impeg2d_fill_mem_rec()
523 ps_mem_rec++; in impeg2d_fill_mem_rec()
529 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
530 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_SCRATCH_MEM; in impeg2d_fill_mem_rec()
533 ps_mem_rec->u4_mem_size = MB_LUMA_MEM_SIZE; in impeg2d_fill_mem_rec()
536 ps_mem_rec->u4_mem_size += MB_CHROMA_MEM_SIZE; in impeg2d_fill_mem_rec()
539 ps_mem_rec->u4_mem_size += MB_CHROMA_MEM_SIZE; in impeg2d_fill_mem_rec()
542 ps_mem_rec->u4_mem_size += MB_LUMA_MEM_SIZE; in impeg2d_fill_mem_rec()
545 ps_mem_rec->u4_mem_size += MB_CHROMA_MEM_SIZE; in impeg2d_fill_mem_rec()
548 ps_mem_rec->u4_mem_size += MB_CHROMA_MEM_SIZE; in impeg2d_fill_mem_rec()
551 ps_mem_rec->u4_mem_size += MB_LUMA_MEM_SIZE; in impeg2d_fill_mem_rec()
554 ps_mem_rec->u4_mem_size += MB_CHROMA_MEM_SIZE; in impeg2d_fill_mem_rec()
557 ps_mem_rec->u4_mem_size += MB_CHROMA_MEM_SIZE; in impeg2d_fill_mem_rec()
559 ps_mem_rec++; in impeg2d_fill_mem_rec()
567 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
568 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
569 ps_mem_rec->u4_mem_size = 392; in impeg2d_fill_mem_rec()
571 ps_mem_rec++; in impeg2d_fill_mem_rec()
582 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
583 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
584 ps_mem_rec->u4_mem_size = sizeof(buf_mgr_t) + sizeof(pic_buf_t) * BUF_MGR_MAX_CNT; in impeg2d_fill_mem_rec()
586 ps_mem_rec++; in impeg2d_fill_mem_rec()
598 ps_mem_rec->u4_mem_alignment = 128 /* 128 byte alignment*/; in impeg2d_fill_mem_rec()
599 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
601 ps_mem_rec->u4_mem_size = max_frm_size; in impeg2d_fill_mem_rec()
605 ps_mem_rec->u4_mem_size = i4_chroma_size * 2; in impeg2d_fill_mem_rec()
608 ps_mem_rec->u4_mem_size = 64; in impeg2d_fill_mem_rec()
609 ps_mem_rec++; in impeg2d_fill_mem_rec()
629 ps_mem_rec->u4_mem_size = i4_job_queue_size; in impeg2d_fill_mem_rec()
630 ps_mem_rec->u4_mem_alignment = 128; in impeg2d_fill_mem_rec()
631 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
633 ps_mem_rec++; in impeg2d_fill_mem_rec()
638 ps_mem_rec->u4_mem_alignment = 128; in impeg2d_fill_mem_rec()
639 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
640 ps_mem_rec->u4_mem_size = impeg2d_deint_ctxt_size(); in impeg2d_fill_mem_rec()
641 ps_mem_rec++; in impeg2d_fill_mem_rec()
644 ps_mem_rec->u4_mem_alignment = 128; in impeg2d_fill_mem_rec()
645 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
648 ps_mem_rec->u4_mem_size = max_frm_size; in impeg2d_fill_mem_rec()
650 ps_mem_rec->u4_mem_size = 64; in impeg2d_fill_mem_rec()
652 ps_mem_rec++; in impeg2d_fill_mem_rec()
655 ps_mem_rec->u4_mem_alignment = 128; in impeg2d_fill_mem_rec()
656 ps_mem_rec->e_mem_type = IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM; in impeg2d_fill_mem_rec()
657 ps_mem_rec->u4_mem_size = sizeof(iv_mem_rec_t) * (NUM_MEM_RECORDS); in impeg2d_fill_mem_rec()
658 ps_mem_rec++; in impeg2d_fill_mem_rec()
1544 iv_mem_rec_t *ps_mem_rec ; in impeg2d_api_init() local
1598 ps_mem_rec = ps_dec_init_ip->s_ivd_init_ip_t.pv_mem_rec_location; in impeg2d_api_init()
1599 ps_mem_rec ++; in impeg2d_api_init()
1608 memset(ps_mem_rec->pv_base,0,ps_mem_rec->u4_mem_size); in impeg2d_api_init()
1609 ps_mem_rec++; in impeg2d_api_init()
1613 ps_mem_rec = ps_dec_init_ip->s_ivd_init_ip_t.pv_mem_rec_location; in impeg2d_api_init()
1617 ps_dec_handle = ps_mem_rec->pv_base; in impeg2d_api_init()
1619 ps_mem_rec++; in impeg2d_api_init()
1626 ps_dec_state_multi_core = ps_mem_rec->pv_base; in impeg2d_api_init()
1628 ps_mem_rec++; in impeg2d_api_init()
1644 ps_dec_state = ps_mem_rec->pv_base; in impeg2d_api_init()
1653 ps_mem_rec++; in impeg2d_api_init()
1656 ps_dec_state->pv_codec_thread_handle = ps_mem_rec->pv_base; in impeg2d_api_init()
1658 ps_mem_rec++; in impeg2d_api_init()
1663 pv = ps_mem_rec->pv_base; in impeg2d_api_init()
1727 ps_mem_rec++; in impeg2d_api_init()
1736 ps_dec_state->pv_stack_cntxt = ps_mem_rec->pv_base; in impeg2d_api_init()
1738 ps_mem_rec++; in impeg2d_api_init()
1751 ps_dec_state->pv_pic_buf_mg = ps_mem_rec->pv_base; in impeg2d_api_init()
1752 ps_dec_state->pv_pic_buf_base = (UWORD8 *)ps_mem_rec->pv_base + sizeof(buf_mgr_t); in impeg2d_api_init()
1755 ps_mem_rec++; in impeg2d_api_init()
1822 ps_frm_buf = ps_mem_rec; in impeg2d_api_init()
1834 pu1_buf = ps_mem_rec->pv_base; in impeg2d_api_init()
1852 ps_mem_rec++; in impeg2d_api_init()
1861 ps_dec_state->pu1_chroma_ref_buf[i] = ps_mem_rec->pv_base; in impeg2d_api_init()
1862 ps_mem_rec++; in impeg2d_api_init()
1869 ps_mem_rec+=NUM_INT_FRAME_BUFFERS; in impeg2d_api_init()
1877 ps_dec_state->pv_jobq_buf = ps_mem_rec->pv_base; in impeg2d_api_init()
1878 ps_dec_state->i4_jobq_buf_size = ps_mem_rec->u4_mem_size; in impeg2d_api_init()
1879 ps_mem_rec++; in impeg2d_api_init()
1893 ps_dec_state->pv_deinterlacer_ctxt = ps_mem_rec->pv_base; in impeg2d_api_init()
1894 ps_mem_rec++; in impeg2d_api_init()
1896 ps_dec_state->pu1_deint_fmt_buf = ps_mem_rec->pv_base; in impeg2d_api_init()
1897 ps_mem_rec++; in impeg2d_api_init()
1903 ps_dec_state->pv_memTab = (void *)ps_mem_rec->pv_base; in impeg2d_api_init()
1904 …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()
1907 ps_mem_rec++; in impeg2d_api_init()
1950 iv_mem_rec_t *ps_mem_rec; in impeg2d_api_retrieve_mem_rec() local
1961 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()
1968 ps_mem_rec[u4_i].u4_mem_size = ps_temp_rec[u4_i].u4_mem_size; in impeg2d_api_retrieve_mem_rec()
1969 ps_mem_rec[u4_i].u4_mem_alignment = ps_temp_rec[u4_i].u4_mem_alignment; in impeg2d_api_retrieve_mem_rec()
1970 ps_mem_rec[u4_i].e_mem_type = ps_temp_rec[u4_i].e_mem_type; in impeg2d_api_retrieve_mem_rec()
1971 ps_mem_rec[u4_i].pv_base = ps_temp_rec[u4_i].pv_base; in impeg2d_api_retrieve_mem_rec()
2214 iv_mem_rec_t *ps_mem_rec; in impeg2d_api_check_struct_sanity() local
2268 ps_mem_rec = ps_ip->s_ivd_fill_mem_rec_ip_t.pv_mem_rec_location; in impeg2d_api_check_struct_sanity()
2271 if(ps_mem_rec[i].u4_size != sizeof(iv_mem_rec_t)) in impeg2d_api_check_struct_sanity()
2285 iv_mem_rec_t *ps_mem_rec; in impeg2d_api_check_struct_sanity() local
2367 ps_mem_rec = ps_ip->s_ivd_init_ip_t.pv_mem_rec_location; in impeg2d_api_check_struct_sanity()
2381 if(ps_mem_rec[i].u4_size != sizeof(iv_mem_rec_t)) in impeg2d_api_check_struct_sanity()
2395 pau1_start[0] = (UWORD8 *)(ps_mem_rec[0].pv_base); in impeg2d_api_check_struct_sanity()
2396 … pau1_end[0] = (UWORD8 *)(ps_mem_rec[0].pv_base) + ps_mem_rec[0].u4_mem_size - 1; in impeg2d_api_check_struct_sanity()
2400 pau1_start[i] = (UWORD8 *)(ps_mem_rec[i].pv_base); in impeg2d_api_check_struct_sanity()
2401 … pau1_end[i] = (UWORD8 *)(ps_mem_rec[i].pv_base) + ps_mem_rec[i].u4_mem_size - 1; in impeg2d_api_check_struct_sanity()
2489 if(ps_mem_rec[i].pv_base == NULL) in impeg2d_api_check_struct_sanity()
2497 if((UWORD32)(ps_mem_rec[i].pv_base) & (ps_mem_rec[i].u4_mem_alignment - 1)) in impeg2d_api_check_struct_sanity()
2504 … if(ps_mem_rec[i].u4_mem_alignment != as_mem_rec_ittiam_api[i].u4_mem_alignment) in impeg2d_api_check_struct_sanity()
2511 if(ps_mem_rec[i].u4_mem_size < as_mem_rec_ittiam_api[i].u4_mem_size) in impeg2d_api_check_struct_sanity()
2518 if(ps_mem_rec[i].e_mem_type != as_mem_rec_ittiam_api[i].e_mem_type) in impeg2d_api_check_struct_sanity()
2522 … if (IV_EXTERNAL_CACHEABLE_PERSISTENT_MEM == ps_mem_rec[i].e_mem_type) in impeg2d_api_check_struct_sanity()
2707 iv_mem_rec_t *ps_mem_rec; in impeg2d_api_check_struct_sanity() local
2725 ps_mem_rec = ps_ip->s_ivd_retrieve_mem_rec_ip_t.pv_mem_rec_location; in impeg2d_api_check_struct_sanity()
2729 if(ps_mem_rec[i].u4_size != sizeof(iv_mem_rec_t)) in impeg2d_api_check_struct_sanity()