/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/ability/ |
H A D | camera_ability_const.cpp | 171 const std::vector<VideoRotation> g_fwkVideoRotationVector_ = { 172 VideoRotation::ROTATION_0, 173 VideoRotation::ROTATION_90, 174 VideoRotation::ROTATION_180, 175 VideoRotation::ROTATION_270
|
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/ability/ |
H A D | camera_ability_const.h | 117 enum class VideoRotation { enum 142 extern const std::vector<VideoRotation> g_fwkVideoRotationVector_;
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/common/ |
H A D | codec_utils.cpp | 218 GraphicTransformType TranslateSurfaceRotation(const VideoRotation &rotation) in TranslateSurfaceRotation() 221 case VideoRotation::VIDEO_ROTATION_90: { in TranslateSurfaceRotation() 224 case VideoRotation::VIDEO_ROTATION_180: { in TranslateSurfaceRotation() 227 case VideoRotation::VIDEO_ROTATION_270: { in TranslateSurfaceRotation()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
H A D | command_parser.h | 66 std::optional<VideoRotation> rotate; 133 VideoRotation rotation = VIDEO_ROTATION_0;
|
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/ |
H A D | av_thumbnail_generator.h | 61 Plugins::VideoRotation rotation_ = Plugins::VideoRotation::VIDEO_ROTATION_0;
|
H A D | avmetadata_collector.cpp | 360 } else if (Any::IsSameTypeWith<Plugins::VideoRotation>(type)) { in SetStringByValueType() 361 Plugins::VideoRotation rotation; in SetStringByValueType()
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/ |
H A D | fcodec.cpp | 185 VideoRotation sr = static_cast<VideoRotation>(val); in ConfigureSurface() 186 …CHECK_AND_RETURN_LOG(sr == VideoRotation::VIDEO_ROTATION_0 || sr == VideoRotation::VIDEO_ROTATION_… in ConfigureSurface() 187 … sr == VideoRotation::VIDEO_ROTATION_180 || sr == VideoRotation::VIDEO_ROTATION_270, in ConfigureSurface() 544 VideoRotation sr = static_cast<VideoRotation>(val); in SetSurfaceParameter() 545 …CHECK_AND_RETURN_LOG(sr == VideoRotation::VIDEO_ROTATION_0 || sr == VideoRotation::VIDEO_ROTATION_… in SetSurfaceParameter() 546 … sr == VideoRotation::VIDEO_ROTATION_180 || sr == VideoRotation::VIDEO_ROTATION_270, in SetSurfaceParameter() 673 sInfo_.surface->SetTransform(TranslateSurfaceRotation(static_cast<VideoRotation>(val32))); in SetSurfaceCfg() 1293 … sInfo_.surface->SetTransform(TranslateSurfaceRotation(static_cast<VideoRotation>(videoRotation))); in SwitchBetweenSurface() 1435 static_cast<int32_t>(VideoRotation::VIDEO_ROTATION_0)); in SetOutputSurface()
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/ |
H A D | hevc_decoder.cpp | 259 VideoRotation sr = static_cast<VideoRotation>(val); in ConfigureSurface() 260 …CHECK_AND_RETURN_LOG(sr == VideoRotation::VIDEO_ROTATION_0 || sr == VideoRotation::VIDEO_ROTATION_… in ConfigureSurface() 261 … sr == VideoRotation::VIDEO_ROTATION_180 || sr == VideoRotation::VIDEO_ROTATION_270, in ConfigureSurface() 577 VideoRotation sr = static_cast<VideoRotation>(val); in SetSurfaceParameter() 578 …CHECK_AND_RETURN_LOG(sr == VideoRotation::VIDEO_ROTATION_0 || sr == VideoRotation::VIDEO_ROTATION_… in SetSurfaceParameter() 579 … sr == VideoRotation::VIDEO_ROTATION_180 || sr == VideoRotation::VIDEO_ROTATION_270, in SetSurfaceParameter() 704 sInfo_.surface->SetTransform(TranslateSurfaceRotation(static_cast<VideoRotation>(val32))); in SetSurfaceCfg() 1426 newSurface->SetTransform(TranslateSurfaceRotation(static_cast<VideoRotation>(videoRotation))); in SwitchBetweenSurface() 1488 static_cast<int32_t>(VideoRotation::VIDEO_ROTATION_0)); in SetOutputSurface()
|
/ohos5.0/foundation/multimedia/player_framework/interfaces/inner_api/native/ |
H A D | av_common.h | 60 enum VideoRotation : uint32_t { enum
|
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/recorder/ |
H A D | hirecorder_impl.cpp | 799 if (rotationAngle.rotation == Plugins::VideoRotation::VIDEO_ROTATION_0) { in ConfigureRotation() 800 muxerFormat_->Set<Tag::VIDEO_ROTATION>(Plugins::VideoRotation::VIDEO_ROTATION_0); in ConfigureRotation() 801 } else if (rotationAngle.rotation == Plugins::VideoRotation::VIDEO_ROTATION_90) { in ConfigureRotation() 802 muxerFormat_->Set<Tag::VIDEO_ROTATION>(Plugins::VideoRotation::VIDEO_ROTATION_90); in ConfigureRotation() 803 } else if (rotationAngle.rotation == Plugins::VideoRotation::VIDEO_ROTATION_180) { in ConfigureRotation() 804 muxerFormat_->Set<Tag::VIDEO_ROTATION>(Plugins::VideoRotation::VIDEO_ROTATION_180); in ConfigureRotation() 805 } else if (rotationAngle.rotation == Plugins::VideoRotation::VIDEO_ROTATION_270) { in ConfigureRotation() 806 muxerFormat_->Set<Tag::VIDEO_ROTATION>(Plugins::VideoRotation::VIDEO_ROTATION_270); in ConfigureRotation()
|
/ohos5.0/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | av_common.h | 114 enum VideoRotation : uint32_t { enum
|
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/format/ |
H A D | avformat_unit_test.cpp | 511 …EXPECT_EQ(iter->second.val.int32Val, static_cast<int32_t>(Plugins::VideoRotation::VIDEO_ROTATION_9… in CheckFormatMap() 540 meta->SetData(INT_ENUM_TESTKEY, Plugins::VideoRotation::VIDEO_ROTATION_90); 571 meta->SetData(INT_ENUM_TESTKEY, Plugins::VideoRotation::VIDEO_ROTATION_90); 628 meta->SetData(INT_ENUM_TESTKEY, Plugins::VideoRotation::VIDEO_ROTATION_90); 658 meta->SetData(INT_ENUM_TESTKEY, Plugins::VideoRotation::VIDEO_ROTATION_90);
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | type_converter.h | 53 static std::optional<GraphicTransformType> InnerRotateToDisplayRotate(VideoRotation rotate);
|
H A D | type_converter.cpp | 319 std::optional<GraphicTransformType> TypeConverter::InnerRotateToDisplayRotate(VideoRotation rotate) in InnerRotateToDisplayRotate() 321 static const map<VideoRotation, GraphicTransformType> table = { in InnerRotateToDisplayRotate()
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/common/include/ |
H A D | codec_utils.h | 65 GraphicTransformType TranslateSurfaceRotation(const VideoRotation &rotation);
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avmuxer_test/inner/ |
H A D | avmuxer_inner_mock.cpp | 93 param->Set<Tag::VIDEO_ROTATION>(static_cast<Plugins::VideoRotation>(rotation)); in SetRotation()
|
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/avmuxer/ |
H A D | avmuxer_demo.cpp | 120 param->Set<Tag::VIDEO_ROTATION>(Plugins::VideoRotation::VIDEO_ROTATION_0); in SetParameter()
|
H A D | avmuxer_engine_demo.cpp | 121 param->Set<Tag::VIDEO_ROTATION>(Plugins::VideoRotation::VIDEO_ROTATION_0); in SetParameter()
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/media_manager/ |
H A D | muxer.cpp | 103 param->Set<Tag::VIDEO_ROTATION>(static_cast<Plugins::VideoRotation>(rotation)); in AddMediaInfo()
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/ |
H A D | audio_video_muxer.cpp | 60 param->Set<Tag::VIDEO_ROTATION>(static_cast<Plugins::VideoRotation>(rotation)); in SetRotation()
|
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/meta/ |
H A D | video_types.h | 159 enum VideoRotation : int32_t { enum
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/muxer/ |
H A D | ffmpeg_muxer_plugin.h | 100 VideoRotation rotation_ { VIDEO_ROTATION_0 };
|
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/transcoder/ |
H A D | hitranscoder_impl.cpp | 258 } else if (Any::IsSameTypeWith<Plugins::VideoRotation>(type)) { in ProcessMetaKey() 259 Plugins::VideoRotation rotation; in ProcessMetaKey() 320 Plugins::VideoRotation rotation = Plugins::VideoRotation::VIDEO_ROTATION_0; in ConfigureInputVideoMetaData()
|
/ohos5.0/foundation/multimedia/media_foundation/src/meta/ |
H A D | meta.cpp | 83 DEFINE_METADATA_SETTER_GETTER_FUNC(VideoRotation, int32_t) 108 DEFINE_METADATA_SETTER_GETTER(Tag::VIDEO_ROTATION, VideoRotation), 229 static Any defaultVideoRotation = VideoRotation::VIDEO_ROTATION_0;
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/muxer/Common/src/ |
H A D | AVMuxerDemo.cpp | 177 param->Set<Tag::VIDEO_ROTATION>(static_cast<Plugins::VideoRotation>(rotation)); in InnerSetRotation()
|