Files
video-orchestra/godot-project/scripts/Platform/iOS/iOSVP9Decoder.cs

54 lines
1.3 KiB
C#
Raw Normal View History

2025-09-13 03:22:54 +09:00
using Godot;
using System;
namespace VideoOrchestra.Platform
{
/// <summary>
/// iOS VP9 decoder implementation using VideoToolbox
/// Future implementation for iOS platform
/// </summary>
public class iOSVP9Decoder : IVP9PlatformDecoder
{
public string PlatformName => "iOS";
public bool IsHardwareDecodingSupported => false; // TODO: Implement VideoToolbox support
public bool Initialize(int width, int height, bool enableHardware = true)
{
GD.PrintErr("iOS VP9 decoder not yet implemented. VideoToolbox integration coming in future release.");
return false;
}
2025-09-15 00:17:01 +09:00
public void UpdateTextures() { }
2025-09-13 03:22:54 +09:00
public bool DecodeFrame(byte[] frameData, int streamId)
{
return false;
}
public ImageTexture GetDecodedTexture(int streamId)
{
return null;
}
public uint GetNativeTextureId(int streamId)
{
return 0;
}
public VP9DecoderStatus GetStatus()
{
return VP9DecoderStatus.Uninitialized;
}
public void Release()
{
// No-op for unimplemented platform
}
public void Dispose()
{
Release();
}
}
}