Searched refs:formatObj (Results 1 - 2 of 2) sorted by relevance
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/ |
H A D | dmetadata_processor.cpp | 723 cJSON *formatObj = cJSON_GetObjectItemCaseSensitive(resObj, formatStr.c_str()); in GetFormatObj() local 724 if (formatObj == nullptr || !cJSON_IsArray(formatObj) || cJSON_GetArraySize(formatObj) == 0 || in GetFormatObj() 725 static_cast<uint32_t>(cJSON_GetArraySize(formatObj)) > JSON_ARRAY_MAX_SIZE) { in GetFormatObj() 728 return formatObj; in GetFormatObj() 736 cJSON *formatObj = GetFormatObj(rootNode, rootValue, formatStr); in GetEachNodeSupportedResolution() local 737 if (formatObj == nullptr) { in GetEachNodeSupportedResolution() 750 cJSON* formatObj = GetFormatObj(rootNode, rootValue, formatStr); in GetNodeSupportedResolution() local 751 if (formatObj in GetNodeSupportedResolution() 827 cJSON *formatObj = cJSON_GetObjectItemCaseSensitive(photoObj, "OutputFormat"); ParsePhotoFormats() local 854 cJSON *formatObj = cJSON_GetObjectItemCaseSensitive(previewObj, "OutputFormat"); ParsePreviewFormats() local 879 cJSON *formatObj = cJSON_GetObjectItemCaseSensitive(videoObj, "OutputFormat"); ParseVideoFormats() local [all...] |
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/ |
H A D | dstream_operator.cpp | 558 cJSON *formatObj = cJSON_GetObjectItemCaseSensitive(resObj, formatStr.c_str()); in GetFormatObj() local 559 if (formatObj == nullptr || !cJSON_IsArray(formatObj) || cJSON_GetArraySize(formatObj) == 0 || in GetFormatObj() 560 static_cast<uint32_t>(cJSON_GetArraySize(formatObj)) > JSON_ARRAY_MAX_SIZE) { in GetFormatObj() 563 return formatObj; in GetFormatObj() 570 cJSON *formatObj = GetFormatObj(rootNode, rootValue, formatStr); in ExtractCameraAttr() local 571 if (formatObj == nullptr) { in ExtractCameraAttr() 583 cJSON *formatObj = GetFormatObj(rootNode, rootValue, formatStr); in GetCameraAttr() local 584 if (formatObj in GetCameraAttr() 734 cJSON *formatObj = cJSON_GetObjectItemCaseSensitive(photoObj, "OutputFormat"); ParsePhotoFormats() local 761 cJSON *formatObj = cJSON_GetObjectItemCaseSensitive(previewObj, "OutputFormat"); ParsePreviewFormats() local 788 cJSON *formatObj = cJSON_GetObjectItemCaseSensitive(videoObj, "OutputFormat"); ParseVideoFormats() local [all...] |
Completed in 4 milliseconds