Other Tools

// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/CodecProxyWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
const char CodecProxy::name[] =
"org/mozilla/gecko/media/CodecProxy";
constexpr char CodecProxy::Create_t::name[];
constexpr char CodecProxy::Create_t::signature[];
auto CodecProxy::Create(bool a0, mozilla::jni::Object::Param a1, mozilla::jni::Object::Param a2, mozilla::jni::Object::Param a3, mozilla::jni::String::Param a4) -> CodecProxy::LocalRef
{
return mozilla::jni::Method<Create_t>::Call(CodecProxy::Context(), nullptr, a0, a1, a2, a3, a4);
}
constexpr char CodecProxy::Flush_t::name[];
constexpr char CodecProxy::Flush_t::signature[];
auto CodecProxy::Flush() const -> bool
{
return mozilla::jni::Method<Flush_t>::Call(CodecProxy::mCtx, nullptr);
}
constexpr char CodecProxy::Input_t::name[];
constexpr char CodecProxy::Input_t::signature[];
auto CodecProxy::Input(mozilla::jni::ByteBuffer::Param a0, mozilla::jni::Object::Param a1, mozilla::jni::Object::Param a2) const -> int64_t
{
return mozilla::jni::Method<Input_t>::Call(CodecProxy::mCtx, nullptr, a0, a1, a2);
}
constexpr char CodecProxy::IsAdaptivePlaybackSupported_t::name[];
constexpr char CodecProxy::IsAdaptivePlaybackSupported_t::signature[];
auto CodecProxy::IsAdaptivePlaybackSupported() const -> bool
{
return mozilla::jni::Method<IsAdaptivePlaybackSupported_t>::Call(CodecProxy::mCtx, nullptr);
}
constexpr char CodecProxy::IsHardwareAccelerated_t::name[];
constexpr char CodecProxy::IsHardwareAccelerated_t::signature[];
auto CodecProxy::IsHardwareAccelerated() const -> bool
{
return mozilla::jni::Method<IsHardwareAccelerated_t>::Call(CodecProxy::mCtx, nullptr);
}
constexpr char CodecProxy::IsTunneledPlaybackSupported_t::name[];
constexpr char CodecProxy::IsTunneledPlaybackSupported_t::signature[];
auto CodecProxy::IsTunneledPlaybackSupported() const -> bool
{
return mozilla::jni::Method<IsTunneledPlaybackSupported_t>::Call(CodecProxy::mCtx, nullptr);
}
constexpr char CodecProxy::Release_t::name[];
constexpr char CodecProxy::Release_t::signature[];
auto CodecProxy::Release() const -> bool
{
return mozilla::jni::Method<Release_t>::Call(CodecProxy::mCtx, nullptr);
}
constexpr char CodecProxy::ReleaseOutput_t::name[];
constexpr char CodecProxy::ReleaseOutput_t::signature[];
auto CodecProxy::ReleaseOutput(mozilla::jni::Object::Param a0, bool a1) const -> bool
{
return mozilla::jni::Method<ReleaseOutput_t>::Call(CodecProxy::mCtx, nullptr, a0, a1);
}
constexpr char CodecProxy::SetBitrate_t::name[];
constexpr char CodecProxy::SetBitrate_t::signature[];
auto CodecProxy::SetBitrate(int32_t a0) const -> bool
{
return mozilla::jni::Method<SetBitrate_t>::Call(CodecProxy::mCtx, nullptr, a0);
}
constexpr char CodecProxy::SetCryptoPatternIfNeeded_t::name[];
constexpr char CodecProxy::SetCryptoPatternIfNeeded_t::signature[];
auto CodecProxy::SetCryptoPatternIfNeeded(mozilla::jni::Object::Param a0, int32_t a1, int32_t a2) -> bool
{
return mozilla::jni::Method<SetCryptoPatternIfNeeded_t>::Call(CodecProxy::Context(), nullptr, a0, a1, a2);
}
constexpr char CodecProxy::SupportsCBCS_t::name[];
constexpr char CodecProxy::SupportsCBCS_t::signature[];
auto CodecProxy::SupportsCBCS() -> bool
{
return mozilla::jni::Method<SupportsCBCS_t>::Call(CodecProxy::Context(), nullptr);
}
const char CodecProxy::NativeCallbacks::name[] =
"org/mozilla/gecko/media/CodecProxy$NativeCallbacks";
constexpr char CodecProxy::NativeCallbacks::New_t::name[];
constexpr char CodecProxy::NativeCallbacks::New_t::signature[];
auto CodecProxy::NativeCallbacks::New() -> NativeCallbacks::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(NativeCallbacks::Context(), nullptr);
}
constexpr char CodecProxy::NativeCallbacks::DisposeNative_t::name[];
constexpr char CodecProxy::NativeCallbacks::DisposeNative_t::signature[];
auto CodecProxy::NativeCallbacks::DisposeNative() const -> void
{
return mozilla::jni::Method<DisposeNative_t>::Call(NativeCallbacks::mCtx, nullptr);
}
constexpr char CodecProxy::NativeCallbacks::OnError_t::name[];
constexpr char CodecProxy::NativeCallbacks::OnError_t::signature[];
constexpr char CodecProxy::NativeCallbacks::OnInputStatus_t::name[];
constexpr char CodecProxy::NativeCallbacks::OnInputStatus_t::signature[];
constexpr char CodecProxy::NativeCallbacks::OnOutput_t::name[];
constexpr char CodecProxy::NativeCallbacks::OnOutput_t::signature[];
constexpr char CodecProxy::NativeCallbacks::OnOutputFormatChanged_t::name[];
constexpr char CodecProxy::NativeCallbacks::OnOutputFormatChanged_t::signature[];
} /* java */
} /* mozilla */