Home
last modified time | relevance | path

Searched refs:sourceConfig_ (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/multimedia_codec/encoder/
H A Dencode_data_process.cpp69 sourceConfig_ = sourceConfig; in InitNode()
118 sourceConfig_.GetWidth(), sourceConfig_.GetHeight(), in InitEncoder()
159 processedConfig_ = sourceConfig_; in InitEncoderMetadataFormat()
180 switch (sourceConfig_.GetVideoformat()) { in InitEncoderMetadataFormat()
218 … int64_t pixelformat = static_cast<int64_t>(sourceConfig_.GetWidth() * sourceConfig_.GetHeight()); in InitEncoderBitrateFormat()
233 sourceConfig_.GetWidth(), sourceConfig_.GetHeight(), matchedBitrate); in InitEncoderBitrateFormat()
374 … BufferFlushConfig flushConfig = { {0, 0, sourceConfig_.GetWidth(), sourceConfig_.GetHeight()}, 0}; in FeedEncoderInputBuffer()
384 requestConfig.width = sourceConfig_.GetWidth(); in GetEncoderInputSurfaceBuffer()
385 requestConfig.height = sourceConfig_.GetHeight(); in GetEncoderInputSurfaceBuffer()
389 switch (sourceConfig_.GetVideoformat()) { in GetEncoderInputSurfaceBuffer()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/multimedia_codec/decoder/
H A Ddecode_data_process.cpp58 sourceConfig_ = sourceConfig; in InitNode()
76 alignedHeight_ = GetAlignedHeight(sourceConfig_.GetHeight()); in InitNode()
135 sourceConfig_.GetWidth(), sourceConfig_.GetHeight(), in InitDecoder()
169 processedConfig_ = sourceConfig_; in InitDecoderMetadataFormat()
172 switch (sourceConfig_.GetVideoCodecType()) { in InitDecoderMetadataFormat()
207 static_cast<int32_t>(sourceConfig_.GetHeight())); in SetDecoderOutputSurface()
543sourceConfig_.GetVideoformat(), sourceConfig_.GetWidth(), alignedWidth, sourceConfig_.GetHeight(), in CopyDecodedImage()
549 int dstSizeY = sourceConfig_.GetWidth() * sourceConfig_.GetHeight(); in CopyDecodedImage()
560 dstDataY, sourceConfig_.GetWidth(), in CopyDecodedImage()
599 size_t yuvImageSize = static_cast<size_t>(sourceConfig_.GetWidth() * sourceConfig_.GetHeight() * in IsCorrectSurfaceBuffer()
[all …]
H A Ddecode_data_process_common.cpp58 sourceConfig_ = sourceConfig; in InitNode()
76 alignedHeight_ = GetAlignedHeight(sourceConfig_.GetHeight()); in InitNode()
135 sourceConfig_.GetWidth(), sourceConfig_.GetHeight(), in InitDecoder()
180 processedConfig_ = sourceConfig_; in InitDecoderMetadataFormat()
182 switch (sourceConfig_.GetVideoCodecType()) { in InitDecoderMetadataFormat()
239 static_cast<int32_t>(sourceConfig_.GetHeight())); in SetDecoderOutputSurface()
591 imageSize = static_cast<size_t>(sourceConfig_.GetWidth() * sourceConfig_.GetHeight() * in CopyDecodedImage()
595sourceConfig_.GetWidth() * sourceConfig_.GetHeight() * YUV_BYTES_PER_PIXEL / Y2UV_RATIO); in CopyDecodedImage()
634 … size_t rgbImageSize = static_cast<size_t>(sourceConfig_.GetWidth() * sourceConfig_.GetHeight() * in IsCorrectSurfaceBuffer()
647sourceConfig_.GetWidth() * sourceConfig_.GetHeight() * YUV_BYTES_PER_PIXEL / Y2UV_RATIO); in IsCorrectSurfaceBuffer()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/scale_conversion/
H A Dscale_convert_process_common.cpp39 sourceConfig_ = sourceConfig; in InitNode()
55 …int32_t ret = av_image_alloc(srcData_, srcLineSize_, sourceConfig_.GetWidth(), sourceConfig_.GetHe… in InitNode()
56 GetAVPixelFormat(sourceConfig_.GetVideoformat()), SOURCE_ALIGN); in InitNode()
69 swsContext_ = sws_getContext(sourceConfig_.GetWidth(), sourceConfig_.GetHeight(), in InitNode()
83 return (sourceConfig_.GetWidth() != targetConfig.GetWidth()) || in IsConvertible()
84 (sourceConfig_.GetHeight() != targetConfig.GetHeight()) || in IsConvertible()
126 if (!IsConvertible(sourceConfig_, processedConfig_)) { in ProcessData()
130 sourceConfig_.GetWidth(), sourceConfig_.GetHeight(), sourceConfig_.GetVideoformat()); in ProcessData()
215 return srcImgInfo.colorFormat == sourceConfig_.GetVideoformat() && in CheckScaleProcessInputInfo()
216 srcImgInfo.width == sourceConfig_.GetWidth() && in CheckScaleProcessInputInfo()
[all …]
H A Dscale_convert_process.cpp38 sourceConfig_ = sourceConfig; in InitNode()
58 return (sourceConfig_.GetWidth() != targetConfig.GetWidth()) || in IsConvertible()
59 (sourceConfig_.GetHeight() != targetConfig.GetHeight()) || in IsConvertible()
60 (sourceConfig_.GetVideoformat() != targetConfig.GetVideoformat()); in IsConvertible()
91 if (!IsConvertible(sourceConfig_, processedConfig_)) { in ProcessData()
95 sourceConfig_.GetWidth(), sourceConfig_.GetHeight(), sourceConfig_.GetVideoformat()); in ProcessData()
185 srcImgInfo.width == sourceConfig_.GetWidth() && in CheckScaleProcessInputInfo()
186 srcImgInfo.height == sourceConfig_.GetHeight() && in CheckScaleProcessInputInfo()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/fpscontroller/
H A Dfps_controller_process.cpp40 sourceConfig_ = sourceConfig; in InitNode()
102 …"%{public}lld, fps %{public}f", sourceConfig_.GetWidth(), sourceConfig_.GetHeight(), (long long)ti… in ProcessData()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/include/pipeline_node/fpscontroller/
H A Dfps_controller_process.h63 VideoConfigParams sourceConfig_; variable
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/include/pipeline_node/scale_conversion/
H A Dscale_convert_process.h99 VideoConfigParams sourceConfig_; variable
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/include/pipeline_node/multimedia_codec/decoder/
H A Ddecode_data_process.h124 VideoConfigParams sourceConfig_; variable
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/include/pipeline_node/multimedia_codec/encoder/
H A Dencode_data_process.h127 VideoConfigParams sourceConfig_; variable
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/test/unittest/common/pipeline_node/
H A Dencode_data_process_test.cpp191 testEncodeDataProcess_->sourceConfig_.videoCodec_ = VideoCodecType::NO_CODEC;
H A Ddecode_data_process_test.cpp318 testDecodeDataProcess_->sourceConfig_.videoCodec_ = VideoCodecType::NO_CODEC;