]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/v210enc.h
qsvdec: do not sync PIX_FMT_QSV surfaces
[ffmpeg] / libavcodec / v210enc.h
index 908506db6e075a006488de181dbdccf294d5861d..ee3637a5847ff6ee87ab34def010cd5505a5f2df 100644 (file)
@@ -16,8 +16,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef AVCOENC_V210ENC_H
-#define AVCOENC_V210ENC_H
+#ifndef AVCODEC_V210ENC_H
+#define AVCODEC_V210ENC_H
 
 #include "libavutil/log.h"
 #include "libavutil/opt.h"
@@ -28,8 +28,12 @@ typedef struct V210EncContext {
                         const uint8_t *v, uint8_t *dst, ptrdiff_t width);
     void (*pack_line_10)(const uint16_t *y, const uint16_t *u,
                          const uint16_t *v, uint8_t *dst, ptrdiff_t width);
+    int sample_factor_8;
+    int sample_factor_10;
 } V210EncContext;
 
+void ff_v210enc_init(V210EncContext *s);
+
 void ff_v210enc_init_x86(V210EncContext *s);
 
-#endif /* AVCOENC_V210ENC_H */
+#endif /* AVCODEC_V210ENC_H */