Lines Matching refs:cmdbuf
860 psb_cmdbuf_p cmdbuf = obj_context->cmdbuf; in psb__H264_process_slice_header_group() local
863 uint32_t *msg = (uint32_t *)cmdbuf->MTX_msg; in psb__H264_process_slice_header_group()
868 if (cmdbuf->cmd_count) { in psb__H264_process_slice_header_group()
937 cmdbuf->parse_count++; in psb__H264_process_slice_header_group()
959 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in psb__H264_build_SCA_chunk() local
969 psb_cmdbuf_rendec_start(cmdbuf, REG_MSVDX_VEC_IQRAM_OFFSET); in psb__H264_build_SCA_chunk()
972 psb_cmdbuf_rendec_write_block(cmdbuf, iq_matrix->ScalingList8x8[1], SCALING_LIST_8x8_SIZE); in psb__H264_build_SCA_chunk()
975 psb_cmdbuf_rendec_write_block(cmdbuf, iq_matrix->ScalingList8x8[0], SCALING_LIST_8x8_SIZE); in psb__H264_build_SCA_chunk()
978 psb_cmdbuf_rendec_write_block(cmdbuf, iq_matrix->ScalingList4x4[0], SCALING_LIST_4x4_SIZE); in psb__H264_build_SCA_chunk()
981 psb_cmdbuf_rendec_write_block(cmdbuf, iq_matrix->ScalingList4x4[3], SCALING_LIST_4x4_SIZE); in psb__H264_build_SCA_chunk()
984 psb_cmdbuf_rendec_write_block(cmdbuf, iq_matrix->ScalingList4x4[4], SCALING_LIST_4x4_SIZE); in psb__H264_build_SCA_chunk()
987 psb_cmdbuf_rendec_write_block(cmdbuf, iq_matrix->ScalingList4x4[1], SCALING_LIST_4x4_SIZE); in psb__H264_build_SCA_chunk()
990 psb_cmdbuf_rendec_write_block(cmdbuf, iq_matrix->ScalingList4x4[5], SCALING_LIST_4x4_SIZE); in psb__H264_build_SCA_chunk()
993 psb_cmdbuf_rendec_write_block(cmdbuf, iq_matrix->ScalingList4x4[2], SCALING_LIST_4x4_SIZE); in psb__H264_build_SCA_chunk()
995 psb_cmdbuf_rendec_end(cmdbuf); in psb__H264_build_SCA_chunk()
1000 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in psb__H264_build_picture_order_chunk() local
1008 psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC, H264_CR_VEC_H264_BE_FOC0)); in psb__H264_build_picture_order_chunk()
1013 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_picture_order_chunk()
1018 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_picture_order_chunk()
1031 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_picture_order_chunk()
1036 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_picture_order_chunk()
1039 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__H264_build_picture_order_chunk()
1040 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__H264_build_picture_order_chunk()
1044 psb_cmdbuf_rendec_end(cmdbuf); in psb__H264_build_picture_order_chunk()
1049 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in psb__H264_build_B_slice_chunk() local
1054 … psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC, H264_CR_VEC_H264_BE_COL_PIC0)); in psb__H264_build_B_slice_chunk()
1085 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_B_slice_chunk()
1090 psb_cmdbuf_rendec_write_address(cmdbuf, colocated_target_buffer, 0); in psb__H264_build_B_slice_chunk()
1093 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__H264_build_B_slice_chunk()
1097 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__H264_build_B_slice_chunk()
1098 psb_cmdbuf_rendec_write(cmdbuf, 0xDEADBEEF); in psb__H264_build_B_slice_chunk()
1132 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_B_slice_chunk()
1146 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_B_slice_chunk()
1149 psb_cmdbuf_rendec_end(cmdbuf); in psb__H264_build_B_slice_chunk()
1154 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in psb__H264_build_register() local
1157 psb_cmdbuf_reg_start_block(cmdbuf, 0); in psb__H264_build_register()
1163 psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC, CR_VEC_ENTDEC_FE_CONTROL), reg_value); in psb__H264_build_register()
1166 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_H264, CR_VEC_H264_FE_SPS0), ctx->reg_SPS0); in psb__H264_build_register()
1167 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_H264, CR_VEC_H264_FE_PPS0), ctx->reg_PPS0); in psb__H264_build_register()
1168 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_H264, CR_VEC_H264_FE_CUR_PIC0), ctx->r… in psb__H264_build_register()
1169 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_H264, CR_VEC_H264_FE_SLICE0), ctx->slice0_pa… in psb__H264_build_register()
1170 …psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_H264, CR_VEC_H264_FE_SLICE1), ctx->slice1_pa… in psb__H264_build_register()
1174 psb_cmdbuf_reg_set(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_H264, CR_VEC_H264_FE_SLICE2), reg_value); in psb__H264_build_register()
1180 … psb_cmdbuf_reg_set_address(cmdbuf, REGISTER_OFFSET(MSVDX_VEC_H264, CR_VEC_H264_FE_BASE_ADDR_SGM), in psb__H264_build_register()
1184 psb_cmdbuf_reg_end_block(cmdbuf); in psb__H264_build_register()
1189 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in psb__H264_build_rendec_params() local
1199 … psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC, CR_VEC_ENTDEC_BE_CONTROL)); in psb__H264_build_rendec_params()
1204 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1206 psb_cmdbuf_rendec_end(cmdbuf); in psb__H264_build_rendec_params()
1212 psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC, H264_CR_VEC_H264_BE_SPS0)); in psb__H264_build_rendec_params()
1214 psb_cmdbuf_rendec_write(cmdbuf, ctx->reg_SPS0); in psb__H264_build_rendec_params()
1215 psb_cmdbuf_rendec_write(cmdbuf, ctx->reg_PPS0); in psb__H264_build_rendec_params()
1216 psb_cmdbuf_rendec_write(cmdbuf, ctx->reg_PIC0); in psb__H264_build_rendec_params()
1217 psb_cmdbuf_rendec_write(cmdbuf, ctx->slice0_params); in psb__H264_build_rendec_params()
1218 psb_cmdbuf_rendec_write(cmdbuf, ctx->slice1_params); in psb__H264_build_rendec_params()
1224 …psb_cmdbuf_rendec_write_address(cmdbuf, colocated_target_buffer, colocated_target_buffer->buffer_o… in psb__H264_build_rendec_params()
1227 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__H264_build_rendec_params()
1232 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1234 psb_cmdbuf_rendec_end(cmdbuf); in psb__H264_build_rendec_params()
1261 … psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_VEC, H264_CR_VEC_H264_BE_LIST0)); in psb__H264_build_rendec_params()
1275 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1278 psb_cmdbuf_rendec_end(cmdbuf); in psb__H264_build_rendec_params()
1285 …psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_CMDS, REFERENCE_PICTURE_BASE_ADDRESSE… in psb__H264_build_rendec_params()
1313 psb_cmdbuf_rendec_write_address(cmdbuf, buffer, in psb__H264_build_rendec_params()
1315 psb_cmdbuf_rendec_write_address(cmdbuf, buffer, in psb__H264_build_rendec_params()
1322 psb_cmdbuf_rendec_write(cmdbuf, 0xdeadbeef); in psb__H264_build_rendec_params()
1323 psb_cmdbuf_rendec_write(cmdbuf, 0xdeadbeef); in psb__H264_build_rendec_params()
1326 psb_cmdbuf_rendec_write(cmdbuf, 0xdeadbeef); in psb__H264_build_rendec_params()
1327 psb_cmdbuf_rendec_write(cmdbuf, 0xdeadbeef); in psb__H264_build_rendec_params()
1330 psb_cmdbuf_rendec_end(cmdbuf); in psb__H264_build_rendec_params()
1342 … psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_CMDS, H264_WEIGHTED_FACTORS_A)); in psb__H264_build_rendec_params()
1354 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1358 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__H264_build_rendec_params()
1368 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1372 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__H264_build_rendec_params()
1374 psb_cmdbuf_rendec_end(cmdbuf); in psb__H264_build_rendec_params()
1379 … psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_CMDS, H264_WEIGHTED_FACTORS_B)); in psb__H264_build_rendec_params()
1393 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1397 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__H264_build_rendec_params()
1407 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1411 psb_cmdbuf_rendec_write(cmdbuf, 0); in psb__H264_build_rendec_params()
1413 psb_cmdbuf_rendec_end(cmdbuf); in psb__H264_build_rendec_params()
1421 psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_CMDS, DISPLAY_PICTURE_SIZE)); in psb__H264_build_rendec_params()
1426 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1431 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1441 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1447 …psb_cmdbuf_rendec_write_address(cmdbuf, target_surface->in_loop_buf, target_surface->in_loop_buf->… in psb__H264_build_rendec_params()
1450 …psb_cmdbuf_rendec_write_address(cmdbuf, target_surface->in_loop_buf, target_surface->in_loop_buf->… in psb__H264_build_rendec_params()
1454 … psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in psb__H264_build_rendec_params()
1455 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in psb__H264_build_rendec_params()
1462 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1465 psb_cmdbuf_rendec_write_address(cmdbuf, &ctx->reference_cache, 0); in psb__H264_build_rendec_params()
1470 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1474 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1479 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1481 psb_cmdbuf_rendec_end(cmdbuf); in psb__H264_build_rendec_params()
1489 psb_cmdbuf_rendec_start(cmdbuf, RENDEC_REGISTER_OFFSET(MSVDX_CMDS, SLICE_PARAMS)); in psb__H264_build_rendec_params()
1499 psb_cmdbuf_rendec_write(cmdbuf, reg_value); in psb__H264_build_rendec_params()
1504 psb_cmdbuf_rendec_end(cmdbuf); in psb__H264_build_rendec_params()
1598 psb_cmdbuf_p cmdbuf = ctx->obj_context->cmdbuf; in psb__H264_write_VLC_tables() local
1601 psb_cmdbuf_skip_start_block(cmdbuf, SKIP_ON_CONTEXT_SWITCH); in psb__H264_write_VLC_tables()
1605 psb_cmdbuf_dma_write_cmdbuf(cmdbuf, &ctx->vlc_packed_table, 0, in psb__H264_write_VLC_tables()
1610 psb_cmdbuf_reg_start_block(cmdbuf, 0); in psb__H264_write_VLC_tables()
1613 … psb_cmdbuf_reg_set(cmdbuf, ui32H264VLCTableRegValPair[i] , ui32H264VLCTableRegValPair[i + 1]); in psb__H264_write_VLC_tables()
1616 psb_cmdbuf_reg_end_block(cmdbuf); in psb__H264_write_VLC_tables()
1618 psb_cmdbuf_skip_end_block(cmdbuf); in psb__H264_write_VLC_tables()