]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vc1dsp.h
lavc: deprecate unused AVCodecContext.stream_codec_tag
[ffmpeg] / libavcodec / vc1dsp.h
index 7de6a3da464508eab87e608a2e0f4f26022bdbbb..682f682144e1d6c5a3be4e0739090185c9528de5 100644 (file)
@@ -71,6 +71,14 @@ typedef struct VC1DSPContext {
     void (*sprite_v_double_twoscale)(uint8_t *dst, const uint8_t *src1a, const uint8_t *src1b, int offset1,
                                                    const uint8_t *src2a, const uint8_t *src2b, int offset2,
                                      int alpha, int width);
+
+    /**
+     * Search buf from the start for up to size bytes. Return the index
+     * of a zero byte, or >= size if not found. Ideally, use lookahead
+     * to filter out any zero bytes that are known to not be followed by
+     * one or more further zero bytes and a one byte.
+     */
+    int (*startcode_find_candidate)(const uint8_t *buf, int size);
 } VC1DSPContext;
 
 void ff_vc1dsp_init(VC1DSPContext* c);