diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-13 23:21:37 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-13 23:21:37 +0100 |
commit | 3ba0bfe71fb18e955ca0110e5a65105d84932fbc (patch) | |
tree | b308d41d170483c23c31c87d8dcb19fc169e2eb6 /libavfilter | |
parent | 36be045ed7942e07742c3cf3d3012b1d2a9ec344 (diff) | |
parent | a99273ebf328658c183c2d267f1c2b8bfac58bb3 (diff) | |
download | ffmpeg-streaming-3ba0bfe71fb18e955ca0110e5a65105d84932fbc.zip ffmpeg-streaming-3ba0bfe71fb18e955ca0110e5a65105d84932fbc.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
ulti: Fix invalid reads
lavf: dealloc private options in av_write_trailer
yadif: support 10bit YUV
vc1: mark with ER_MB_ERROR bits overconsumption
lavc: introduce ER_MB_END and ER_MB_ERROR
error_resilience: use the ER_ namespace
build: move inclusion of subdir.mak to main subdir loop
rv34: NEON optimised 4x4 dequant
rv34: move 4x4 dequant to RV34DSPContext
aacdec: Use intfloat.h rather than local punning union.
Conflicts:
libavcodec/h264.c
libavcodec/vc1dec.c
libavfilter/vf_yadif.c
libavformat/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/Makefile | 2 | ||||
-rw-r--r-- | libavfilter/vf_yadif.c | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/libavfilter/Makefile b/libavfilter/Makefile index 4351d5e..a6fd18f 100644 --- a/libavfilter/Makefile +++ b/libavfilter/Makefile @@ -163,5 +163,3 @@ DIRS = x86 libmpcodecs TESTPROGS = formats TOOLS = graph2dot lavfi-showfiltfmts - -include $(SRC_PATH)/subdir.mak diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index 7c12ce8..b18202d 100644 --- a/libavfilter/vf_yadif.c +++ b/libavfilter/vf_yadif.c @@ -143,7 +143,7 @@ static void filter(AVFilterContext *ctx, AVFilterBufferRef *dstpic, int w = dstpic->video->w; int h = dstpic->video->h; int refs = yadif->cur->linesize[i]; - int df = (yadif->csp->comp[i].depth_minus1+1) / 8; + int df = (yadif->csp->comp[i].depth_minus1 + 8) / 8; if (i == 1 || i == 2) { /* Why is this not part of the per-plane description thing? */ @@ -210,7 +210,7 @@ static void return_frame(AVFilterContext *ctx, int is_second) if (!yadif->csp) yadif->csp = &av_pix_fmt_descriptors[link->format]; - if (yadif->csp->comp[0].depth_minus1 == 15) + if (yadif->csp->comp[0].depth_minus1 / 8 == 1) yadif->filter_line = (void*)filter_line_c_16bit; filter(ctx, yadif->out, tff ^ !is_second, tff); @@ -352,6 +352,9 @@ static int query_formats(AVFilterContext *ctx) AV_NE( PIX_FMT_GRAY16BE, PIX_FMT_GRAY16LE ), PIX_FMT_YUV440P, PIX_FMT_YUVJ440P, + AV_NE( PIX_FMT_YUV420P10BE, PIX_FMT_YUV420P10LE ), + AV_NE( PIX_FMT_YUV422P10BE, PIX_FMT_YUV422P10LE ), + AV_NE( PIX_FMT_YUV444P10BE, PIX_FMT_YUV444P10LE ), AV_NE( PIX_FMT_YUV420P16BE, PIX_FMT_YUV420P16LE ), AV_NE( PIX_FMT_YUV422P16BE, PIX_FMT_YUV422P16LE ), AV_NE( PIX_FMT_YUV444P16BE, PIX_FMT_YUV444P16LE ), |