Re: [PATCH 3/4] media: qcom: iris: Add B frames support for encoder
From: Wangao Wang
Date: Tue Dec 02 2025 - 01:47:09 EST
On 2025/11/27 18:43, Bryan O'Donoghue wrote:
On 27/11/2025 07:44, Wangao Wang wrote:
+ intra_period.pframes = (gop_size - 1) / (b_frame + 1);
+ intra_period.bframes = b_frame;
Why do you need to set pframes when setting bframes ?
---
bod
intra_period represents the length of a GOP, which includes both P-frames and B-frames. The counts of P-frames and B-frames within a GOP must be communicated to the firmware.
--
Best Regards,
Wangao