[FFmpeg-devel] avcodec/hapqa_extract_bsf : add bsf filter for haqqa (to hapq or hapalpha only) conversion

Martin Vignali martin.vignali at gmail.com
Tue Feb 20 00:09:55 EET 2018


Hi Tom,


> > if (ctx->texture == 1) {
> > ...
>
> The ordering of sections in a Hap frame is not specified, so you can’t
> assume the first is the colour and the second alpha - you will have to
> query the section types for both sections and choose the appropriate one.
>

Ok


>
> > bytestream2_seek(&gbc, start_section_size, SEEK_SET);//On va au debut de
> la texture 1
>
> Comments in English are more helpful for those like me with terrible
> French.
>

Sorry forget to translate this one (and the previous one) !


> >  { "texture", "texture to keep", OFFSET(texture), AV_OPT_TYPE_INT, {.i64
> = 0 }, 0, 1, },
>
> Could there be named options to follow this (eg, “color”, “alpha”)?
>

Yes, probably more user friendly.

I will send a new patch.

Martin


More information about the ffmpeg-devel mailing list