X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fv210enc.h;h=899a7d95c33c723737401d81e02ce534cf2767c3;hb=053900ca4c72fd4bcaec7e6c7e842fcade3c9f3f;hp=a2054270d3d24dc5c52da36c72f52995d871d09d;hpb=af1238f863fda4a1a6fc00525b651a3d9b31eccd;p=ffmpeg diff --git a/libavcodec/v210enc.h b/libavcodec/v210enc.h index a2054270d3d..899a7d95c33 100644 --- a/libavcodec/v210enc.h +++ b/libavcodec/v210enc.h @@ -28,6 +28,8 @@ 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; /* This value must be the same for both 8-and 10-bit + functions otherwise the output will be incorrect. */ } V210EncContext; void ff_v210enc_init(V210EncContext *s);