Searched refs:ctx_buf (Results 1 – 5 of 5) sorted by relevance
300 enc->enc_pic.ctx_buf.swizzle_mode = 0; in radeon_enc_ctx()305 enc->enc_pic.ctx_buf.rec_luma_pitch = align(aligned_width, enc->alignment); in radeon_enc_ctx()306 enc->enc_pic.ctx_buf.rec_chroma_pitch = align(aligned_width, enc->alignment); in radeon_enc_ctx()308 int luma_size = enc->enc_pic.ctx_buf.rec_luma_pitch * align(aligned_height, enc->alignment); in radeon_enc_ctx()314 enc->enc_pic.ctx_buf.num_reconstructed_pictures = 2; in radeon_enc_ctx()315 for (int i = 0; i < enc->enc_pic.ctx_buf.num_reconstructed_pictures; i++) { in radeon_enc_ctx()316 enc->enc_pic.ctx_buf.reconstructed_pictures[i].luma_offset = offset; in radeon_enc_ctx()318 enc->enc_pic.ctx_buf.reconstructed_pictures[i].chroma_offset = offset; in radeon_enc_ctx()324 RADEON_ENC_CS(enc->enc_pic.ctx_buf.swizzle_mode); in radeon_enc_ctx()325 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 …]
880 enc->enc_pic.ctx_buf.swizzle_mode = 0; in radeon_enc_ctx()881 enc->enc_pic.ctx_buf.rec_luma_pitch = align(enc->base.width, enc->alignment); in radeon_enc_ctx()882 enc->enc_pic.ctx_buf.rec_chroma_pitch = align(enc->base.width, enc->alignment); in radeon_enc_ctx()883 enc->enc_pic.ctx_buf.num_reconstructed_pictures = 2; in radeon_enc_ctx()887 RADEON_ENC_CS(enc->enc_pic.ctx_buf.swizzle_mode); in radeon_enc_ctx()888 RADEON_ENC_CS(enc->enc_pic.ctx_buf.rec_luma_pitch); in radeon_enc_ctx()889 RADEON_ENC_CS(enc->enc_pic.ctx_buf.rec_chroma_pitch); in radeon_enc_ctx()890 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
463 rvcn_enc_encode_context_buffer_t ctx_buf; member