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

List:       helix-datatype-cvs
Subject:    [Datatype-cvs]
From:       hychoi () helixcommunity ! org
Date:       2008-08-25 8:07:47
Message-ID: 200808250811.m7P8Bm3F024874 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/tools/dtdriver/decoder/video/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv4064/dtdriver/decoder/video/pub


Modified Files:
      Tag: hxclient_3_1_0_atlas
	vdecoder.h 
Log Message:
Synopsis:

=============

Basically, this CR is a sub one of thumbnail generation improvement CR.

Because to generate a thumbnail image file from a video file, the color format \
conversion should be done first while creating a thumbnail image.

Also the command-line option ¡°-CC¡± which stands for color conversion is added into \
the dtdrive application.

 

Overview: 

=============

1) OnVideoBlt() method modified

In datatype/tools/decoder/video/vdecoder.cpp, OnVideoBlt() method has been modified \
to be possible to convert to any color format supported by helix.

 

2) Adding color converting command-line option into the dtdrive application

In datatype/tools/dtdriver/app/main.cpp, the color convert command-line option is \
added so it could be used like below.

 > dtdrive +u +f -DV 1 -CC RGB24 -W prisoner_450k_480x_rgb24.raw \
prisoner_450k_480x.rm

In above example, the option -CC (Color Convert) means that this video color format \
to be converted as RGB24 color format and it to be written to the \
prisoner_450k_480x_rgb24.raw file.




Index: vdecoder.h
===================================================================
RCS file: /cvsroot/datatype/tools/dtdriver/decoder/video/pub/vdecoder.h,v
retrieving revision 1.4.18.1
retrieving revision 1.4.18.2
diff -u -d -r1.4.18.1 -r1.4.18.2
--- vdecoder.h	20 Feb 2008 23:42:13 -0000	1.4.18.1
+++ vdecoder.h	25 Aug 2008 08:07:45 -0000	1.4.18.2
@@ -41,7 +41,9 @@
  */
 
 #include "stubvplay.h"
-
+#include "coloracc.h"
+#include "hxwintyp.h"
+#include "hxvsurf.h"
 
 /****************************************************************************
  *  Forward Declarations
@@ -109,6 +111,13 @@
     ULONG32		    m_ulBltCount;
     ULONG32                 m_ulProcessTimeUnits;
 
+	ULONG32					m_ulColorFormatOut;
+	ULONG32					m_ulColorFormatIn;
+	HXBOOL					m_bDoConversion;
+	HXBitmapInfoHeader		m_cNewHeader;
+	BYTE*					m_pNewData;
+	ColorFuncAccess*		m_pColorFuncAccessor;
+
     HX_BITFIELD             m_bMaxSpeed : 1;
     HX_BITFIELD             m_bProcessHeadersOnly : 1;
     HX_BITFIELD             m_bSetSrcProperties : 1;


_______________________________________________
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