Hey Martin > + ctx->tex_fun = ctx->dxtc.rgtc1u_block; > + avctx->pix_fmt = AV_PIX_FMT_RGB0;
The rgtc1u_block function places the single channel value in every channel except the alpha channel The pixel format you have chosen is one which disregards the alpha channel The output of this alpha-only decoder should be in the alpha channel of a pixel format which carries alpha. Probably other channels should have zero values. > On 23 Sep 2017, at 20:52, Martin Vignali <[email protected]> wrote: > > Sorry, i made a mistake in the previous patchs > > Correct patchs in attach > > Martin > <0001-libavformat-add-mov-dataformat-tag-for-HapAlphaOnly-.patch><0002-libavcodec-hapdec-add-support-HapAlphaOnly.patch>_______________________________________________ > ffmpeg-devel mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
