[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-video-cvs
Subject: [Video-cvs] sitelib/pub minisurf.h, 1.14.2.2.38.4, 1.14.2.2.38.4.28.1
From: xubingzhang () helixcommunity ! org
Date: 2012-11-30 12:16:12
[Download RAW message or body]
Update of /cvsroot/video/sitelib/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv5053/sitelib/pub
Modified Files:
Tag: hxclient_5_0_1_hebe
minisurf.h
Log Message:
the modification is for the grab feature.
total modified files :
./common/include/hxiids.h
./common/include/hxwin.h
./player/kit/android/ndk/clientcontext.cpp
./player/kit/android/ndk/clientcontext.h
./player/kit/android/ndk/PlayerDriver.cpp
./player/kit/android/ndk/PlayerDriver.h
./player/kit/android/ndk/pub/HelixPlayer.h
./player/kit/android/ndk/sitesupplier.cpp
./player/kit/android/ndk/sitesupplier.h
./video/sitelib/basesite.cpp
./video/sitelib/minisite.cpp
./video/sitelib/minisurf.cpp
./video/sitelib/pub/basesite.h
./video/sitelib/pub/minisite.h
./video/sitelib/pub/minisurf.h
./video_ndk/sitelib/platform/unix/miniandroidsurf_ndk.cpp
./video_ndk/sitelib/platform/unix/miniandroidsurf_opengl_effect.cpp
./video_ndk/sitelib/pub/platform/unix/miniandroidsurf_ndk.h
synopsis:
The grab feature is ok on OpenGL enabled/disabled env.
If enable openGL module, helix will use the \
video_ndk/sitelib/platform/unix/miniAndroidSurf_opengl_effect.cpp, Else helix will \
use the video_ndk/sitelib/platform/unix/miniAndroidSurf_ndk.cpp
Main grab logic:
1) When helix is playing status:
JavaApp want to use grab function, at first step, call pause(). Helix will capture \
and save the current timeline image data to a buffer. Then helix pause. The second \
step is JavaAPP call grab(), then helix will use the saved data to upper level. 2) \
When helix is not playing status a) Pause status:
This status is similar to the playing status because the helix save the frame data \
before pause operation. b) Current time is pause status, then user seek to a \
specific timeline. Then grab. The process of handling this circumstance is that helix \
will save the one frame video data to the buffer after the seek action is completed. \
Then JavaApp call grab(),helix will use the saved data to upper level.
others explanation: add a new interface IHXSiteCapture1 for not breaking the current \
interface with new PURE methods.
Index: minisurf.h
===================================================================
RCS file: /cvsroot/video/sitelib/pub/minisurf.h,v
retrieving revision 1.14.2.2.38.4
retrieving revision 1.14.2.2.38.4.28.1
diff -u -d -r1.14.2.2.38.4 -r1.14.2.2.38.4.28.1
--- minisurf.h 7 Nov 2011 08:18:00 -0000 1.14.2.2.38.4
+++ minisurf.h 30 Nov 2012 12:16:04 -0000 1.14.2.2.38.4.28.1
@@ -128,7 +128,7 @@
virtual HX_RESULT _ReleaseHoldBuffers(){ return HXR_OK; }
int GetSrcCID() { return m_nSrcCID; }
- void CaptureImage(UCHAR* pImageData, HXBitmapInfoHeader* pBitmapInfo);
+ virtual void CaptureImage(UCHAR* pImageData, HXBitmapInfoHeader* pBitmapInfo);
#ifdef HELIX_FEATURE_AUTOROTATE
public:
_______________________________________________
Video-cvs mailing list
Video-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/video-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic