On 21/03/16 12:35, Diego Biurrun wrote:
> On Mon, Mar 21, 2016 at 12:05:59AM +0000, Mark Thompson wrote:
>> --- /dev/null
>> +++ b/libavcodec/vaapi_encode_mjpeg.c
>> @@ -0,0 +1,419 @@
>> +
>> +static void vaapi_encode_mjpeg_init_tables(AVCodecContext *avctx)
>
> av_cold
>
>> +static av_cold int vaapi_encode_mjpeg_init_internal(AVCodecContext *avctx)
>> +{
>> +
>> + ctx->va_profile = VAProfileJPEGBaseline;
>> + ctx->va_entrypoint = VAEntrypointEncPicture;
>> +
>> + ctx->config_attributes = vaapi_encode_mjpeg_config_attributes;
>> + ctx->nb_config_attributes =
>> + FF_ARRAY_ELEMS(vaapi_encode_mjpeg_config_attributes);
>
> align
Sure.
The Makefile for MJPEG is missing the dependency on jpegtables.c (noticed from
the discussion over the h26x bits), I'll add that.
Thanks,
- Mark
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel