0, 1);
set_aux_data(hevc,
hevc->cur_pic, 0, 2);
+ } else if (vdec_frame_based(vdec)) {
+ set_aux_data(hevc,
+ hevc->cur_pic, 1, 0);
}
}
#endif
hevc_print(hevc, 0, "get NAL_UNIT_EOS, flush output\n");
#ifdef CONFIG_AMLOGIC_MEDIA_ENHANCEMENT_DOLBYVISION
- if ((vdec->master || vdec->slave) &&
- aux_data_is_avaible(hevc)) {
+ if ((vdec_dual(vdec)) && aux_data_is_avaible(hevc)) {
if (hevc->decoding_pic)
dolby_get_meta(hevc);
}
struct PIC_s *pic;
hevc->eos = 1;
#ifdef CONFIG_AMLOGIC_MEDIA_ENHANCEMENT_DOLBYVISION
- if ((vdec->master || vdec->slave) &&
- aux_data_is_avaible(hevc))
+ if ((vdec_dual(vdec)) && aux_data_is_avaible(hevc))
dolby_get_meta(hevc);
#endif
check_pic_decoded_error(hevc,