Lines Matching refs:cmdbuf

1648     psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf;  in psb__MPEG4_write_qmatrices()  local
1657 psb_cmdbuf_rendec_start(cmdbuf, REG_MSVDX_VEC_IQRAM_OFFSET); in psb__MPEG4_write_qmatrices()
1663 psb_cmdbuf_rendec_write(cmdbuf, ctx->qmatrix_data[NONINTRA_LUMA_Q][i]); in psb__MPEG4_write_qmatrices()
1667 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__MPEG4_write_qmatrices()
1673 psb_cmdbuf_rendec_write(cmdbuf, ctx->qmatrix_data[INTRA_LUMA_Q][i]); in psb__MPEG4_write_qmatrices()
1677 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__MPEG4_write_qmatrices()
1681 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_write_qmatrices()
1702 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in psb__MPEG4_write_VLC_tables() local
1704 psb_cmdbuf_skip_start_block(cmdbuf, SKIP_ON_CONTEXT_SWITCH); in psb__MPEG4_write_VLC_tables()
1707 psb_cmdbuf_dma_write_cmdbuf(cmdbuf, &ctx->vlc_packed_table, 0, in psb__MPEG4_write_VLC_tables()
1713 psb_cmdbuf_reg_start_block(cmdbuf, 0); in psb__MPEG4_write_VLC_tables()
1714 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_ADDR0), ADDR0); in psb__MPEG4_write_VLC_tables()
1715 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_ADDR1), ADDR1); in psb__MPEG4_write_VLC_tables()
1716 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_ADDR2), ADDR2); in psb__MPEG4_write_VLC_tables()
1717 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_ADDR3), ADDR3); in psb__MPEG4_write_VLC_tables()
1718 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_ADDR4), ADDR4); in psb__MPEG4_write_VLC_tables()
1719 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_ADDR5), ADDR5); in psb__MPEG4_write_VLC_tables()
1720 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_ADDR6), ADDR6); in psb__MPEG4_write_VLC_tables()
1721 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_ADDR7), ADDR7); in psb__MPEG4_write_VLC_tables()
1722 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_ADDR8), ADDR8); in psb__MPEG4_write_VLC_tables()
1723 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_INITIAL_WIDTH0), WIDTH0); in psb__MPEG4_write_VLC_tables()
1724 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_INITIAL_WIDTH1), WIDTH1); in psb__MPEG4_write_VLC_tables()
1725 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_INITIAL_OPCODE0), OPCODE… in psb__MPEG4_write_VLC_tables()
1726 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_VLC_TABLE_INITIAL_OPCODE1), OPCODE… in psb__MPEG4_write_VLC_tables()
1727 psb_cmdbuf_reg_end_block(cmdbuf); in psb__MPEG4_write_VLC_tables()
1729 psb_cmdbuf_skip_end_block(cmdbuf); in psb__MPEG4_write_VLC_tables()
1735 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in psb__MPEG4_set_picture_params() local
1746 …psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC, MPEG4_CR_VEC_MPEG4_BE_PARAM_BASE… in psb__MPEG4_set_picture_params()
1748 psb_cmdbuf_rendec_write_address(cmdbuf, colocated_target_buffer, 0); in psb__MPEG4_set_picture_params()
1751 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__MPEG4_set_picture_params()
1753 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_set_picture_params()
1756 …psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC, MPEG4_CR_VEC_MPEG4_BE_COLPARAM_B… in psb__MPEG4_set_picture_params()
1758 psb_cmdbuf_rendec_write_address(cmdbuf, colocated_ref_buffer, 0); in psb__MPEG4_set_picture_params()
1761 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__MPEG4_set_picture_params()
1763 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_set_picture_params()
1768 psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_CMDS, DISPLAY_PICTURE_SIZE)); in psb__MPEG4_set_picture_params()
1774 psb_cmdbuf_rendec_write(cmdbuf, cmd); in psb__MPEG4_set_picture_params()
1780 psb_cmdbuf_rendec_write(cmdbuf, cmd); in psb__MPEG4_set_picture_params()
1791 psb_cmdbuf_rendec_write(cmdbuf, cmd); in psb__MPEG4_set_picture_params()
1798 psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in psb__MPEG4_set_picture_params()
1800 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in psb__MPEG4_set_picture_params()
1802 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_set_picture_params()
1805 …psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_CMDS, REFERENCE_PICTURE_BASE_ADDRESSE… in psb__MPEG4_set_picture_params()
1813 …psb_cmdbuf_rendec_write_address(cmdbuf, &ctx->forward_ref_surface->psb_surface->buf, ctx->forward_… in psb__MPEG4_set_picture_params()
1815 …psb_cmdbuf_rendec_write_address(cmdbuf, &ctx->forward_ref_surface->psb_surface->buf, ctx->forward_… in psb__MPEG4_set_picture_params()
1819 …psb_cmdbuf_rendec_write_address(cmdbuf, &ctx->backward_ref_surface->psb_surface->buf, ctx->backwar… in psb__MPEG4_set_picture_params()
1821 …psb_cmdbuf_rendec_write_address(cmdbuf, &ctx->backward_ref_surface->psb_surface->buf, ctx->backwar… in psb__MPEG4_set_picture_params()
1823 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_set_picture_params()
1829 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in psb__MPEG4_set_backend_registers() local
1836 psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC, MPEG4_CR_VEC_MPEG4_BE_SPS0)); in psb__MPEG4_set_backend_registers()
1839 psb_cmdbuf_rendec_write(cmdbuf, ctx->BE_SPS0); in psb__MPEG4_set_backend_registers()
1842 psb_cmdbuf_rendec_write(cmdbuf, ctx->BE_SPS1); in psb__MPEG4_set_backend_registers()
1843 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_set_backend_registers()
1845 …psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC, MPEG4_CR_VEC_MPEG4_BE_VOP_SPS0)); in psb__MPEG4_set_backend_registers()
1848 psb_cmdbuf_rendec_write(cmdbuf, ctx->BE_VOP_SPS0); in psb__MPEG4_set_backend_registers()
1850 psb_cmdbuf_rendec_write(cmdbuf, ctx->BE_VOP_SPS1); in psb__MPEG4_set_backend_registers()
1852 psb_cmdbuf_rendec_write(cmdbuf, ctx->BE_VOP_PPS0); in psb__MPEG4_set_backend_registers()
1855 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__MPEG4_set_backend_registers()
1857 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__MPEG4_set_backend_registers()
1859 psb_cmdbuf_rendec_write(cmdbuf, ctx->BE_VOP_PPS0); in psb__MPEG4_set_backend_registers()
1861 psb_cmdbuf_rendec_write(cmdbuf, ctx->BE_PICSH_PPS0); in psb__MPEG4_set_backend_registers()
1863 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_set_backend_registers()
1868 … psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC, MPEG4_CR_VEC_MPEG4_BE_GMC_X)); in psb__MPEG4_set_backend_registers()
1888 psb_cmdbuf_rendec_write(cmdbuf, cmd); in psb__MPEG4_set_backend_registers()
1893 psb_cmdbuf_rendec_write(cmdbuf, cmd); in psb__MPEG4_set_backend_registers()
1895 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_set_backend_registers()
1899 … psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC, MPEG4_CR_VEC_MPEG4_BE_SLICE0)); in psb__MPEG4_set_backend_registers()
1905 psb_cmdbuf_rendec_write(cmdbuf, cmd); in psb__MPEG4_set_backend_registers()
1910 psb_cmdbuf_rendec_write(cmdbuf, cmd); in psb__MPEG4_set_backend_registers()
1914 psb_cmdbuf_rendec_write(cmdbuf, cmd); in psb__MPEG4_set_backend_registers()
1916 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_set_backend_registers()
1921 psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_CMDS, SLICE_PARAMS)); in psb__MPEG4_set_backend_registers()
1937 psb_cmdbuf_rendec_write(cmdbuf, cmd); in psb__MPEG4_set_backend_registers()
1939 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_set_backend_registers()
1944 psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC, CR_VEC_ENTDEC_BE_CONTROL)); in psb__MPEG4_set_backend_registers()
1949 psb_cmdbuf_rendec_write(cmdbuf, cmd); in psb__MPEG4_set_backend_registers()
1951 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_set_backend_registers()
1956 …psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC_MPEG4, CR_VEC_MPEG4_BE_DATAPARTIT… in psb__MPEG4_set_backend_registers()
1957 …psb_cmdbuf_rendec_write_address(cmdbuf, ctx->data_partition_buffer0, ctx->data_partition_buffer0->… in psb__MPEG4_set_backend_registers()
1958 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_set_backend_registers()
1960 …psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC_MPEG4, CR_VEC_MPEG4_BE_DATAPARTIT… in psb__MPEG4_set_backend_registers()
1961 …psb_cmdbuf_rendec_write_address(cmdbuf, ctx->data_partition_buffer1, ctx->data_partition_buffer1->… in psb__MPEG4_set_backend_registers()
1962 psb_cmdbuf_rendec_end(cmdbuf); in psb__MPEG4_set_backend_registers()
1971 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in psb__MPEG4_set_frontend_registers() local
1975 psb_cmdbuf_reg_start_block(cmdbuf, 0); in psb__MPEG4_set_frontend_registers()
1983 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_MPEG4, CR_VEC_MPEG4_FE_SLICE0) , FE_slice0); in psb__MPEG4_set_frontend_registers()
1986 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_ENTDEC_FE_CONTROL) , ctx->FEControl); in psb__MPEG4_set_frontend_registers()
1989 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_MPEG4, CR_VEC_MPEG4_FE_SPS0) , ctx->FE_SPS0); in psb__MPEG4_set_frontend_registers()
1992 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_MPEG4, CR_VEC_MPEG4_FE_VOP_SPS0) , ctx->FE_VO… in psb__MPEG4_set_frontend_registers()
1997 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_MPEG4, CR_VEC_MPEG4_FE_PICSH_PPS0) , ctx->FE_… in psb__MPEG4_set_frontend_registers()
2001 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_MPEG4, CR_VEC_MPEG4_FE_VOP_PPS0) , ctx->FE_VO… in psb__MPEG4_set_frontend_registers()
2003 psb_cmdbuf_reg_end_block(cmdbuf); in psb__MPEG4_set_frontend_registers()
2008 psb_cmdbuf_reg_start_block(cmdbuf, 0); in psb__MPEG4_set_frontend_registers()
2009 …psb_cmdbuf_reg_set_address(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_MPEG4, CR_VEC_MPEG4_FE_DATAPARTITION0… in psb__MPEG4_set_frontend_registers()
2011 psb_cmdbuf_reg_end_block(cmdbuf); in psb__MPEG4_set_frontend_registers()
2013 psb_cmdbuf_reg_start_block(cmdbuf, 0); in psb__MPEG4_set_frontend_registers()
2014 …psb_cmdbuf_reg_set_address(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_MPEG4, CR_VEC_MPEG4_FE_DATAPARTITION1… in psb__MPEG4_set_frontend_registers()
2016 psb_cmdbuf_reg_end_block(cmdbuf); in psb__MPEG4_set_frontend_registers()