Home
last modified time | relevance | path

Searched refs:VideoRotation (Results 1 – 25 of 36) sorted by relevance

12

/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/ability/
H A Dcamera_ability_const.cpp171 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 Dcamera_ability_const.h117 enum class VideoRotation { enum
142 extern const std::vector<VideoRotation> g_fwkVideoRotationVector_;
/ohos5.0/foundation/multimedia/av_codec/services/engine/common/
H A Dcodec_utils.cpp218 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 Dcommand_parser.h66 std::optional<VideoRotation> rotate;
133 VideoRotation rotation = VIDEO_ROTATION_0;
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/
H A Dav_thumbnail_generator.h61 Plugins::VideoRotation rotation_ = Plugins::VideoRotation::VIDEO_ROTATION_0;
H A Davmetadata_collector.cpp360 } 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 Dfcodec.cpp185 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 Dhevc_decoder.cpp259 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 Dav_common.h60 enum VideoRotation : uint32_t { enum
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/recorder/
H A Dhirecorder_impl.cpp799 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 Dav_common.h114 enum VideoRotation : uint32_t { enum
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/format/
H A Davformat_unit_test.cpp511 …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 Dtype_converter.h53 static std::optional<GraphicTransformType> InnerRotateToDisplayRotate(VideoRotation rotate);
H A Dtype_converter.cpp319 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 Dcodec_utils.h65 GraphicTransformType TranslateSurfaceRotation(const VideoRotation &rotation);
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avmuxer_test/inner/
H A Davmuxer_inner_mock.cpp93 param->Set<Tag::VIDEO_ROTATION>(static_cast<Plugins::VideoRotation>(rotation)); in SetRotation()
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/avmuxer/
H A Davmuxer_demo.cpp120 param->Set<Tag::VIDEO_ROTATION>(Plugins::VideoRotation::VIDEO_ROTATION_0); in SetParameter()
H A Davmuxer_engine_demo.cpp121 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 Dmuxer.cpp103 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 Daudio_video_muxer.cpp60 param->Set<Tag::VIDEO_ROTATION>(static_cast<Plugins::VideoRotation>(rotation)); in SetRotation()
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/meta/
H A Dvideo_types.h159 enum VideoRotation : int32_t { enum
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/muxer/
H A Dffmpeg_muxer_plugin.h100 VideoRotation rotation_ { VIDEO_ROTATION_0 };
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/transcoder/
H A Dhitranscoder_impl.cpp258 } 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 Dmeta.cpp83 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 DAVMuxerDemo.cpp177 param->Set<Tag::VIDEO_ROTATION>(static_cast<Plugins::VideoRotation>(rotation)); in InnerSetRotation()

12