mirror of
https://github.com/openharmony/multimedia_video_processing_engine.git
synced 2026-07-24 22:27:33 -04:00
@@ -161,6 +161,14 @@ VPEAlgoErrCode ContrastEnhancerImageFwk::UpdateMetadataBasedOnPixel(OHOS::Rect d
|
||||
return algoImpl->UpdateMetadataBasedOnPixel(displayArea, curPixelmapArea, completePixelmapArea,
|
||||
surfaceBuffer, fullRatio);
|
||||
}
|
||||
|
||||
VPEAlgoErrCode ComposeFOVImage(OHOS::Rect displayArea, sptr<SurfaceBuffer> oriBuffer,
|
||||
sptr<SurfaceBuffer> lhdrBuffer, sptr<SurfaceBuffer> outBuffer, ContrastEnhancerInfo info)
|
||||
{
|
||||
VPE_LOGI("ContrastEnhancerImageFwk ComposeFOVImage Succeed");
|
||||
return VPE_ALGO_ERR_OK;
|
||||
}
|
||||
|
||||
} // namespace VideoProcessingEngine
|
||||
} // namespace Media
|
||||
} // namespace OHOS
|
||||
|
||||
@@ -40,6 +40,9 @@ public:
|
||||
std::tuple<int, int, double, double, double, int> pixelmapInfo) override;
|
||||
VPEAlgoErrCode UpdateMetadataBasedOnPixel(OHOS::Rect displayArea, OHOS::Rect curPixelmapArea,
|
||||
OHOS::Rect completePixelmapArea, sptr<SurfaceBuffer> surfaceBuffer, float fullRatio) override;
|
||||
VPEAlgoErrCode ComposeFOVImage(OHOS::Rect displayArea, sptr<SurfaceBuffer> oriBuffer,
|
||||
sptr<SurfaceBuffer> lhdrBuffer, sptr<SurfaceBuffer> outBuffer, ContrastEnhancerInfo info) override;
|
||||
|
||||
private:
|
||||
std::shared_ptr<ContrastEnhancerBase> GetAlgorithm(ContrastEnhancerType feature);
|
||||
std::shared_ptr<ContrastEnhancerBase> CreateAlgorithm(ContrastEnhancerType feature);
|
||||
|
||||
Reference in New Issue
Block a user