Lines Matching refs:cmdbuf
613 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in tng__JPEG_write_qmatrices() local
616 psb_cmdbuf_rendec_start(cmdbuf, REG_MSVDX_VEC_IQRAM_OFFSET); in tng__JPEG_write_qmatrices()
619 psb_cmdbuf_rendec_write(cmdbuf, ctx->rendec_qmatrix[0][i]); in tng__JPEG_write_qmatrices()
622 psb_cmdbuf_rendec_write(cmdbuf, ctx->rendec_qmatrix[1][i]); in tng__JPEG_write_qmatrices()
625 psb_cmdbuf_rendec_write(cmdbuf, ctx->rendec_qmatrix[2][i]); in tng__JPEG_write_qmatrices()
628 psb_cmdbuf_rendec_write(cmdbuf, ctx->rendec_qmatrix[3][i]); in tng__JPEG_write_qmatrices()
631 psb_cmdbuf_rendec_end(cmdbuf); in tng__JPEG_write_qmatrices()
666 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in tng__JPEG_write_huffman_tables() local
670 psb_cmdbuf_dma_write_cmdbuf(cmdbuf, &ctx->vlc_packed_table, 0, in tng__JPEG_write_huffman_tables()
675 psb_cmdbuf_reg_start_block(cmdbuf, 0); in tng__JPEG_write_huffman_tables()
681 psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET( MSVDX_VEC, CR_VEC_VLC_TABLE_ADDR0 ), reg_value); in tng__JPEG_write_huffman_tables()
688 psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET( MSVDX_VEC, CR_VEC_VLC_TABLE_ADDR2 ), reg_value); in tng__JPEG_write_huffman_tables()
689 psb_cmdbuf_reg_end_block(cmdbuf); in tng__JPEG_write_huffman_tables()
692 psb_cmdbuf_reg_start_block(cmdbuf, 0); in tng__JPEG_write_huffman_tables()
702 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET( MSVDX_VEC, CR_VEC_VLC_TABLE_INITIAL_WIDTH0 ), reg_valu… in tng__JPEG_write_huffman_tables()
703 psb_cmdbuf_reg_end_block(cmdbuf); in tng__JPEG_write_huffman_tables()
706 psb_cmdbuf_reg_start_block(cmdbuf, 0); in tng__JPEG_write_huffman_tables()
716 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET( MSVDX_VEC, CR_VEC_VLC_TABLE_INITIAL_OPCODE0 ), reg_val… in tng__JPEG_write_huffman_tables()
717 psb_cmdbuf_reg_end_block(cmdbuf); in tng__JPEG_write_huffman_tables()
826 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in tng__JPEG_set_operating_mode() local
833 psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET( MSVDX_CMDS, OPERATING_MODE )); in tng__JPEG_set_operating_mode()
835 psb_cmdbuf_rendec_write(cmdbuf, ctx->obj_context->operating_mode); in tng__JPEG_set_operating_mode()
837 psb_cmdbuf_rendec_end(cmdbuf); in tng__JPEG_set_operating_mode()
843 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in tng__JPEG_set_reference_pictures() local
846 …psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_CMDS, REFERENCE_PICTURE_BASE_ADDRESSE… in tng__JPEG_set_reference_pictures()
849 psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in tng__JPEG_set_reference_pictures()
850 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + pla… in tng__JPEG_set_reference_pictures()
851 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + pla… in tng__JPEG_set_reference_pictures()
853 psb_cmdbuf_rendec_end(cmdbuf); in tng__JPEG_set_reference_pictures()
857 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in tng__JPEG_set_ent_dec() local
860 psb_cmdbuf_reg_start_block(cmdbuf, 0); in tng__JPEG_set_ent_dec()
863 psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET( MSVDX_VEC, CR_VEC_ENTDEC_FE_CONTROL ), reg_value); in tng__JPEG_set_ent_dec()
864 psb_cmdbuf_reg_end_block(cmdbuf); in tng__JPEG_set_ent_dec()
866 psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET( MSVDX_VEC, CR_VEC_ENTDEC_BE_CONTROL )); in tng__JPEG_set_ent_dec()
869 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in tng__JPEG_set_ent_dec()
870 psb_cmdbuf_rendec_end(cmdbuf); in tng__JPEG_set_ent_dec()
875 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in tng__JPEG_set_register() local
880 psb_cmdbuf_reg_start_block(cmdbuf, 0); in tng__JPEG_set_register()
887 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_JPEG, CR_VEC_JPEG_FE_COMPONENTS ), reg_value); in tng__JPEG_set_register()
893 psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_JPEG, CR_VEC_JPEG_FE_HEIGHT ), reg_value); in tng__JPEG_set_register()
897 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_JPEG, CR_VEC_JPEG_FE_RESTART_POS), reg_value); in tng__JPEG_set_register()
903 psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_JPEG, CR_VEC_JPEG_FE_WIDTH), reg_value); in tng__JPEG_set_register()
926 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET( MSVDX_VEC_JPEG, CR_VEC_JPEG_FE_ENTROPY_CODING ), reg_v… in tng__JPEG_set_register()
947 … psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET( MSVDX_VEC_JPEG, CR_VEC_JPEG_FE_SCALING ), reg_value); in tng__JPEG_set_register()
948 psb_cmdbuf_reg_end_block(cmdbuf); in tng__JPEG_set_register()
950 … psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET( MSVDX_VEC_JPEG, CR_VEC_JPEG_BE_HEIGHT )); in tng__JPEG_set_register()
955 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in tng__JPEG_set_register()
960 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in tng__JPEG_set_register()
972 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in tng__JPEG_set_register()
977 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in tng__JPEG_set_register()
979 psb_cmdbuf_rendec_end(cmdbuf); in tng__JPEG_set_register()