Home
last modified time | relevance | path

Searched refs:configParam_ (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/imageJpeg/src/
H A Djpeg_image_processor.cpp48 …uint32_t lastFrameSize = configParam_.GetScreenWidth() * configParam_.GetScreenHeight() * RGB_CHRO… in FillDirtyImages2Surface()
57 .width = configParam_.GetScreenWidth(), in FillDirtyImages2Surface()
58 .height = configParam_.GetScreenHeight(), in FillDirtyImages2Surface()
94 … std::shared_ptr<DataBuffer> dataBuf = std::make_shared<DataBuffer>(configParam_.GetScreenWidth() * in ProcessDamageSurface()
95 configParam_.GetScreenHeight() * RGBA_CHROMA); in ProcessDamageSurface()
136 surfaceAddrIdx += configParam_.GetScreenWidth() * RGBA_CHROMA; in EncodeDamageData()
148 int32_t screenWidth = static_cast<int32_t>(configParam_.GetScreenWidth()); in DecodeDamageData()
149 int32_t screenHeight = static_cast<int32_t>(configParam_.GetScreenHeight()); in DecodeDamageData()
186 uint8_t *uData = lastFrameIdx + configParam_.GetScreenWidth() * configParam_.GetScreenHeight() + in ReplaceDamage2LastFrame()
193 yTempData = yData + static_cast<uint32_t>(i) * configParam_.GetScreenWidth(); in ReplaceDamage2LastFrame()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screentransport/screensinkprocessor/decoder/src/
H A Dimage_sink_decoder.cpp44 configParam_ = configParam; in ConfigureDecoder()
52 alignedHeight_ = configParam_.GetVideoHeight(); in ConfigureDecoder()
86 lastFrameSize_ = static_cast<int32_t>(configParam_.GetVideoWidth() * in AddSurface()
87 configParam_.GetVideoHeight() * RGB_CHROMA / TWO); in AddSurface()
103 .width = static_cast<int32_t>(configParam_.GetVideoWidth()), in GetWinSurfaceBuffer()
104 .height = static_cast<int32_t>(configParam_.GetVideoHeight()), in GetWinSurfaceBuffer()
140 uint32_t chromaOffset = alignedWidth * configParam_.GetVideoHeight(); in OffsetProcess()
141 for (unsigned int yh = 0 ; yh < configParam_.GetVideoHeight() ; yh++) { in OffsetProcess()
154 for (unsigned int uvh = 0 ; uvh < configParam_.GetVideoHeight() / TWO; uvh++) { in OffsetProcess()
197 if (static_cast<uint32_t>(alignedHeight_) == configParam_.GetVideoHeight()) { in ConsumeSurface()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/decision_center/src/
H A Dscreen_decision_center.cpp31 int32_t screenWidth = static_cast<int32_t>(configParam_.GetScreenWidth()); in IsDirtyRectValid()
32 int32_t screenHeight = static_cast<int32_t>(configParam_.GetScreenHeight()); in IsDirtyRectValid()
109 imageJpeg_ = std::make_shared<JpegImageProcessor>(configParam_); in ConfigureDecisionCenter()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/decision_center/include/
H A Dscreen_decision_center.h30 explicit ScreenDecisionCenter(const VideoParam &configParam) : configParam_(configParam){}; in ScreenDecisionCenter()
47 VideoParam configParam_; variable
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screentransport/screensourceprocessor/encoder/src/
H A Dimage_source_encoder.cpp126 configParam_ = configParam; in ConfigureEncoder()
169 if (producerSurface_ == nullptr || !configParam_.GetPartialRefreshFlag()) { in GetInputSurface()
194 requestConfig.width = static_cast<int32_t>(configParam_.GetVideoWidth()); in GetEncoderInputSurfaceBuffer()
195 requestConfig.height = static_cast<int32_t>(configParam_.GetVideoHeight()); in GetEncoderInputSurfaceBuffer()
217 …uint32_t screenDataSize = configParam_.GetVideoWidth() * configParam_.GetVideoHeight() * RGBA_CHRO… in FeedEncoderData()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/imageJpeg/include/
H A Djpeg_image_processor.h33 explicit JpegImageProcessor(const VideoParam &configParam) : configParam_(configParam){}; in JpegImageProcessor()
50 VideoParam configParam_; variable
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/test/unittest/decision_center/
H A Dscreen_decision_center_test.cpp78 decision->configParam_.SetScreenWidth(1);
85 decision->configParam_.SetScreenHeight(1);
119 decision->configParam_.SetScreenWidth(1);
120 decision->configParam_.SetScreenHeight(1);
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screentransport/screensourceprocessor/encoder/include/
H A Dimage_source_encoder.h79 VideoParam configParam_; variable
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screentransport/screensinkprocessor/decoder/include/
H A Dimage_sink_decoder.h83 VideoParam configParam_; variable
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensinkprocessor/src/
H A Dimage_sink_decoder_test.cpp313 imageDecoder_->configParam_.SetPartialRefreshFlag(false);
316 imageDecoder_->configParam_.SetPartialRefreshFlag(true);