Changeset 18 in SHVCSoftware for trunk/source
- Timestamp:
- 29 Jan 2013, 18:45:55 (12 years ago)
- Location:
- trunk/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r6 r18 38 38 const Int TComUpsampleFilter::m_chromaFixedFilter[16][NTAPS_US_CHROMA] = 39 39 { 40 #if CHROMA_UPSAMPLING 40 41 { 0, 64, 0, 0},// 41 42 {CNU,CNU,CNU,CNU},// … … 43 44 {CNU,CNU,CNU,CNU},// 44 45 { -4, 54, 16, -2},// <-> actual phase shift 1/4,equal to HEVC MC, used for spatial scalability x1.5 (only for accurate Chroma alignement) 46 { -6, 52, 20, -2},// <-> actual phase shift 1/3, used for spatial scalability x1.5 47 { -6, 46, 28, -4},// <-> actual phase shift 3/8,equal to HEVC MC, used for spatial scalability x2 (only for accurate Chroma alignement) 48 {CNU,CNU,CNU,CNU},// 49 { -4, 36, 36, -4},// <-> actual phase shift 1/2,equal to HEVC MC, used for spatial scalability x2 50 { -4, 30, 42, -4},// <-> actual phase shift 7/12, used for spatial scalability x1.5 (only for accurate Chroma alignement) 51 {CNU,CNU,CNU,CNU},// 52 { -2, 20, 52, -6},// <-> actual phase shift 2/3, used for spatial scalability x1.5 53 {CNU,CNU,CNU,CNU},// 54 {CNU,CNU,CNU,CNU},// 55 { -2, 10, 58, -2},// <-> actual phase shift 7/8,equal to HEVC MC, used for spatial scalability x2 (only for accurate Chroma alignement) 56 { 0, 4, 62, -2} // <-> actual phase shift 11/12, used for spatial scalability x1.5 (only for accurate Chroma alignement) 57 #else 58 { 0, 64, 0, 0},// 59 {CNU,CNU,CNU,CNU},// 60 {CNU,CNU,CNU,CNU},// 61 {CNU,CNU,CNU,CNU},// 62 { -4, 54, 16, -2},// <-> actual phase shift 1/4,equal to HEVC MC, used for spatial scalability x1.5 (only for accurate Chroma alignement) 45 63 { -5, 50, 22, -3},// <-> actual phase shift 1/3, used for spatial scalability x1.5 46 64 { -6, 46, 28, -4},// <-> actual phase shift 3/8,equal to HEVC MC, used for spatial scalability x2 (only for accurate Chroma alignement) … … 54 72 { -2, 10, 58, -2},// <-> actual phase shift 7/8,equal to HEVC MC, used for spatial scalability x2 (only for accurate Chroma alignement) 55 73 { -1, 5, 62, -2} // <-> actual phase shift 11/12, used for spatial scalability x1.5 (only for accurate Chroma alignement) 74 #endif 56 75 }; 57 76 #else -
trunk/source/Lib/TLibCommon/TypeDef.h
r17 r18 49 49 #define BUGFIX_925 1 ///< bug fix ticket #925 50 50 51 #define CHROMA_UPSAMPLING 1 ///< L0335: Chroma upsampling with 5 bits coefficients 52 51 53 #define AVC_BASE 0 ///< YUV BL reading for AVC base SVC 52 54 … … 59 61 60 62 #if INTRA_BL 61 #define INTRA_BL_DST4x4 1 ///< L0067/L0204 DST4x4 for Intra BL62 #define NO_RESIDUAL_FLAG_FOR_BLPRED 1 ///< L0437 Root cbf for Intra_BL63 #define INTRA_BL_DST4x4 1 ///< L0067/L0204: DST4x4 for Intra BL 64 #define NO_RESIDUAL_FLAG_FOR_BLPRED 1 ///< L0437: Root cbf for Intra_BL 63 65 64 66 // Hooks
Note: See TracChangeset for help on using the changeset viewer.