Ignore:
Timestamp:
Jun 6, 2012 9:56:14 AM (12 years ago)
Author:
nanang
Message:

Fix #1528:

  • fixed video format YV12 (was YUV planar 16bpp, should be YVU planar 12bpp)
  • added I422 (YUV planar 16bpp, was defined as YV12)
  • updated colorbar video device to support YV12.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/format.h

    r4017 r4158  
    170170 
    171171    /** 
    172      * This is planar 4:2:2/16bpp YUV format. 
     172     * This is planar 4:2:0/12bpp YUV format, similar to I420 or IYUV but 
     173     * the U (Cb) and V (Cr) planes order is switched, i.e: the second plane 
     174     * contains the V (Cb) samples and the third plane contains the V (Cr) 
     175     * samples. 
    173176     */ 
    174177    PJMEDIA_FORMAT_YV12     = PJMEDIA_FORMAT_PACK('Y', 'V', '1', '2'), 
     178 
     179    /** 
     180     * This is planar 4:2:2/16bpp YUV format, the data can be treated as 
     181     * three planes of color components, where the first plane contains 
     182     * only the Y samples, the second plane contains only the U (Cb) samples, 
     183     * and the third plane contains only the V (Cr) sample. 
     184     */ 
     185    PJMEDIA_FORMAT_I422     = PJMEDIA_FORMAT_PACK('I', '4', '2', '2'), 
    175186 
    176187    /** 
Note: See TracChangeset for help on using the changeset viewer.