mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: vidc: Add support for Mpeg-2 open-gop handling
ISDB-T client requires flags indicating the correctness of output YUV data from MPEG-2 decoder. With this commit, DATA_CORRUPT flag is sent from the driver if the output YUV is either INCORRECT or APPROX_CORRECT. Change-Id: I72e8ba81f45200715a195497d4eae140cbe86616 Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org> (cherry picked from commit d68ca84da4a5c68eb2caf1f9e4dbb665bba5a05c) Conflicts: drivers/video/msm/vidc/1080p/ddl/vcd_ddl_interrupt_handler.c Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org> Signed-off-by: Manish Kumar <manishku@codeaurora.org>
This commit is contained in:
parent
2e298ef9e6
commit
f9fd1434a4
1 changed files with 3 additions and 0 deletions
|
@ -1258,6 +1258,9 @@ static u32 ddl_decoder_output_done_callback(
|
|||
output_vcd_frm->flags |=
|
||||
VCD_FRAME_FLAG_DATACORRUPT;
|
||||
}
|
||||
if (decoder->codec.codec != VCD_CODEC_H264 ||
|
||||
decoder->codec.codec != VCD_CODEC_MPEG2)
|
||||
output_vcd_frm->flags &= ~VCD_FRAME_FLAG_DATACORRUPT;
|
||||
output_vcd_frm->ip_frm_tag = dec_disp_info->tag_top;
|
||||
vidc_sm_get_picture_times(&ddl->shared_mem
|
||||
[ddl->command_channel],
|
||||
|
|
Loading…
Reference in a new issue