/foundation/multimedia/media_foundation/src/common/ |
H A D | surface_allocator.cpp | 127 void SurfaceAllocator::SetScaleType(VideoScaleType videoScaleType) in SetScaleType() argument 129 scalingMode_ = GetScaleType(videoScaleType); in SetScaleType()
|
H A D | surface_allocator.h | 41 void SetScaleType(VideoScaleType videoScaleType);
|
/foundation/multimedia/media_foundation/engine/plugin/common/ |
H A D | surface_allocator.cpp | 123 void SurfaceAllocator::SetScaleType(VideoScaleType videoScaleType) in SetScaleType() argument 125 scalingMode_ = GetScaleType(videoScaleType); in SetScaleType()
|
/foundation/multimedia/media_foundation/engine/include/plugin/common/ |
H A D | surface_allocator.h | 41 void SetScaleType(VideoScaleType videoScaleType);
|
/foundation/multimedia/player_framework/services/services/engine_intf/ |
H A D | i_player_engine.h | 126 virtual int32_t SetVideoScaleType(Plugins::VideoScaleType videoScaleType) in SetVideoScaleType() argument 128 (void)videoScaleType; in SetVideoScaleType()
|
/foundation/multimedia/media_foundation/engine/scene/player/standard/ |
H A D | hiplayer_impl.cpp | 788 int32_t videoScaleType = 0; in SetParameter() local 789 params.GetIntValue(PlayerKeys::VIDEO_SCALE_TYPE, videoScaleType); in SetParameter() 790 return SetVideoScaleType(VideoScaleType(videoScaleType)); in SetParameter() 1059 int32_t HiPlayerImpl::SetVideoScaleType(VideoScaleType videoScaleType) in SetVideoScaleType() argument 1064 static_cast<Plugin::VideoScaleType>(static_cast<uint32_t>(videoScaleType))); in SetVideoScaleType()
|
H A D | hiplayer_impl.h | 81 int32_t SetVideoScaleType(VideoScaleType videoScaleType) override;
|
/foundation/multimedia/player_framework/frameworks/js/player/ |
H A D | video_player_napi.cpp | 114 DECLARE_NAPI_GETTER_SETTER("videoScaleType", GetVideoScaleType, SetVideoScaleType), in Init() 1145 int32_t videoScaleType = 0; in SetVideoScaleType() local 1146 status = napi_get_value_int32(env, args[0], &videoScaleType); in SetVideoScaleType() 1148 if (videoScaleType > static_cast<int32_t>(Plugins::VideoScaleType::VIDEO_SCALE_TYPE_FIT_CROP) in SetVideoScaleType() 1149 || videoScaleType < static_cast<int32_t>(Plugins::VideoScaleType::VIDEO_SCALE_TYPE_FIT)) { in SetVideoScaleType() 1157 jsPlayer->videoScaleType_ = videoScaleType; in SetVideoScaleType() 1159 (void)format.PutIntValue(PlayerKeys::VIDEO_SCALE_TYPE, videoScaleType); in SetVideoScaleType()
|
/foundation/multimedia/player_framework/test/unittest/player_server_mem_test/ |
H A D | player_server_mem_unit_test.cpp | 727 * @tc.desc : Test SetSaveParameter interface, set videoScaleType to valid value. 733 playerServerMem_->recoverConfig_.videoScaleType = 1; in HWTEST_F() 747 * @tc.desc : Test SetSaveParameter interface, set videoScaleType to invalid value. 753 playerServerMem_->recoverConfig_.videoScaleType = -1; in HWTEST_F()
|
/foundation/multimedia/player_framework/services/services/player/player_mem_manage/ |
H A D | player_server_mem.h | 121 int32_t videoScaleType = -1;
member
|
H A D | player_server_mem.cpp | 529 param.GetIntValue(PlayerKeys::VIDEO_SCALE_TYPE, recoverConfig_.videoScaleType);
in SaveParameter() 545 if (recoverConfig_.videoScaleType != -1) {
in SetSaveParameter() 546 ret = playerEngine_->SetVideoScaleType(Plugins::VideoScaleType(recoverConfig_.videoScaleType));
in SetSaveParameter()
|
/foundation/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_napi.cpp | 110 DECLARE_NAPI_GETTER_SETTER("videoScaleType", JsGetVideoScaleType, JsSetVideoScaleType), in Init() 1897 MediaTrace trace("AVPlayerNapi::set videoScaleType"); in JsSetVideoScaleType() 1919 int32_t videoScaleType = 0; in JsSetVideoScaleType() local 1920 napi_status status = napi_get_value_int32(env, args[0], &videoScaleType); in JsSetVideoScaleType() 1921 if (status != napi_ok || videoScaleType < static_cast<int32_t>(Plugins::VideoScaleType::VIDEO_SCALE_TYPE_FIT) in JsSetVideoScaleType() 1922 || videoScaleType > static_cast<int32_t>(Plugins::VideoScaleType::VIDEO_SCALE_TYPE_FIT_CROP)) { in JsSetVideoScaleType() 1926 jsPlayer->videoScaleType_ = videoScaleType; in JsSetVideoScaleType() 1928 auto task = std::make_shared<TaskHandler<void>>([jsPlayer, videoScaleType]() { in JsSetVideoScaleType() 1932 (void)format.PutIntValue(PlayerKeys::VIDEO_SCALE_TYPE, videoScaleType); in JsSetVideoScaleType() 1943 MediaTrace trace("AVPlayerNapi::get videoScaleType"); in JsGetVideoScaleType() [all...] |
/foundation/multimedia/player_framework/services/engine/histreamer/player/ |
H A D | hiplayer_impl.cpp | 1317 int32_t videoScaleType = 0; in SetParameter() local 1318 params.GetIntValue(PlayerKeys::VIDEO_SCALE_TYPE, videoScaleType); in SetParameter() 1319 return SetVideoScaleType(VideoScaleType(videoScaleType)); in SetParameter() 1909 int32_t HiPlayerImpl::SetVideoScaleType(OHOS::Media::VideoScaleType videoScaleType) in SetVideoScaleType() argument 1911 MEDIA_LOG_D_SHORT("SetVideoScaleType " PUBLIC_LOG_D32, videoScaleType); in SetVideoScaleType() 1914 meta->Set<Tag::VIDEO_SCALE_TYPE>(static_cast<int32_t>(videoScaleType)); in SetVideoScaleType()
|
H A D | hiplayer_impl.h | 140 int32_t SetVideoScaleType(VideoScaleType videoScaleType) override;
|