Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
6fe4bc62
Commit
6fe4bc62
authored
Dec 16, 2011
by
Martin Storsjö
Committed by
Jean-Baptiste Kempf
Dec 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
omxil: Make the iomx wrapper not depend on the omxil utils.c file
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
407c1ad8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
9 deletions
+25
-9
modules/codec/omxil/iomx.cpp
modules/codec/omxil/iomx.cpp
+25
-9
No files found.
modules/codec/omxil/iomx.cpp
View file @
6fe4bc62
...
...
@@ -23,11 +23,6 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_common.h>
#include <media/stagefright/OMXClient.h>
#include <media/IOMX.h>
...
...
@@ -35,9 +30,6 @@
#include <OMX_Component.h>
#include "iomx.h"
extern
"C"
{
#include "omxil_utils.h"
}
using
namespace
android
;
...
...
@@ -147,8 +139,32 @@ static int get_param_size(OMX_INDEXTYPE param_index)
return
sizeof
(
OMX_PORT_PARAM_TYPE
);
case
OMX_IndexParamNumAvailableStreams
:
return
sizeof
(
OMX_PARAM_U32TYPE
);
case
OMX_IndexParamAudioPcm
:
return
sizeof
(
OMX_AUDIO_PARAM_PCMMODETYPE
);
case
OMX_IndexParamAudioAdpcm
:
return
sizeof
(
OMX_AUDIO_PARAM_AMRTYPE
);
case
OMX_IndexParamAudioAmr
:
return
sizeof
(
OMX_AUDIO_PARAM_AMRTYPE
);
case
OMX_IndexParamAudioG723
:
return
sizeof
(
OMX_AUDIO_PARAM_G723TYPE
);
case
OMX_IndexParamAudioG726
:
return
sizeof
(
OMX_AUDIO_PARAM_G726TYPE
);
case
OMX_IndexParamAudioG729
:
return
sizeof
(
OMX_AUDIO_PARAM_G729TYPE
);
case
OMX_IndexParamAudioAac
:
return
sizeof
(
OMX_AUDIO_PARAM_AACPROFILETYPE
);
case
OMX_IndexParamAudioMp3
:
return
sizeof
(
OMX_AUDIO_PARAM_MP3TYPE
);
case
OMX_IndexParamAudioSbc
:
return
sizeof
(
OMX_AUDIO_PARAM_SBCTYPE
);
case
OMX_IndexParamAudioVorbis
:
return
sizeof
(
OMX_AUDIO_PARAM_VORBISTYPE
);
case
OMX_IndexParamAudioWma
:
return
sizeof
(
OMX_AUDIO_PARAM_WMATYPE
);
case
OMX_IndexParamAudioRa
:
return
sizeof
(
OMX_AUDIO_PARAM_RATYPE
);
default:
return
GetAudioParamSize
(
param_index
)
;
return
0
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment