/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
H A D | SoftAMRWBEncoder.cpp | 88 def.format.audio.cMIMEType = const_cast<char *>("audio/raw"); 89 def.format.audio.pNativeRender = NULL; 90 def.format.audio.bFlagErrorConcealment = OMX_FALSE; 91 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM; 106 def.format.audio.cMIMEType = const_cast<char *>("audio/amr-wb"); 107 def.format.audio.pNativeRender = NULL; 108 def.format.audio.bFlagErrorConcealment = OMX_FALSE; 109 def.format.audio.eEncoding = OMX_AUDIO_CodingAMR;
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
H A D | SoftFlacEncoder.cpp | 125 def.format.audio.cMIMEType = const_cast<char *>("audio/raw"); 126 def.format.audio.pNativeRender = NULL; 127 def.format.audio.bFlagErrorConcealment = OMX_FALSE; 128 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM; 144 def.format.audio.cMIMEType = const_cast<char *>(MEDIA_MIMETYPE_AUDIO_FLAC); 145 def.format.audio.pNativeRender = NULL; 146 def.format.audio.bFlagErrorConcealment = OMX_FALSE; 147 def.format.audio.eEncoding = OMX_AUDIO_CodingFLAC;
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
H A D | SoftOpus.cpp | 90 def.format.audio.cMIMEType = 93 def.format.audio.pNativeRender = NULL; 94 def.format.audio.bFlagErrorConcealment = OMX_FALSE; 95 def.format.audio.eEncoding = 111 def.format.audio.cMIMEType = const_cast<char *>("audio/raw"); 112 def.format.audio.pNativeRender = NULL; 113 def.format.audio.bFlagErrorConcealment = OMX_FALSE; 114 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
H A D | SoftVorbis.cpp | 93 def.format.audio.cMIMEType = 96 def.format.audio.pNativeRender = NULL; 97 def.format.audio.bFlagErrorConcealment = OMX_FALSE; 98 def.format.audio.eEncoding = OMX_AUDIO_CodingVORBIS; 113 def.format.audio.cMIMEType = const_cast<char *>("audio/raw"); 114 def.format.audio.pNativeRender = NULL; 115 def.format.audio.bFlagErrorConcealment = OMX_FALSE; 116 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
|
/frameworks/av/services/audioflinger/ |
H A D | AudioMixer.h | 108 // The failure could be because of an invalid channelMask or format, or that 111 audio_format_t format, int sessionId); 129 static inline bool isValidPcmTrackFormat(audio_format_t format) { argument 130 return format == AUDIO_FORMAT_PCM_16_BIT || 131 format == AUDIO_FORMAT_PCM_24_BIT_PACKED || 132 format == AUDIO_FORMAT_PCM_32_BIT || 133 format == AUDIO_FORMAT_PCM_FLOAT; 147 // sample format is not explicitly specified, and is assumed to be AUDIO_FORMAT_PCM_16_BIT 185 uint8_t unused_padding; // formerly format, was always 16 215 audio_format_t mMixerFormat; // output mix format [all...] |
H A D | RecordTracks.h | 28 audio_format_t format, 106 audio_format_t format,
|
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.h | 89 int format, 160 // Find the closest dimensions for a given format in available stream configurations with 163 static bool roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format,
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | DngCreator.java | 49 * The DNG file format is a cross-platform file format that is used to store pixel data from 56 * For more information on the DNG file format and associated metadata, please refer to the 102 String formattedCaptureTime = sDateTimeStampFormat.format(captureTime); 182 * @param pixels an {@link android.media.Image} object with the format 193 int format = pixels.getFormat(); 194 if (format != ImageFormat.YUV_420_888) { 195 throw new IllegalArgumentException("Unsupported Image format " + format); 242 String dateTag = sExifGPSDateStamp.format(tim [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 39 * on the audio data storage format that is the most convenient for the user of AudioRecord. 213 * @param audioFormat the format in which the audio data is represented. 246 * @param format a non-null {@link AudioFormat} instance describing the format of the data 248 * configuring the audio format parameters such as encoding, channel mask and sample rate. 260 public AudioRecord(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, argument 267 if (format == null) { 296 if ((format.getPropertySetMask() 299 rate = format.getSampleRate(); 308 if ((format [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | DrawRectFilter.java | 28 import android.filterfw.format.ImageFormat; 29 import android.filterfw.format.ObjectFormat;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaRecorderStressTest.java | 94 File stressOutFile = new File(String.format("%s/%s", 137 fail(String.format("Camera error, code: %d", error)); 143 fail(String.format("Media recorder error, code: %d\textra: %d", what, extra)); 182 assertTrue(String.format("Camera doesn't support profile %d", profile), 209 String fileName = String.format("%s/temp%d%s", 264 mOutput.write(String.format(", %d", (i + 1))); 313 String fileName = String.format("%s/temp%d_%d%s", 368 mOutput.write(String.format(", %d", (j + 1)));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | DateView.java | 24 import android.text.format.DateFormat; 53 // need to get a fresh date format 109 final String text = mDateFormat.format(mCurrentTime);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 153 * @param format The texture format (e.g. GL_RGBA) 156 public abstract void initializeTextureSize(BasicTexture texture, int format, int type); argument 174 * @param format The texture format (e.g. GL_RGBA) 179 int format, int type); 177 texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, int format, int type) argument
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOSyncView.java | 61 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 62 super.surfaceChanged(holder, format, w, h);
|
H A D | FBOTestView.java | 61 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 62 super.surfaceChanged(holder, format, w, h);
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
H A D | FountainView.java | 52 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 53 super.surfaceChanged(holder, format, w, h);
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
H A D | FountainView.java | 52 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 53 super.surfaceChanged(holder, format, w, h);
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
H A D | ShadersTestView.java | 59 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 60 super.surfaceChanged(holder, format, w, h);
|
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/ |
H A D | WakeUpCall.java | 52 Log.d(LOG_TAG, String.format("incoming: interval = %d, max loop = %d, this loop = %d", 65 Log.d(LOG_TAG, String.format("WakeLoop - iteration %d of %d", thisLoop, maxLoop));
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | PorterDuffUtility.java | 51 String.format("Unknown PorterDuff.Mode: %1$d", porterDuffMode), null /*data*/); 101 String.format("Unsupported PorterDuff Mode: %1$s", mode.name()),
|
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsMessage.java | 85 * Indicates a 3GPP format SMS message. 91 * Indicates a 3GPP2 format SMS message. 156 * intent <b>must</b> now pass the new {@code format} String extra from the intent 158 * extra format parameter. This is required in order to correctly decode the PDU on 160 * such as dual-mode GSM/CDMA and CDMA/LTE phones. Guess format based on Voice 161 * technology first, if it fails use other format. 166 // cdma(3gpp2) vs gsm(3gpp) format info was not given, 169 String format = (PHONE_TYPE_CDMA == activePhone) ? 171 message = createFromPdu(pdu, format); 174 // decoding pdu failed based on activePhone type, must be other format 192 createFromPdu(byte[] pdu, String format) argument [all...] |
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
H A D | BallsView.java | 52 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 53 super.surfaceChanged(holder, format, w, h);
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 253 const sp<AMessage> &format, 259 msg->setMessage("format", format); 495 status_t MediaCodec::getOutputFormat(sp<AMessage> *format) const { 504 CHECK(response->findMessage("format", format)); 509 status_t MediaCodec::getInputFormat(sp<AMessage> *format) const { 518 CHECK(response->findMessage("format", format)); 556 sp<AMessage> format; local 252 configure( const sp<AMessage> &format, const sp<Surface> &nativeWindow, const sp<ICrypto> &crypto, uint32_t flags) argument 560 getOutputFormat(size_t index, sp<AMessage> *format) argument 566 sp<AMessage> format; local 574 getBufferAndFormat( size_t portIndex, size_t index, sp<ABuffer> *buffer, sp<AMessage> *format) argument 1212 sp<AMessage> format = new AMessage; local 1272 sp<AMessage> format; local 1635 sp<AMessage> format = local 1708 extractCSD(const sp<AMessage> &format) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.h | 139 const int32_t format = ResTable_map::TYPE_ANY, 163 const int32_t format = ResTable_map::TYPE_ANY); 277 Item() : isId(false), format(ResTable_map::TYPE_ANY), bagKeyId(0), evaluating(false) 283 int32_t format = ResTable_map::TYPE_ANY); 286 format(o.format), bagKeyId(o.bagKeyId), evaluating(false) { 296 format = o.format; 306 int32_t format; member in class:ResourceTable::Item 343 int32_t format [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.cpp | 74 // Pick the buffer format to request from the sink when not rendering to it 75 // with GLES. If the consumer needs CPU access, use the default format 76 // set by the consumer. Otherwise allow gralloc to decide the format based 89 ConsumerBase::mName = String8::format("VDS: %s", mDisplayName.string()); 125 // allows the format conversion to happen there, rather than passing RGB 143 // composition. Stop using the format and usage requested by the GLES 150 // format/usage and get a new buffer when the GLES driver calls 287 uint32_t format, uint32_t usage, int* sslot, sp<Fence>* fence) { 293 mSinkBufferWidth, mSinkBufferHeight, format, usage); 332 uint32_t w, uint32_t h, uint32_t format, uint32_ 286 dequeueBuffer(Source source, uint32_t format, uint32_t usage, int* sslot, sp<Fence>* fence) argument 331 dequeueBuffer(int* pslot, sp<Fence>* fence, bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument [all...] |