[FFmpeg-devel] [PATCH] avcodec/cfhd: add back alpha processing removed in 9cefb9e7ec

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Jun 28 21:34:56 EEST 2019


Am Fr., 28. Juni 2019 um 20:29 Uhr schrieb Paul B Mahol <onemda at gmail.com>:
>
> On 6/28/19, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> > Am Fr., 28. Juni 2019 um 19:48 Uhr schrieb Paul B Mahol <onemda at gmail.com>:
> >>
> >> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> >> ---
> >>  libavcodec/cfhd.c | 2 ++
> >>  1 file changed, 2 insertions(+)
> >>
> >> diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
> >> index 846d334b9b..49a5a2c30a 100644
> >> --- a/libavcodec/cfhd.c
> >> +++ b/libavcodec/cfhd.c
> >> @@ -884,6 +884,8 @@ static int cfhd_decode(AVCodecContext *avctx, void
> >> *data, int *got_frame,
> >>              high = s->plane[plane].l_h[7];
> >>              for (i = 0; i < lowpass_height * 2; i++) {
> >>                  horiz_filter_clip(dst, low, high, lowpass_width, s->bpc);
> >> +                if (avctx->pix_fmt == AV_PIX_FMT_GBRAP12 && act_plane ==
> >> 3)
> >> +                    process_alpha(dst, lowpass_width * 2);
> >
> > Please mention ticket #6265 in the commit message.
>
> That ticket is closed, instead, #7886 is open.

Yes;-)
(The sample is here in a directory ticket6265...)

Carl Eugen


More information about the ffmpeg-devel mailing list