mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
dv: update el vf correctly [1/1]
PD#SWPL-12849 Problem: Update meta and el function was called incorrectly. It will cause the BL and EL mismatch. Solution: Correct the calling sequence to get correct EL frame Verify: Verified by AC211 Change-Id: I6c9f0221a9facd361fcd18dcda55cc3967593c1c Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
This commit is contained in:
@@ -6007,6 +6007,7 @@ struct vframe_s *dolby_vision_toggle_frame(struct vframe_s *vf)
|
||||
int height_bl, height_el;
|
||||
int ret;
|
||||
|
||||
ret = dolby_vision_update_metadata(vf);
|
||||
if (!is_dolby_vision_el_disable() || for_dolby_vision_certification())
|
||||
cur_dispbuf2 = dolby_vision_vf_peek_el(vf);
|
||||
if (cur_dispbuf2) {
|
||||
@@ -6069,7 +6070,6 @@ struct vframe_s *dolby_vision_toggle_frame(struct vframe_s *vf)
|
||||
return NULL;
|
||||
};
|
||||
|
||||
ret = dolby_vision_update_metadata(vf);
|
||||
if (ret == 0) {
|
||||
/* setting generated for this frame */
|
||||
/* or DOVI in bypass mode */
|
||||
|
||||
Reference in New Issue
Block a user