Changeset 100 in 3DVCSoftware for trunk/source/App/TAppDecoder
- Timestamp:
- 9 Aug 2012, 12:53:16 (12 years ago)
- Location:
- trunk/source/App/TAppDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/App/TAppDecoder/TAppDecCfg.cpp
r56 r100 115 115 size_t iAppendLength = strlen(pchStringToAppend); 116 116 117 rpchOutputFileName = (Char*) malloc(iInLength+iAppendLength+1); 118 Char* pCDot = strrchr(pchInputFileName,'.'); 119 pCDot = pCDot ? pCDot : pchInputFileName + iInLength; 117 rpchOutputFileName = (Char*) malloc(iInLength+iAppendLength+1); 118 Char* pCDot = strrchr(pchInputFileName,'.'); 119 pCDot = pCDot ? pCDot : pchInputFileName + iInLength; 120 120 size_t iCharsToDot = pCDot - pchInputFileName ; 121 size_t iCharsToEnd = iInLength - iCharsToDot; 121 size_t iCharsToEnd = iInLength - iCharsToDot; 122 122 strncpy(rpchOutputFileName , pchInputFileName , iCharsToDot ); 123 123 strncpy(rpchOutputFileName+ iCharsToDot , pchStringToAppend , iAppendLength); 124 strncpy(rpchOutputFileName+ iCharsToDot+iAppendLength , pchInputFileName+iCharsToDot, iCharsToEnd ); 125 rpchOutputFileName[iInLength+iAppendLength] = '\0'; 124 strncpy(rpchOutputFileName+ iCharsToDot+iAppendLength , pchInputFileName+iCharsToDot, iCharsToEnd ); 125 rpchOutputFileName[iInLength+iAppendLength] = '\0'; 126 126 } 127 127 -
trunk/source/App/TAppDecoder/TAppDecTop.h
r77 r100 89 89 Void decode (); ///< main decoding function 90 90 #if VIDYO_VPS_INTEGRATION 91 Void increaseNumberOfViews 91 Void increaseNumberOfViews (UInt layerId, UInt viewId, UInt isDepth); 92 92 #else 93 Void increaseNumberOfViews 93 Void increaseNumberOfViews (Int newNumberOfViewDepth); 94 94 #endif 95 95 TDecTop* getTDecTop ( Int viewId, Bool isDepth );
Note: See TracChangeset for help on using the changeset viewer.