mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[rc]: Add MppFrame to EncRcTask
Attach MppFrame to EncRcTask as meta data channel between user and internal RC strategy. Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I2787a69bec3911fe2e4f637153925c5ea88031ec
This commit is contained in:
parent
82cdcba737
commit
f13897ce65
2 changed files with 2 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ typedef struct EncRcCommonInfo_t {
|
|||
typedef struct EncRcTask_s {
|
||||
EncFrmStatus frm;
|
||||
EncRcTaskInfo info;
|
||||
MppFrame frame;
|
||||
} EncRcTask;
|
||||
|
||||
#endif /* __RC_DEFS_H__ */
|
||||
|
|
|
|||
|
|
@ -620,6 +620,7 @@ void *mpp_enc_thread(void *data)
|
|||
reset_enc_rc_task(rc_task);
|
||||
hal_task->rc_task = rc_task;
|
||||
frm->seq_idx = task.seq_idx++;
|
||||
rc_task->frame = frame;
|
||||
|
||||
enc_dbg_detail("task seq idx %d start\n", frm->seq_idx);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue