After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345131 - [PATCH] videoscale support for 32-bit RGB-formats
[PATCH] videoscale support for 32-bit RGB-formats
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal minor
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-16 20:21 UTC by Philip Jägenstedt
Modified: 2006-06-19 09:08 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
support 32-bit RGBA-formats (2.01 KB, patch)
2006-06-16 20:22 UTC, Philip Jägenstedt
committed Details | Review

Description Philip Jägenstedt 2006-06-16 20:21:40 UTC
Please describe the problem:
With the attached patch applied, videoscale supports RGBA, ARGB, BGRA and ABGR. Before this patch, videoscale was unable to handle 32-bit color, which meant that I had to add an extra ffmpegcolorspace (which supports RGBA and ARGB) just before the sink. Apart from being annoying, it's a CPU waster.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Philip Jägenstedt 2006-06-16 20:22:50 UTC
Created attachment 67503 [details] [review]
support 32-bit RGBA-formats
Comment 2 Wim Taymans 2006-06-19 09:08:28 UTC
Thanks a lot.

        Patch by: Philip Jaegenstedt <philip at lysator dot liu dot se>

        * gst/videoscale/gstvideoscale.c: (gst_video_scale_prepare_size),
        (gst_video_scale_transform):
        Make videoscale support RGBA, ARGB, BGRA and ABGR. Fixes #345131