|
73 | 73 | #define STRING_COLORTEMPERATURE "ColorTemperature."
|
74 | 74 | #define CREATE_DIRTY(__X__) (__X__+=STRING_DIRTY)
|
75 | 75 | #define CAPABLITY_FILE_NAME "pq_capabilities.ini"
|
76 |
| -#define CAPABILITY_FILE_NAMEV2 "/etc/pq_capabilities.json" |
77 |
| - |
78 | 76 |
|
79 | 77 | class CIniFile
|
80 | 78 | {
|
@@ -439,38 +437,6 @@ class AVOutputTV : public AVOutputBase {
|
439 | 437 | static void initializeReverseMaps();
|
440 | 438 | static const std::unordered_map<std::string, int> backlightModeReverseMap;
|
441 | 439 |
|
442 |
| - tvError_t ReadJsonFile(JsonObject& root); |
443 |
| - tvError_t ExtractContextCaps(const JsonObject& data, tvContextCaps_t** context_caps); |
444 |
| - tvError_t ExtractRangeInfo(const JsonObject& data, int* max_value); |
445 |
| - std::vector<tvConfigContext_t> ParseContextCaps(const JsonObject& context); |
446 |
| - tvContextCaps_t* AllocateContextCaps(const std::vector<tvConfigContext_t>& contexts); |
447 |
| - tvError_t GetCaps(const std::string& key, int* max_value, tvContextCaps_t** context_caps); |
448 |
| - |
449 |
| - tvError_t GetDVCalibrationCaps(tvDVCalibrationSettings_t **min_values, tvDVCalibrationSettings_t **max_values, tvContextCaps_t **context_caps); |
450 |
| - tvError_t GetBacklightModeCaps(tvBacklightMode_t** backlight_mode, size_t* num_backlight_mode, tvContextCaps_t** context_caps); |
451 |
| - tvError_t GetLocalContrastEnhancementCaps(int* maxLocalContrastEnhancement, tvContextCaps_t** context_caps); |
452 |
| - tvError_t GetMPEGNoiseReductionCaps(int* maxMPEGNoiseReduction, tvContextCaps_t** context_caps); |
453 |
| - tvError_t GetDigitalNoiseReductionCaps(int* maxDigitalNoiseReduction, tvContextCaps_t** context_caps); |
454 |
| - tvError_t GetMultiPointWBCaps(int* num_hal_matrix_points, |
455 |
| - int* rgb_min, |
456 |
| - int* rgb_max, |
457 |
| - int* num_ui_matrix_points, |
458 |
| - double** ui_matrix_positions, |
459 |
| - tvContextCaps_t** context_caps); |
460 |
| - tvError_t GetCMSCaps(int* max_hue, |
461 |
| - int* max_saturation, |
462 |
| - int* max_luma, |
463 |
| - tvDataComponentColor_t** color, |
464 |
| - tvComponentType_t** component, |
465 |
| - size_t* num_color, |
466 |
| - size_t* num_component, |
467 |
| - tvContextCaps_t** context_caps); |
468 |
| - tvError_t GetCustom2PointWhiteBalanceCaps( int *min_gain, |
469 |
| - int *min_offset, int *max_gain, |
470 |
| - int *max_offset, tvWBColor_t **color, |
471 |
| - tvWBControl_t **control, size_t* num_color, |
472 |
| - size_t* num_control, tvContextCaps_t ** context_caps); |
473 |
| - |
474 | 440 | uint32_t getPQCapabilityWithContext(
|
475 | 441 | const std::function<tvError_t(tvContextCaps_t**, int*)>& getCapsFunc,
|
476 | 442 | const JsonObject& parameters,
|
|
0 commit comments