Changeset 322 in SHVCSoftware


Ignore:
Timestamp:
2 Aug 2013, 22:54:20 (11 years ago)
Author:
seregin
Message:

cleanup CHROMA_UPSAMPLING

Location:
branches/SHM-3.0-dev/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.0-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp

    r313 r322  
    2828const Int TComUpsampleFilter::m_chromaFixedFilter[16][NTAPS_US_CHROMA] =
    2929{
    30 #if CHROMA_UPSAMPLING
    3130  {  0, 64,  0,  0},//
    3231  {CNU,CNU,CNU,CNU},//
     
    4544  { -2, 10, 58, -2},// <-> actual phase shift 7/8,equal to HEVC MC, used for spatial scalability x2 (only for accurate Chroma alignement) 
    4645  {  0,  4, 62, -2} // <-> actual phase shift 11/12, used for spatial scalability x1.5 (only for accurate Chroma alignement)
    47 #else
    48   {  0, 64,  0,  0},//
    49   {CNU,CNU,CNU,CNU},//
    50   {CNU,CNU,CNU,CNU},//
    51   {CNU,CNU,CNU,CNU},//
    52   { -4, 54, 16, -2},// <-> actual phase shift 1/4,equal to HEVC MC, used for spatial scalability x1.5 (only for accurate Chroma alignement)
    53   { -5, 50, 22, -3},// <-> actual phase shift 1/3, used for spatial scalability x1.5   
    54   { -6, 46, 28, -4},// <-> actual phase shift 3/8,equal to HEVC MC, used for spatial scalability x2 (only for accurate Chroma alignement)     
    55   {CNU,CNU,CNU,CNU},//
    56   { -4, 36, 36, -4},// <-> actual phase shift 1/2,equal to HEVC MC, used for spatial scalability x2
    57   { -4, 30, 43, -5},// <-> actual phase shift 7/12, used for spatial scalability x1.5 (only for accurate Chroma alignement)
    58   {CNU,CNU,CNU,CNU},//
    59   { -3, 22, 50, -5},// <-> actual phase shift 2/3, used for spatial scalability x1.5
    60   {CNU,CNU,CNU,CNU},//
    61   {CNU,CNU,CNU,CNU},//
    62   { -2, 10, 58, -2},// <-> actual phase shift 7/8,equal to HEVC MC, used for spatial scalability x2 (only for accurate Chroma alignement) 
    63   { -1,  5, 62, -2} // <-> actual phase shift 11/12, used for spatial scalability x1.5 (only for accurate Chroma alignement)
    64 #endif
    6546};
    6647
  • branches/SHM-3.0-dev/source/Lib/TLibCommon/TypeDef.h

    r321 r322  
    7474#define SVC_COL_BLK                      1      ///< get co-located block
    7575#define SVC_UPSAMPLING                   1      ///< upsampling filters
    76 #define CHROMA_UPSAMPLING                1      ///< L0335: Chroma upsampling with 5 bits coefficients
    7776
    7877#define SIMPLIFIED_MV_POS_SCALING        1      ///< M0133/M0449: inter-layer MV scaling and pixel mapping position calculation
Note: See TracChangeset for help on using the changeset viewer.