[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] tools/dtdriver/engine/pub cencsrchdlr.h, 1.15.2.5,
From:       stanb () helixcommunity ! org
Date:       2008-12-17 20:56:00
Message-ID: 200812172057.mBHKv036010850 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/tools/dtdriver/engine/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv31974/engine/pub

Modified Files:
      Tag: hxclient_3_1_0_atlas
	cencsrchdlr.h 
Log Message:
Fix: PR# 232659
Summary:
Aspect ration of a converted file is 1:1 instead of being 3:4 for any kind of 
conversion.


Description:
The reason is in Video packets being encoded at 480x480 while stream header 
stating that video should be 640x480. Since DTDR uses size coming from video 
packets for input stream header generation we need to keep actual source 
resolution in some other properties, so we can use it to calculate desired 
encoded video dimensions. 


This change preserves original video dimensions as "SrcWidth" and "SrcHeight" 
properties of the stream header and then uses these values for output 
resolution calculation.


Index: cencsrchdlr.h
===================================================================
RCS file: /cvsroot/datatype/tools/dtdriver/engine/pub/cencsrchdlr.h,v
retrieving revision 1.15.2.5
retrieving revision 1.15.2.6
diff -u -d -r1.15.2.5 -r1.15.2.6
--- cencsrchdlr.h	12 Nov 2008 19:34:28 -0000	1.15.2.5
+++ cencsrchdlr.h	17 Dec 2008 20:55:58 -0000	1.15.2.6
@@ -222,6 +222,8 @@
     CHXString		   m_strEncodeFromURL;
     HXBOOL                 m_bEncodeFromURL;
     HXBOOL		   m_bUseProd10Interface;
+    UINT32		   m_nSrcWidth;
+    UINT32		   m_nSrcHeight;
 
     struct AudioSampleFormatMap
     {


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic