mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
msm: vidc: update extradata size for input buffer packet
As per the interface agreement, rg_data would communicate the size of extradata. Update the same while creating the packet. Change-Id: Id61bce9486a11db5263c336b3284e81953a9a070 Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org> Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
This commit is contained in:
parent
08ed92dd0a
commit
23e16e4dcd
1 changed files with 3 additions and 0 deletions
|
|
@ -477,6 +477,8 @@ int create_pkt_cmd_session_etb_decoder(
|
|||
pkt->filled_len = input_frame->filled_len;
|
||||
pkt->input_tag = input_frame->input_tag;
|
||||
pkt->packet_buffer = (u32)input_frame->device_addr;
|
||||
pkt->extra_data_buffer = 0;
|
||||
pkt->rgData[0] = 0;
|
||||
|
||||
trace_msm_v4l2_vidc_buffer_event_start("ETB",
|
||||
input_frame->device_addr, input_frame->timestamp,
|
||||
|
|
@ -511,6 +513,7 @@ int create_pkt_cmd_session_etb_encoder(
|
|||
pkt->input_tag = input_frame->input_tag;
|
||||
pkt->packet_buffer = (u32)input_frame->device_addr;
|
||||
pkt->extra_data_buffer = (u32)input_frame->extradata_addr;
|
||||
pkt->rgData[0] = input_frame->extradata_size;
|
||||
|
||||
trace_msm_v4l2_vidc_buffer_event_start("ETB",
|
||||
input_frame->device_addr, input_frame->timestamp,
|
||||
|
|
|
|||
Loading…
Reference in a new issue