Searched refs:ctx_buf (Results 1 – 5 of 5) sorted by relevance
448 enc->enc_pic.ctx_buf.swizzle_mode = 0; in radeon_enc_ctx()453 enc->enc_pic.ctx_buf.rec_luma_pitch = align(aligned_width, enc->alignment); in radeon_enc_ctx()454 enc->enc_pic.ctx_buf.rec_chroma_pitch = align(aligned_width, enc->alignment); in radeon_enc_ctx()456 int luma_size = enc->enc_pic.ctx_buf.rec_luma_pitch * align(aligned_height, enc->alignment); in radeon_enc_ctx()462 enc->enc_pic.ctx_buf.num_reconstructed_pictures = 2; in radeon_enc_ctx()463 for (int i = 0; i < enc->enc_pic.ctx_buf.num_reconstructed_pictures; i++) { in radeon_enc_ctx()464 enc->enc_pic.ctx_buf.reconstructed_pictures[i].luma_offset = offset; in radeon_enc_ctx()466 enc->enc_pic.ctx_buf.reconstructed_pictures[i].chroma_offset = offset; in radeon_enc_ctx()472 RADEON_ENC_CS(enc->enc_pic.ctx_buf.swizzle_mode); in radeon_enc_ctx()473 RADEON_ENC_CS(enc->enc_pic.ctx_buf.rec_luma_pitch); in radeon_enc_ctx()[all …]
758 enc->enc_pic.ctx_buf.swizzle_mode = 0; in radeon_uvd_enc_ctx()760 enc->enc_pic.ctx_buf.rec_luma_pitch = (enc->luma->u.legacy.level[0].nblk_x * enc->luma->bpe); in radeon_uvd_enc_ctx()761 enc->enc_pic.ctx_buf.rec_chroma_pitch = in radeon_uvd_enc_ctx()764 enc->enc_pic.ctx_buf.rec_luma_pitch = enc->luma->u.gfx9.surf_pitch * enc->luma->bpe; in radeon_uvd_enc_ctx()765 enc->enc_pic.ctx_buf.rec_chroma_pitch = enc->chroma->u.gfx9.surf_pitch * enc->chroma->bpe; in radeon_uvd_enc_ctx()767 enc->enc_pic.ctx_buf.num_reconstructed_pictures = 2; in radeon_uvd_enc_ctx()772 RADEON_ENC_CS(enc->enc_pic.ctx_buf.swizzle_mode); in radeon_uvd_enc_ctx()773 RADEON_ENC_CS(enc->enc_pic.ctx_buf.rec_luma_pitch); in radeon_uvd_enc_ctx()774 RADEON_ENC_CS(enc->enc_pic.ctx_buf.rec_chroma_pitch); in radeon_uvd_enc_ctx()775 RADEON_ENC_CS(enc->enc_pic.ctx_buf.num_reconstructed_pictures); in radeon_uvd_enc_ctx()[all …]
1050 enc->enc_pic.ctx_buf.swizzle_mode = 0; in radeon_enc_ctx()1051 enc->enc_pic.ctx_buf.rec_luma_pitch = align(enc->base.width, enc->alignment); in radeon_enc_ctx()1052 enc->enc_pic.ctx_buf.rec_chroma_pitch = align(enc->base.width, enc->alignment); in radeon_enc_ctx()1053 enc->enc_pic.ctx_buf.num_reconstructed_pictures = 2; in radeon_enc_ctx()1057 RADEON_ENC_CS(enc->enc_pic.ctx_buf.swizzle_mode); in radeon_enc_ctx()1058 RADEON_ENC_CS(enc->enc_pic.ctx_buf.rec_luma_pitch); in radeon_enc_ctx()1059 RADEON_ENC_CS(enc->enc_pic.ctx_buf.rec_chroma_pitch); in radeon_enc_ctx()1060 RADEON_ENC_CS(enc->enc_pic.ctx_buf.num_reconstructed_pictures); in radeon_enc_ctx()
380 ruvd_enc_encode_context_buffer_t ctx_buf; member
471 rvcn_enc_encode_context_buffer_t ctx_buf; member