summaryrefslogtreecommitdiffstats
path: root/libhb/hbffmpeg.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2016-11-07 11:46:40 +0100
committerDamiano Galassi <[email protected]>2016-11-08 10:06:48 +0100
commitdfd46b588bfe5bbb668376ede16ef7337e510213 (patch)
tree9671917b3708233d9bd9851e14404e851525ef3d /libhb/hbffmpeg.h
parent844c4c85da94733967ba6a795fe881f62768d50b (diff)
Select the appropriate coefficients for yuv<->rgb conversions.
Diffstat (limited to 'libhb/hbffmpeg.h')
-rw-r--r--libhb/hbffmpeg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libhb/hbffmpeg.h b/libhb/hbffmpeg.h
index 5efd4244b..63bee5402 100644
--- a/libhb/hbffmpeg.h
+++ b/libhb/hbffmpeg.h
@@ -29,7 +29,9 @@ const char* const* hb_av_preset_get_names(int encoder);
uint64_t hb_ff_mixdown_xlat(int hb_mixdown, int *downmix_mode);
void hb_ff_set_sample_fmt(AVCodecContext *, AVCodec *, enum AVSampleFormat);
+int hb_ff_get_colorspace(int color_matrix);
+
struct SwsContext*
hb_sws_get_context(int srcW, int srcH, enum AVPixelFormat srcFormat,
int dstW, int dstH, enum AVPixelFormat dstFormat,
- int flags);
+ int flags, int colorspace);