Lines Matching refs:cmdbuf
295 vsp_cmdbuf_p cmdbuf = ctx->obj_context->vsp_cmdbuf; in vsp_vp8_process_seqence_param() local
303 (struct VssVp8encSequenceParameterBuffer *)cmdbuf->seq_param_p; in vsp_vp8_process_seqence_param()
306 (struct ref_frame_surface*)cmdbuf->ref_param_p; in vsp_vp8_process_seqence_param()
349 cmdbuf->param_mem_loc, seq); in vsp_vp8_process_seqence_param()
354 vsp_cmdbuf_insert_command(cmdbuf, CONTEXT_VP8_ID, &cmdbuf->param_mem, in vsp_vp8_process_seqence_param()
368 vsp_cmdbuf_p cmdbuf = ctx->obj_context->vsp_cmdbuf; in vsp_vp8_process_dynamic_seqence_param() local
372 (struct VssVp8encSequenceParameterBuffer *)cmdbuf->seq_param_p; in vsp_vp8_process_dynamic_seqence_param()
379 vsp_cmdbuf_insert_command(cmdbuf, CONTEXT_VP8_ID, &cmdbuf->param_mem, in vsp_vp8_process_dynamic_seqence_param()
397 vsp_cmdbuf_p cmdbuf = ctx->obj_context->vsp_cmdbuf; in vsp_vp8_process_picture_param() local
402 (struct VssVp8encPictureParameterBuffer *)cmdbuf->pic_param_p; in vsp_vp8_process_picture_param()
404 (struct VssVp8encSequenceParameterBuffer *)cmdbuf->seq_param_p; in vsp_vp8_process_picture_param()
460 cmdbuf->param_mem_loc, pic); in vsp_vp8_process_picture_param()
470 cmdbuf->param_mem_loc, pic); in vsp_vp8_process_picture_param()
474 cmdbuf->param_mem_loc, pic); in vsp_vp8_process_picture_param()
477 *cmdbuf->cmd_idx++ = CONTEXT_VP8_ID; in vsp_vp8_process_picture_param()
478 *cmdbuf->cmd_idx++ = VssVp8encEncodeFrameCommand; in vsp_vp8_process_picture_param()
479 VSP_RELOC_CMDBUF(cmdbuf->cmd_idx++, ctx->pic_param_offset, &cmdbuf->param_mem); in vsp_vp8_process_picture_param()
480 *cmdbuf->cmd_idx++ = sizeof(struct VssVp8encPictureParameterBuffer); in vsp_vp8_process_picture_param()
481 *cmdbuf->cmd_idx++ = 0; in vsp_vp8_process_picture_param()
482 *cmdbuf->cmd_idx++ = 0; in vsp_vp8_process_picture_param()
483 *cmdbuf->cmd_idx++ = wsbmKBufHandle(wsbmKBuf(pObj->psb_buffer->drm_buf)) ; in vsp_vp8_process_picture_param()
484 *cmdbuf->cmd_idx++ = wsbmKBufHandle(wsbmKBuf((&cmdbuf->param_mem)->drm_buf)); in vsp_vp8_process_picture_param()
743 vsp_cmdbuf_p cmdbuf; in vsp_VP8_BeginPicture() local
753 cmdbuf = obj_context->vsp_cmdbuf; in vsp_VP8_BeginPicture()
756 … vsp_cmdbuf_insert_command(cmdbuf, CONTEXT_VP8_ID, ctx->context_buf, Vss_Sys_STATE_BUF_COMMAND, in vsp_VP8_BeginPicture()
761 vaStatus = psb_buffer_map(&cmdbuf->param_mem, &cmdbuf->param_mem_p); in vsp_VP8_BeginPicture()
766 cmdbuf->pic_param_p = cmdbuf->param_mem_p; in vsp_VP8_BeginPicture()
767 cmdbuf->seq_param_p = cmdbuf->param_mem_p + ctx->seq_param_offset; in vsp_VP8_BeginPicture()
768 cmdbuf->ref_param_p = cmdbuf->param_mem_p + ctx->ref_param_offset; in vsp_VP8_BeginPicture()
787 static void vsp_vp8_dump_commands(vsp_cmdbuf_p cmdbuf) in vsp_vp8_dump_commands() argument
790 … unsigned int cmdbuffer_size = (unsigned char *)cmdbuf->cmd_idx - cmdbuf->cmd_start; /* In bytes */ in vsp_vp8_dump_commands()
792 struct vss_command_t *cmd = (struct vss_command_t *)cmdbuf->cmd_start; in vsp_vp8_dump_commands()
794 (struct VssVp8encPictureParameterBuffer *)cmdbuf->pic_param_p; in vsp_vp8_dump_commands()
796 (struct VssVp8encSequenceParameterBuffer *)cmdbuf->seq_param_p; in vsp_vp8_dump_commands()
868 vsp_cmdbuf_p cmdbuf = obj_context->vsp_cmdbuf; in vsp_VP8_EndPicture() local
875 vsp_vp8_dump_commands(cmdbuf); in vsp_VP8_EndPicture()
877 if (cmdbuf->param_mem_p != NULL) { in vsp_VP8_EndPicture()
878 psb_buffer_unmap(&cmdbuf->param_mem); in vsp_VP8_EndPicture()
879 cmdbuf->param_mem_p = NULL; in vsp_VP8_EndPicture()
880 cmdbuf->pic_param_p = NULL; in vsp_VP8_EndPicture()
881 cmdbuf->end_param_p = NULL; in vsp_VP8_EndPicture()
882 cmdbuf->pipeline_param_p = NULL; in vsp_VP8_EndPicture()
883 cmdbuf->denoise_param_p = NULL; in vsp_VP8_EndPicture()
884 cmdbuf->enhancer_param_p = NULL; in vsp_VP8_EndPicture()
885 cmdbuf->sharpen_param_p = NULL; in vsp_VP8_EndPicture()
886 cmdbuf->frc_param_p = NULL; in vsp_VP8_EndPicture()
887 cmdbuf->ref_param_p = NULL; in vsp_VP8_EndPicture()