API changes, most recent first:
-2015-xx-xx - xxxxxxx - lavc 57.0.0 - qsv.h
++2015-10-22 - xxxxxxx - lavc 57.8.100 / lavc 57.0.0 - qsv.h
+ Add an API for allocating opaque surfaces.
+
-2015-xx-xx - xxxxxxx - lavu 55.2.0 - dict.h
+2015-10-15 - xxxxxxx - lavf 57.4.100
+ Remove the latm demuxer that was a duplicate of the loas demuxer.
+
+2015-10-14 - xxxxxxx - lavu 55.4.100 / lavu 55.2.0 - dict.h
Change return type of av_dict_copy() from void to int, so that a proper
error code can be reported.
q->extco.CAVLC = avctx->coder_type == FF_CODER_TYPE_VLC ?
MFX_CODINGOPTION_ON : MFX_CODINGOPTION_UNKNOWN;
- q->extparam_internal[0] = (mfxExtBuffer *)&q->extco;
+ q->extco.PicTimingSEI = q->pic_timing_sei ?
+ MFX_CODINGOPTION_ON : MFX_CODINGOPTION_UNKNOWN;
+
- q->extparam_internal[1] = (mfxExtBuffer *)&q->extco2;
+ q->extparam_internal[q->nb_extparam_internal++] = (mfxExtBuffer *)&q->extco;
+
+#if QSV_VERSION_ATLEAST(1,6)
+ q->extco2.Header.BufferId = MFX_EXTBUFF_CODING_OPTION2;
+ q->extco2.Header.BufferSz = sizeof(q->extco2);
+
+#if QSV_VERSION_ATLEAST(1,7)
+ // valid value range is from 10 to 100 inclusive
+ // to instruct the encoder to use the default value this should be set to zero
+ q->extco2.LookAheadDepth = q->look_ahead_depth != 0 ? FFMAX(10, q->look_ahead_depth) : 0;
+#endif
+#if QSV_VERSION_ATLEAST(1,8)
+ q->extco2.LookAheadDS = q->look_ahead_downsampling;
+#endif
+
++ q->extparam_internal[q->nb_extparam_internal++] = (mfxExtBuffer *)&q->extco2;
+
+#endif
}
return 0;
mfxFrameAllocRequest req;
mfxExtCodingOption extco;
- mfxExtBuffer *extparam_internal[2];
- #else
- mfxExtBuffer *extparam_internal[1];
+#if QSV_VERSION_ATLEAST(1,6)
+ mfxExtCodingOption2 extco2;
- mfxExtBuffer *extparam_internal[2];
+#endif
+
+ mfxExtOpaqueSurfaceAlloc opaque_alloc;
+ mfxFrameSurface1 **opaque_surfaces;
+ AVBufferRef *opaque_alloc_buf;
+
++ mfxExtBuffer *extparam_internal[3];
+ int nb_extparam_internal;
+
mfxExtBuffer **extparam;
AVFifoBuffer *async_fifo;