summaryrefslogtreecommitdiff
path: root/libavcodec/v210enc.h
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-02-16 17:23:32 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-02-16 17:23:32 +0000
commit04e4166536d3fb51ee9b9361de2a414fa876ab6e (patch)
tree6c46410d8346b3590e086abf4d2a0986aa37c923 /libavcodec/v210enc.h
parent6bff2b5f6a3dca43bf553866b0f110c47d4ec72d (diff)
parente280fe13291e9c712a5f4aa13b5263f3e8afed45 (diff)
Merge commit 'e280fe13291e9c712a5f4aa13b5263f3e8afed45'
* commit 'e280fe13291e9c712a5f4aa13b5263f3e8afed45': v210: Use separate sample_factors Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/v210enc.h')
-rw-r--r--libavcodec/v210enc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/v210enc.h b/libavcodec/v210enc.h
index 899a7d95c3..51305c1a20 100644
--- a/libavcodec/v210enc.h
+++ b/libavcodec/v210enc.h
@@ -28,8 +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. */
+ int sample_factor_8;
+ int sample_factor_10;
} V210EncContext;
void ff_v210enc_init(V210EncContext *s);