On Sun, Mar 23, 2014 at 6:26 PM, Justin Ruggles
<[email protected]> wrote:
> On 03/22/2014 10:54 PM, Vittorio Giovara wrote:
>> From: Aleksi Nurmi <[email protected]>
>>
>> Further enhancements by Vittorio Giovara and Paul B Mahol.
>>
>> Signed-off-by: Vittorio Giovara <[email protected]>
>> ---
>> I think I addressed all comments.
>> Vittorio
>>
>>  Changelog               |   1 +
>>  doc/general.texi        |   2 +
>>  libavcodec/Makefile     |   1 +
>>  libavcodec/allcodecs.c  |   1 +
>>  libavcodec/avcodec.h    |   1 +
>>  libavcodec/brenderpix.c | 288 
>> ++++++++++++++++++++++++++++++++++++++++++++++++
>>  libavcodec/codec_desc.c |   7 ++
>>  libavcodec/version.h    |   4 +-
>>  libavformat/img2.c      |   1 +
>>  9 files changed, 304 insertions(+), 2 deletions(-)
>>  create mode 100644 libavcodec/brenderpix.c
>
> For XRGB you need to go through and make all the alpha opaque since
> you're outputting ARGB.

I've added locally

    // make alpha opaque for XRGB
    if (hdr.format == 7)
        for (i = 0; i < frame->linesize[0]; i += 4)
            frame->data[i] = 0xFF;

just after image_copy_plane.
Vittorio

>
> -Justin
> _______________________________________________
> libav-devel mailing list
> [email protected]
> https://lists.libav.org/mailman/listinfo/libav-devel
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to