Class BaseTransform.BaseTransformClass

All Implemented Interfaces:
Proxy
Direct Known Subclasses:
AudioFilter.AudioFilterClass, VideoFilter.VideoFilterClass
Enclosing class:
BaseTransform

public static class BaseTransform.BaseTransformClass extends Element.ElementClass
Subclasses can override any of the available virtual methods or not, as needed. At minimum either transform or transformIp need to be overridden. If the element can overwrite the input data with the results (data is of the same type and quantity) it should provide transformIp.
  • Constructor Details

    • BaseTransformClass

      public BaseTransformClass(MemorySegment address)
      Create a BaseTransformClass proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • readPassthroughOnSameCaps

      public boolean readPassthroughOnSameCaps()
      Read the value of the field passthrough_on_same_caps.
      Returns:
      The value of the field passthrough_on_same_caps
    • writePassthroughOnSameCaps

      public void writePassthroughOnSameCaps(boolean passthroughOnSameCaps)
      Write a value in the field passthrough_on_same_caps.
      Parameters:
      passthroughOnSameCaps - The new value for the field passthrough_on_same_caps
    • readTransformIpOnPassthrough

      public boolean readTransformIpOnPassthrough()
      Read the value of the field transform_ip_on_passthrough.
      Returns:
      The value of the field transform_ip_on_passthrough
    • writeTransformIpOnPassthrough

      public void writeTransformIpOnPassthrough(boolean transformIpOnPassthrough)
      Write a value in the field transform_ip_on_passthrough.
      Parameters:
      transformIpOnPassthrough - The new value for the field transform_ip_on_passthrough
    • overrideTransformCaps

      public void overrideTransformCaps(Arena arena, @Nullable Method method)
      Override virtual method transform_caps.
      Parameters:
      method - the method to invoke
    • overrideFixateCaps

      public void overrideFixateCaps(Arena arena, @Nullable Method method)
      Override virtual method fixate_caps.
      Parameters:
      method - the method to invoke
    • overrideAcceptCaps

      public void overrideAcceptCaps(Arena arena, @Nullable Method method)
      Override virtual method accept_caps.
      Parameters:
      method - the method to invoke
    • overrideSetCaps

      public void overrideSetCaps(Arena arena, @Nullable Method method)
      Override virtual method set_caps.
      Parameters:
      method - the method to invoke
    • overrideQuery

      public void overrideQuery(Arena arena, @Nullable Method method)
      Override virtual method query.
      Overrides:
      overrideQuery in class Element.ElementClass
      Parameters:
      method - the method to invoke
    • overrideDecideAllocation

      public void overrideDecideAllocation(Arena arena, @Nullable Method method)
      Override virtual method decide_allocation.
      Parameters:
      method - the method to invoke
    • overrideFilterMeta

      public void overrideFilterMeta(Arena arena, @Nullable Method method)
      Override virtual method filter_meta.
      Parameters:
      method - the method to invoke
    • overrideProposeAllocation

      public void overrideProposeAllocation(Arena arena, @Nullable Method method)
      Override virtual method propose_allocation.
      Parameters:
      method - the method to invoke
    • overrideTransformSize

      public void overrideTransformSize(Arena arena, @Nullable Method method)
      Override virtual method transform_size.
      Parameters:
      method - the method to invoke
    • overrideGetUnitSize

      public void overrideGetUnitSize(Arena arena, @Nullable Method method)
      Override virtual method get_unit_size.
      Parameters:
      method - the method to invoke
    • overrideStart

      public void overrideStart(Arena arena, @Nullable Method method)
      Override virtual method start.
      Parameters:
      method - the method to invoke
    • overrideStop

      public void overrideStop(Arena arena, @Nullable Method method)
      Override virtual method stop.
      Parameters:
      method - the method to invoke
    • overrideSinkEvent

      public void overrideSinkEvent(Arena arena, @Nullable Method method)
      Override virtual method sink_event.
      Parameters:
      method - the method to invoke
    • overrideSrcEvent

      public void overrideSrcEvent(Arena arena, @Nullable Method method)
      Override virtual method src_event.
      Parameters:
      method - the method to invoke
    • overridePrepareOutputBuffer

      public void overridePrepareOutputBuffer(Arena arena, @Nullable Method method)
      Override virtual method prepare_output_buffer.
      Parameters:
      method - the method to invoke
    • overrideCopyMetadata

      public void overrideCopyMetadata(Arena arena, @Nullable Method method)
      Override virtual method copy_metadata.
      Parameters:
      method - the method to invoke
    • overrideTransformMeta

      public void overrideTransformMeta(Arena arena, @Nullable Method method)
      Override virtual method transform_meta.
      Parameters:
      method - the method to invoke
    • overrideBeforeTransform

      public void overrideBeforeTransform(Arena arena, @Nullable Method method)
      Override virtual method before_transform.
      Parameters:
      method - the method to invoke
    • overrideTransform

      public void overrideTransform(Arena arena, @Nullable Method method)
      Override virtual method transform.
      Parameters:
      method - the method to invoke
    • overrideTransformIp

      public void overrideTransformIp(Arena arena, @Nullable Method method)
      Override virtual method transform_ip.
      Parameters:
      method - the method to invoke
    • overrideSubmitInputBuffer

      public void overrideSubmitInputBuffer(Arena arena, @Nullable Method method)
      Override virtual method submit_input_buffer.
      Parameters:
      method - the method to invoke
    • overrideGenerateOutput

      public void overrideGenerateOutput(Arena arena, @Nullable Method method)
      Override virtual method generate_output.
      Parameters:
      method - the method to invoke