mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: vidc: Correct the decoder profile info assignment
Update the profile info in the sequence header with the info which the core returns in the shared memory register. (cherry picked from commit 5a60819aeb698b9d27937329bb5559a7a787a06e) CRs-fixed: 408349 Change-Id: I6db75c907260c9744ec4e0d88db776be9bca8dea Signed-off-by: Shobhit Pandey <cshopan@codeaurora.org> Signed-off-by: Neha Pandey <nehap@codeaurora.org>
This commit is contained in:
parent
909c192f79
commit
c7287d981a
1 changed files with 2 additions and 2 deletions
|
@ -274,8 +274,8 @@ static u32 ddl_decoder_seq_done_callback(struct ddl_context *ddl_context,
|
||||||
}
|
}
|
||||||
vidc_sm_get_profile_info(&ddl->shared_mem
|
vidc_sm_get_profile_info(&ddl->shared_mem
|
||||||
[ddl->command_channel], &disp_profile_info);
|
[ddl->command_channel], &disp_profile_info);
|
||||||
disp_profile_info.pic_profile = seq_hdr_info.profile;
|
seq_hdr_info.profile = disp_profile_info.pic_profile;
|
||||||
disp_profile_info.pic_level = seq_hdr_info.level;
|
seq_hdr_info.level = disp_profile_info.pic_level;
|
||||||
ddl_get_dec_profile_level(decoder, seq_hdr_info.profile,
|
ddl_get_dec_profile_level(decoder, seq_hdr_info.profile,
|
||||||
seq_hdr_info.level);
|
seq_hdr_info.level);
|
||||||
switch (decoder->codec.codec) {
|
switch (decoder->codec.codec) {
|
||||||
|
|
Loading…
Reference in a new issue