Changeset 4703


Ignore:
Timestamp:
Nov 3, 2010 10:31:31 PM (4 years ago)
Author:
sam
Message:

Ensure dumpmovie outputs YUVA pictures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/examples/dumpmovie.c

    r4698 r4703  
    125125            for (x = 0; x < ctx->width; x++, off++)
    126126            {
     127                /* Reorder components to store YUVA */
    127128                data[4 * off] = dst[0][off];
    128                 data[4 * off + 1] = dst[1][off];
    129                 data[4 * off + 2] = dst[2][off];
     129                data[4 * off + 1] = dst[2][off];
     130                data[4 * off + 2] = dst[1][off];
    130131                data[4 * off + 3] = 0xff;
    131132            }
Note: See TracChangeset for help on using the changeset viewer.