@@ -630,7 +630,7 @@ namespace Plugin {
630
630
return true ;
631
631
}
632
632
633
- uint32_t AVOutputTV::getCapsV2 (
633
+ uint32_t AVOutputTV::getPQCapabilityWithContext (
634
634
const std::function<tvError_t( tvContextCaps_t**,int *)>& getCapsFunc,
635
635
const char* key,
636
636
const JsonObject& parameters,
@@ -707,90 +707,90 @@ namespace Plugin {
707
707
}
708
708
709
709
uint32_t AVOutputTV::getBacklightCapsV2 (const JsonObject& parameters, JsonObject& response) {
710
- return getCapsV2 ([this ]( tvContextCaps_t** context_caps, int * max_backlight) {
710
+ return getPQCapabilityWithContext ([this ]( tvContextCaps_t** context_caps, int * max_backlight) {
711
711
return this ->GetBacklightCaps (max_backlight, context_caps);
712
712
}, " Backlight" , parameters, response);
713
713
}
714
714
715
715
uint32_t AVOutputTV::getBrightnessCapsV2 (const JsonObject& parameters, JsonObject& response) {
716
- return getCapsV2 ([this ]( tvContextCaps_t** context_caps, int * max_brightness) {
716
+ return getPQCapabilityWithContext ([this ]( tvContextCaps_t** context_caps, int * max_brightness) {
717
717
return this ->GetBrightnessCaps (max_brightness, context_caps);
718
718
},
719
719
" Brightness" , parameters, response);
720
720
}
721
721
722
722
uint32_t AVOutputTV::getContrastCapsV2 (const JsonObject& parameters, JsonObject& response) {
723
- return getCapsV2 ([this ](tvContextCaps_t** context_caps, int * max_contrast) {
723
+ return getPQCapabilityWithContext ([this ](tvContextCaps_t** context_caps, int * max_contrast) {
724
724
return this ->GetContrastCaps (max_contrast, context_caps);
725
725
},
726
726
" Contrast" , parameters, response);
727
727
}
728
728
729
729
uint32_t AVOutputTV::getSharpnessCapsV2 (const JsonObject& parameters, JsonObject& response) {
730
- return getCapsV2 ([this ](tvContextCaps_t** context_caps, int * max_sharpness) {
730
+ return getPQCapabilityWithContext ([this ](tvContextCaps_t** context_caps, int * max_sharpness) {
731
731
return this ->GetSharpnessCaps (max_sharpness, context_caps);
732
732
},
733
733
" Sharpness" , parameters, response);
734
734
}
735
735
736
736
uint32_t AVOutputTV::getSaturationCapsV2 (const JsonObject& parameters, JsonObject& response) {
737
- return getCapsV2 ([this ](tvContextCaps_t** context_caps, int * max_saturation) {
737
+ return getPQCapabilityWithContext ([this ](tvContextCaps_t** context_caps, int * max_saturation) {
738
738
return this ->GetSaturationCaps (max_saturation, context_caps);
739
739
},
740
740
" Saturation" , parameters, response);
741
741
}
742
742
743
743
uint32_t AVOutputTV::getHueCapsV2 (const JsonObject& parameters, JsonObject& response) {
744
- return getCapsV2 ([this ]( tvContextCaps_t** context_caps, int * max_hue) {
744
+ return getPQCapabilityWithContext ([this ]( tvContextCaps_t** context_caps, int * max_hue) {
745
745
return this ->GetHueCaps (max_hue, context_caps);
746
746
},
747
747
" Hue" , parameters, response);
748
748
}
749
749
750
750
uint32_t AVOutputTV::getPrecisionDetailCaps (const JsonObject& parameters, JsonObject& response) {
751
- return getCapsV2 ([this ](tvContextCaps_t** context_caps, int * max_precision) {
751
+ return getPQCapabilityWithContext ([this ](tvContextCaps_t** context_caps, int * max_precision) {
752
752
return this ->GetPrecisionDetailCaps (max_precision, context_caps);
753
753
},
754
754
" PrecisionDetail" , parameters, response);
755
755
}
756
756
757
757
uint32_t AVOutputTV::getLocalContrastEnhancementCaps (const JsonObject& parameters, JsonObject& response) {
758
- return getCapsV2 ([this ](tvContextCaps_t** context_caps, int * max_val) {
758
+ return getPQCapabilityWithContext ([this ](tvContextCaps_t** context_caps, int * max_val) {
759
759
return this ->GetLocalContrastEnhancementCaps (max_val, context_caps);
760
760
},
761
761
" LocalContrastEnhancement" , parameters, response);
762
762
}
763
763
764
764
uint32_t AVOutputTV::getMPEGNoiseReductionCaps (const JsonObject& parameters, JsonObject& response) {
765
- return getCapsV2 ([this ](tvContextCaps_t** context_caps, int * max_val) {
765
+ return getPQCapabilityWithContext ([this ](tvContextCaps_t** context_caps, int * max_val) {
766
766
return this ->GetMPEGNoiseReductionCaps (max_val, context_caps);
767
767
},
768
768
" MPEGNoiseReduction" , parameters, response);
769
769
}
770
770
771
771
uint32_t AVOutputTV::getDigitalNoiseReductionCaps (const JsonObject& parameters, JsonObject& response) {
772
- return getCapsV2 ([this ](tvContextCaps_t** context_caps, int * max_val) {
772
+ return getPQCapabilityWithContext ([this ](tvContextCaps_t** context_caps, int * max_val) {
773
773
return this ->GetDigitalNoiseReductionCaps (max_val, context_caps);
774
774
},
775
775
" DigitalNoiseReduction" , parameters, response);
776
776
}
777
777
778
778
uint32_t AVOutputTV::getAISuperResolutionCaps (const JsonObject& parameters, JsonObject& response) {
779
- return getCapsV2 ([this ](tvContextCaps_t** context_caps, int * max_val) {
779
+ return getPQCapabilityWithContext ([this ](tvContextCaps_t** context_caps, int * max_val) {
780
780
return this ->GetAISuperResolutionCaps (max_val, context_caps);
781
781
},
782
782
" AISuperResolution" , parameters, response);
783
783
}
784
784
785
785
uint32_t AVOutputTV::getMEMCCaps (const JsonObject& parameters, JsonObject& response) {
786
- return getCapsV2 ([this ](tvContextCaps_t** context_caps, int * max_val) {
786
+ return getPQCapabilityWithContext ([this ](tvContextCaps_t** context_caps, int * max_val) {
787
787
return this ->GetMEMCCaps (max_val, context_caps);
788
788
},
789
789
" MEMC" , parameters, response);
790
790
}
791
791
792
792
uint32_t AVOutputTV::getLowLatencyStateCapsV2 (const JsonObject& parameters, JsonObject& response) {
793
- return getCapsV2 ([this ](tvContextCaps_t** context_caps, int * max_latency) {
793
+ return getPQCapabilityWithContext ([this ](tvContextCaps_t** context_caps, int * max_latency) {
794
794
return this ->GetLowLatencyStateCaps (max_latency, context_caps);
795
795
},
796
796
" LowLatencyState" , parameters, response);
0 commit comments