~hedgepigdaniel/dewobble

6ebaafc18d54a1ab99953b53904cdffa54b7022a — Daniel Playfair Cal 2 years ago 95ce7b6
fix: make functions virtual to allow override
1 files changed, 4 insertions(+), 4 deletions(-)

M include/filter_base.hpp
M include/filter_base.hpp => include/filter_base.hpp +4 -4
@@ 33,7 33,7 @@ class FilterBase
     * freed using @ref release_output_frame_buffer.
     * @return the buffer
     */
    cl_mem get_output_frame_buffer();
    virtual cl_mem get_output_frame_buffer();

  public:
    FilterBase(FilterConfig config);


@@ 43,7 43,7 @@ class FilterBase
     * freed using @ref release_input_frame_buffer
     * @return the buffer
     */
    cl_mem get_input_frame_buffer();
    virtual cl_mem get_input_frame_buffer();

    /**
     * Release an OpenCL buffer that is usable with @ref input_frame. As a


@@ 51,7 51,7 @@ class FilterBase
     * get_input_frame_buffer
     * @param input_buffer a pointer to the buffer, which will be set to NULL
     */
    void release_input_frame_buffer(cl_mem *input_buffer);
    virtual void release_input_frame_buffer(cl_mem *input_buffer);

    /**
     * Push an input frame into the filter


@@ 84,7 84,7 @@ class FilterBase
     * @param output_buffer pointer to the buffer to release. Will be set
     * to NULL.
     */
    void release_output_frame_buffer(cl_mem *output_buffer);
    virtual void release_output_frame_buffer(cl_mem *output_buffer);

    /**
     * Pull an output frame from the filter