diff options
author | Sven Gothel <[email protected]> | 2012-04-16 21:18:03 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-04-16 21:18:03 +0200 |
commit | 35beeabffed61e1597aaffc0c5926ab5ef86d32e (patch) | |
tree | 6a7e91c07e7d61613b03f35a17486faf01b211fc /src/jogl/native/openmax/omx_tool.h | |
parent | 2f0583aad39f93a934629c21beac66a758373249 (diff) |
TextureSequence Shader Support; GLMediaPlayer uses 'int' where possible; General enhancments.
For details about TextureSequence/GLMediaPlayer shader collaboration w/ your own shader source,
see TextureSequence and TexCubeES2 / MovieSimple demo.
TextureSequence allows implementations to provide their own texture lookup function
which may provide color space conversion (YUV) .. or other runtime hw-accel features.
Have a look at the next commit, which provides an Libav/FFMpeg implementation w/ YUV/RGB shader conversion.
MovieCube adds keyboard control (Android: firm touch on display to launch keyboard, don't break it though :)
Diffstat (limited to 'src/jogl/native/openmax/omx_tool.h')
-rw-r--r-- | src/jogl/native/openmax/omx_tool.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/src/jogl/native/openmax/omx_tool.h b/src/jogl/native/openmax/omx_tool.h index 1ade60e4f..414befca0 100644 --- a/src/jogl/native/openmax/omx_tool.h +++ b/src/jogl/native/openmax/omx_tool.h @@ -73,16 +73,16 @@ typedef struct { OMX_HANDLETYPE endComponent; OMX_CALLBACKTYPE callbacks; - KDchar audioCodec[256]; - KDchar audioCodecComponent[256]; - KDchar videoCodec[256]; - KDchar videoCodecComponent[256]; + KDchar audioCodec[64]; + KDchar audioCodecComponent[64]; + KDchar videoCodec[64]; + KDchar videoCodecComponent[64]; int audioPort; int videoPort; KDuint32 width; KDuint32 height; KDuint32 bitrate; // per seconds - KDuint32 framerate; // per seconds + KDfloat32 framerate; // per seconds KDfloat32 length; // seconds KDfloat32 speed; // current clock scale KDfloat32 play_speed; // current play clock scale @@ -99,17 +99,7 @@ typedef struct { int status; - intptr_t jni_env; intptr_t jni_instance; - intptr_t jni_mid_saveAttributes; - intptr_t jni_mid_attributesUpdated; - intptr_t jni_fid_width; - intptr_t jni_fid_height; - intptr_t jni_fid_fps; - intptr_t jni_fid_bps; - intptr_t jni_fid_totalFrames; - intptr_t jni_fid_acodec; - intptr_t jni_fid_vcodec; } OMXToolBasicAV_t ; // |