Home
last modified time | relevance | path

Searched refs:def (Results 1 – 25 of 125) sorted by relevance

12345

/frameworks/native/include/media/openmax/
DOMX_AsString.h31 inline static const char *asString(OMX_AUDIO_CODINGTYPE i, const char *def = "??") {
62 default: return def;
66 inline static const char *asString(OMX_AUDIO_PCMMODETYPE i, const char *def = "??") {
71 default: return def;
75 inline static const char *asString(OMX_AUDIO_CHANNELTYPE i, const char *def = "??") {
87 default: return def;
91 inline static const char *asString(OMX_AUDIO_CHANNELMODETYPE i, const char *def = "??") {
97 default: return def;
101 inline static const char *asString(OMX_AUDIO_AACPROFILETYPE i, const char *def = "??") {
113 default: return def;
[all …]
/frameworks/compile/mclinker/tools/mcld/
DOptions.td14 def DynamicGroup : OptionGroup<"dynamic">,
17 def Entry : Joined<["--"], "entry=">,
20 def EntryAlias : Separate<["-"], "e">,
23 def Bsymbolic : Flag<["-"], "Bsymbolic">,
27 def Bgroup : Flag<["-"], "Bgroup">,
31 def SOName : Joined<["-"], "soname=">,
34 def SONameAlias : Separate<["-"], "soname">,
38 def NoUndef : Flag<["--"], "no-undefined">,
42 def AllowMulDefs : Flag<["--"], "allow-multiple-definition">,
46 def Z : Separate<["-"], "z">,
[all …]
/frameworks/compile/slang/
DRSCCOptions.td30 def target_api : Separate<["-"], "target-api">,
32 def target_api_EQ : Joined<["-"], "target-api=">, Alias<target_api>;
38 def I : JoinedOrSeparate<["-"], "I">, MetaVarName<"<directory>">,
40 def _I : Separate<["-", "--"], "include-path">, MetaVarName<"<directory>">, Alias<I>;
46 def o : Separate<["-"], "o">, MetaVarName<"<directory>">,
49 def Output_Type_Group : OptionGroup<"<output type group>">;
52 def emit_asm : Flag<["-"], "emit-asm">,
54 def _emit_asm : Flag<["-"], "S">, Alias<emit_asm>;
55 def emit_llvm : Flag<["-"], "emit-llvm">,
57 def emit_bc : Flag<["-"], "emit-bc">,
[all …]
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp56 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
57 InitOMXParams(&def); in initPorts()
59 def.nPortIndex = 0; in initPorts()
60 def.eDir = OMX_DirInput; in initPorts()
61 def.nBufferCountMin = kNumBuffers; in initPorts()
62 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
63 def.nBufferSize = 32 * 1024; in initPorts()
64 def.bEnabled = OMX_TRUE; in initPorts()
65 def.bPopulated = OMX_FALSE; in initPorts()
66 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/omx/
DSoftVideoDecoderOMXComponent.cpp82 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
83 InitOMXParams(&def); in initPorts()
85 def.nPortIndex = kInputPortIndex; in initPorts()
86 def.eDir = OMX_DirInput; in initPorts()
87 def.nBufferCountMin = numInputBuffers; in initPorts()
88 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
89 def.nBufferSize = inputBufferSize; in initPorts()
90 def.bEnabled = OMX_TRUE; in initPorts()
91 def.bPopulated = OMX_FALSE; in initPorts()
92 def.eDomain = OMX_PortDomainVideo; in initPorts()
[all …]
DSoftVideoEncoderOMXComponent.cpp84 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
89 InitOMXParams(&def); in initPorts()
91 def.nPortIndex = kInputPortIndex; in initPorts()
92 def.eDir = OMX_DirInput; in initPorts()
93 def.nBufferCountMin = numInputBuffers; in initPorts()
94 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
95 def.bEnabled = OMX_TRUE; in initPorts()
96 def.bPopulated = OMX_FALSE; in initPorts()
97 def.eDomain = OMX_PortDomainVideo; in initPorts()
98 def.bBuffersContiguous = OMX_FALSE; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp60 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
61 InitOMXParams(&def); in initPorts()
63 def.nPortIndex = 0; in initPorts()
64 def.eDir = OMX_DirInput; in initPorts()
65 def.nBufferCountMin = kNumBuffers; in initPorts()
66 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
67 def.nBufferSize = 8192; in initPorts()
68 def.bEnabled = OMX_TRUE; in initPorts()
69 def.bPopulated = OMX_FALSE; in initPorts()
70 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp63 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
64 InitOMXParams(&def); in initPorts()
66 def.nPortIndex = 0; in initPorts()
67 def.eDir = OMX_DirInput; in initPorts()
68 def.nBufferCountMin = kNumBuffers; in initPorts()
69 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
70 def.nBufferSize = 1024 / kMSGSMFrameSize * kMSGSMFrameSize; in initPorts()
71 def.bEnabled = OMX_TRUE; in initPorts()
72 def.bPopulated = OMX_FALSE; in initPorts()
73 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DSoftAMRNBEncoder.cpp67 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
68 InitOMXParams(&def); in initPorts()
70 def.nPortIndex = 0; in initPorts()
71 def.eDir = OMX_DirInput; in initPorts()
72 def.nBufferCountMin = kNumBuffers; in initPorts()
73 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
74 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t); in initPorts()
75 def.bEnabled = OMX_TRUE; in initPorts()
76 def.bPopulated = OMX_FALSE; in initPorts()
77 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp70 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
71 InitOMXParams(&def); in initPorts()
73 def.nPortIndex = 0; in initPorts()
74 def.eDir = OMX_DirInput; in initPorts()
75 def.nBufferCountMin = kNumBuffers; in initPorts()
76 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
77 def.nBufferSize = 8192; in initPorts()
78 def.bEnabled = OMX_TRUE; in initPorts()
79 def.bPopulated = OMX_FALSE; in initPorts()
80 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/
DSoftAMRWBEncoder.cpp74 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
75 InitOMXParams(&def); in initPorts()
77 def.nPortIndex = 0; in initPorts()
78 def.eDir = OMX_DirInput; in initPorts()
79 def.nBufferCountMin = kNumBuffers; in initPorts()
80 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
81 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t); in initPorts()
82 def.bEnabled = OMX_TRUE; in initPorts()
83 def.bPopulated = OMX_FALSE; in initPorts()
84 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp110 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
111 InitOMXParams(&def); in initPorts()
114 def.nPortIndex = 0; in initPorts()
115 def.eDir = OMX_DirInput; in initPorts()
116 def.nBufferCountMin = kNumBuffers;// TODO verify that 1 is enough in initPorts()
117 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
118 def.nBufferSize = kMaxInputBufferSize; in initPorts()
119 def.bEnabled = OMX_TRUE; in initPorts()
120 def.bPopulated = OMX_FALSE; in initPorts()
121 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
DSoftAMR.cpp78 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
79 InitOMXParams(&def); in initPorts()
81 def.nPortIndex = 0; in initPorts()
82 def.eDir = OMX_DirInput; in initPorts()
83 def.nBufferCountMin = kNumBuffers; in initPorts()
84 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
85 def.nBufferSize = 8192; in initPorts()
86 def.bEnabled = OMX_TRUE; in initPorts()
87 def.bPopulated = OMX_FALSE; in initPorts()
88 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp80 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
81 InitOMXParams(&def); in initPorts()
83 def.nPortIndex = 0; in initPorts()
84 def.eDir = OMX_DirInput; in initPorts()
85 def.nBufferCountMin = kNumBuffers; in initPorts()
86 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
87 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t); in initPorts()
88 def.bEnabled = OMX_TRUE; in initPorts()
89 def.bPopulated = OMX_FALSE; in initPorts()
90 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/base/core/java/android/os/
DSystemProperties.java36 private static native String native_get(String key, String def); in native_get() argument
37 private static native int native_get_int(String key, int def); in native_get_int() argument
38 private static native long native_get_long(String key, long def); in native_get_long() argument
39 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean() argument
40 private static native void native_set(String key, String def); in native_set() argument
60 public static String get(String key, String def) { in get() argument
64 return native_get(key, def); in get()
75 public static int getInt(String key, int def) { in getInt() argument
79 return native_get_int(key, def); in getInt()
90 public static long getLong(String key, long def) { in getLong() argument
[all …]
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp82 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
83 InitOMXParams(&def); in initPorts()
85 def.nPortIndex = 0; in initPorts()
86 def.eDir = OMX_DirInput; in initPorts()
87 def.nBufferCountMin = kNumBuffers; in initPorts()
88 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
89 def.nBufferSize = 960 * 6; in initPorts()
90 def.bEnabled = OMX_TRUE; in initPorts()
91 def.bPopulated = OMX_FALSE; in initPorts()
92 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp81 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
82 InitOMXParams(&def); in initPorts()
84 def.nPortIndex = 0; in initPorts()
85 def.eDir = OMX_DirInput; in initPorts()
86 def.nBufferCountMin = kNumBuffers; in initPorts()
87 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
88 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t) * 2; in initPorts()
89 def.bEnabled = OMX_TRUE; in initPorts()
90 def.bPopulated = OMX_FALSE; in initPorts()
91 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
DSoftAACEncoder2.cpp80 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
81 InitOMXParams(&def); in initPorts()
83 def.nPortIndex = 0; in initPorts()
84 def.eDir = OMX_DirInput; in initPorts()
85 def.nBufferCountMin = kNumBuffers; in initPorts()
86 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
87 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t) * 2; in initPorts()
88 def.bEnabled = OMX_TRUE; in initPorts()
89 def.bPopulated = OMX_FALSE; in initPorts()
90 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/native/include/media/hardware/
DVideoAPI.h227 inline static const char *asString(MediaImage::Type i, const char *def = "??") {
231 default: return def;
235 inline static const char *asString(MediaImage::PlaneIndex i, const char *def = "??") {
240 default: return def;
244 inline static const char *asString(MediaImage2::Type i, const char *def = "??") {
252 default: return def;
257 MediaImage2::PlaneIndex i, MediaImage2::Type j, char def = '?') {
261 return def;
266 inline static const char *asString(ColorAspects::Range i, const char *def = "??") {
272 default: return def;
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DSystemProperties_Delegate.java42 /*package*/ static String native_get(String key, String def) { in native_get() argument
49 return def; in native_get()
52 /*package*/ static int native_get_int(String key, int def) { in native_get_int() argument
59 return def; in native_get_int()
63 /*package*/ static long native_get_long(String key, long def) { in native_get_long() argument
70 return def; in native_get_long()
78 /*package*/ static boolean native_get_boolean(String key, boolean def) { in native_get_boolean() argument
92 return def; in native_get_boolean()
96 /*package*/ static void native_set(String key, String def) { in native_set() argument
98 properties.put(key, def); in native_set()
/frameworks/data-binding/
Dbuild.gradle65 def buildExtensionsTask = project.tasks.create "buildExtensionsTask", Exec
74 def prepareExtensionPrebuilds = project.tasks.create "prepareExtensionPrebuilds", Exec
85 def testTask = project.tasks.create "runTestsOf${it.getName().capitalize()}", Exec
147 def propsFile = new File("${dataBindingConfig.eapOutDir}/databinding.properties")
161 def findChildByTag(node, tag) {
167 def fullJar(project) {
168 def localizeTask = project.parent.tasks.findByName('localizeDependencies')
176 def jarName = project.uploadArchives.repositories.mavenDeployer.pom.artifactId
177 def workingDir = "${project.buildDir}/intermediates/fullJar"
178 def fatJar = "${workingDir}/${jarName}-fat.jar"
[all …]
/frameworks/base/core/java/android/util/
DKeyValueListParser.java71 public int getInt(String key, int def) { in getInt() argument
80 return def; in getInt()
89 public long getLong(String key, long def) { in getLong() argument
98 return def; in getLong()
107 public float getFloat(String key, float def) { in getFloat() argument
116 return def; in getFloat()
125 public String getString(String key, String def) { in getString() argument
130 return def; in getString()
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java434 public boolean getBoolean(String property, boolean def) { in getBoolean() argument
437 return def; in getBoolean()
454 public byte getByte(String property, byte def) { in getByte() argument
457 return def; in getByte()
474 public short getShort(String property, short def) { in getShort() argument
477 return def; in getShort()
494 public int getInt(String property, int def) { in getInt() argument
497 return def; in getInt()
514 public long getLong(String property, long def) { in getLong() argument
517 return def; in getLong()
[all …]
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp91 OMX_PARAM_PORTDEFINITIONTYPE def; in initPorts() local
92 InitOMXParams(&def); in initPorts()
94 def.nPortIndex = 0; in initPorts()
95 def.eDir = OMX_DirInput; in initPorts()
96 def.nBufferCountMin = kNumInputBuffers; in initPorts()
97 def.nBufferCountActual = def.nBufferCountMin; in initPorts()
98 def.nBufferSize = 8192; in initPorts()
99 def.bEnabled = OMX_TRUE; in initPorts()
100 def.bPopulated = OMX_FALSE; in initPorts()
101 def.eDomain = OMX_PortDomainAudio; in initPorts()
[all …]
/frameworks/av/media/libstagefright/foundation/
DADebug.cpp38 const char *name, const char *value, long def) { in GetLevelFromSettingsString() argument
82 def = level; in GetLevelFromSettingsString()
84 return def; in GetLevelFromSettingsString()
89 const char *name, const char *propertyName, long def) { in GetLevelFromProperty() argument
92 def = GetLevelFromSettingsString(name, value, def); in GetLevelFromProperty()
94 return def; in GetLevelFromProperty()
99 const char *name, const char *propertyName, ADebug::Level def) { in GetDebugLevelFromProperty() argument
100 long level = GetLevelFromProperty(name, propertyName, (long)def); in GetDebugLevelFromProperty()

12345