浏览代码

LibVideo: Remove declarations for non-existent methods

Sam Atkins 2 年之前
父节点
当前提交
5cc4b37bf3

+ 0 - 1
Userland/Libraries/LibVideo/Containers/Matroska/Reader.h

@@ -97,7 +97,6 @@ private:
     {
     }
 
-    DecoderErrorOr<void> set_position(size_t position);
     DecoderErrorOr<void> seek_to_cue_point(CuePoint const& cue_point);
 
     RefPtr<Core::MappedFile> m_file;

+ 0 - 4
Userland/Libraries/LibVideo/PlaybackManager.h

@@ -102,7 +102,6 @@ public:
     static constexpr SeekMode DEFAULT_SEEK_MODE = SeekMode::Accurate;
 
     static DecoderErrorOr<NonnullOwnPtr<PlaybackManager>> from_file(Core::Object& event_handler, StringView file);
-    static DecoderErrorOr<NonnullOwnPtr<PlaybackManager>> from_data(Core::Object& event_handler, Span<u8> data);
 
     PlaybackManager(Core::Object& event_handler, NonnullOwnPtr<Demuxer>& demuxer, Track video_track, NonnullOwnPtr<VideoDecoder>&& decoder);
 
@@ -211,9 +210,6 @@ public:
     }
     virtual ~PlaybackStatusChangeEvent() = default;
 
-    PlaybackStatus status();
-    PlaybackStatus previous_status();
-
 private:
     PlaybackStatus m_status;
     PlaybackStatus m_previous_status;

+ 0 - 3
Userland/Libraries/LibVideo/VP9/Decoder.h

@@ -45,7 +45,6 @@ private:
     DecoderErrorOr<void> create_video_frame(FrameContext const&);
 
     DecoderErrorOr<void> allocate_buffers(FrameContext const&);
-    Vector<Intermediate>& get_temp_buffer(u8 plane);
     Vector<u16>& get_output_buffer(u8 plane);
 
     /* (8.4) Probability Adaptation Process */
@@ -66,8 +65,6 @@ private:
     MotionVector select_motion_vector(u8 plane, BlockContext const&, ReferenceIndex, u32 block_index);
     // (8.5.2.2) Motion vector clamping process
     MotionVector clamp_motion_vector(u8 plane, BlockContext const&, u32 block_row, u32 block_column, MotionVector vector);
-    // (8.5.2.3) Motion vector scaling process
-    DecoderErrorOr<MotionVector> scale_motion_vector(u8 plane, ReferenceIndex, u32 x, u32 y, MotionVector vector);
     // From (8.5.1) Inter prediction process, steps 2-5
     DecoderErrorOr<void> predict_inter_block(u8 plane, BlockContext const&, ReferenceIndex, u32 block_row, u32 block_column, u32 x, u32 y, u32 width, u32 height, u32 block_index, Span<u16> block_buffer);
 

+ 0 - 2
Userland/Libraries/LibVideo/VP9/Parser.h

@@ -45,7 +45,6 @@ private:
      * See also section 5.26. */
     Vector<size_t> parse_superframe_sizes(ReadonlyBytes);
 
-    DecoderErrorOr<FrameType> read_frame_type();
     DecoderErrorOr<ColorRange> read_color_range();
 
     /* (6.1) Frame Syntax */
@@ -56,7 +55,6 @@ private:
     DecoderErrorOr<FrameContext> uncompressed_header();
     DecoderErrorOr<void> frame_sync_code();
     DecoderErrorOr<ColorConfig> parse_color_config(FrameContext const&);
-    DecoderErrorOr<void> set_frame_size_and_compute_image_size();
     DecoderErrorOr<Gfx::Size<u32>> parse_frame_size();
     DecoderErrorOr<Gfx::Size<u32>> parse_frame_size_with_refs(Array<u8, 3> const& reference_indices);
     DecoderErrorOr<Gfx::Size<u32>> parse_render_size(Gfx::Size<u32> frame_size);