Fate tests ran for this+vlc patch on top of master's 39680ca (ie
including the previous series of patches):

fate-lavf-dv_fmt fate-vsynth2-dv fate-vsynth2-dv-411
fate-vsynth2-dv-50 fate-vsynth1-dv fate-vsy nth1-dv-411
fate-vsynth1-dv-50 fate-seek-lavf-dv_fmt fate-seek-vsynth2-dv
fate-seek-vsynth2-dv-50 fate- seek-vsynth2-dv-411

The encoder already supported "slice" (actually segment) threading.

-- 
Christophe
From b1f2ee04b003216a496c124f895da246ef4f69e9 Mon Sep 17 00:00:00 2001
From: Christophe Gisquet <christophe.gisq...@gmail.com>
Date: Wed, 15 Oct 2014 18:37:34 +0200
Subject: [PATCH 2/2] dvenc: mark encoder as intra

And thus allow various multithreading.
---
 libavcodec/dvenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dvenc.c b/libavcodec/dvenc.c
index a3868c4..5d810e3 100644
--- a/libavcodec/dvenc.c
+++ b/libavcodec/dvenc.c
@@ -758,7 +758,7 @@ AVCodec ff_dvvideo_encoder = {
     .init           = dvvideo_encode_init,
     .encode2        = dvvideo_encode_frame,
     .close          = dvvideo_encode_close,
-    .capabilities   = CODEC_CAP_SLICE_THREADS,
+    .capabilities   = CODEC_CAP_SLICE_THREADS | CODEC_CAP_FRAME_THREADS | CODEC_CAP_INTRA_ONLY,
     .pix_fmts       = (const enum AVPixelFormat[]) {
         AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV422P,
         AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE
-- 
1.9.2.msysgit.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to