/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/multimedia_codec/encoder/ |
H A D | encode_data_process.cpp | 69 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 D | decode_data_process.cpp | 58 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() 543 … sourceConfig_.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 D | decode_data_process_common.cpp | 58 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() 595 … sourceConfig_.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() 647 … sourceConfig_.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 D | scale_convert_process_common.cpp | 39 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 D | scale_convert_process.cpp | 38 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 D | fps_controller_process.cpp | 40 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 D | fps_controller_process.h | 63 VideoConfigParams sourceConfig_; variable
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/include/pipeline_node/scale_conversion/ |
H A D | scale_convert_process.h | 99 VideoConfigParams sourceConfig_; variable
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/include/pipeline_node/multimedia_codec/decoder/ |
H A D | decode_data_process.h | 124 VideoConfigParams sourceConfig_; variable
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/include/pipeline_node/multimedia_codec/encoder/ |
H A D | encode_data_process.h | 127 VideoConfigParams sourceConfig_; variable
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/test/unittest/common/pipeline_node/ |
H A D | encode_data_process_test.cpp | 191 testEncodeDataProcess_->sourceConfig_.videoCodec_ = VideoCodecType::NO_CODEC;
|
H A D | decode_data_process_test.cpp | 318 testDecodeDataProcess_->sourceConfig_.videoCodec_ = VideoCodecType::NO_CODEC;
|