/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 201 sp<AMessage> format = new AMessage(); local 213 format->setInt32("type", trackType); 217 format->setString("language", lang); 221 format->setString("mime", MEDIA_MIMETYPE_TEXT_VTT); 222 format->setInt32("auto", !!(item.mFlags & MediaGroup::FLAG_AUTOSELECT)); 223 format->setInt32("default", !!(item.mFlags & MediaGroup::FLAG_DEFAULT)); 224 format->setInt32("forced", !!(item.mFlags & MediaGroup::FLAG_FORCED)); 227 return format;
|
H A D | PlaylistFetcher.cpp | 1169 sp<MetaData> format = source->getFormat(); local 1170 if (format != NULL) { 1171 // for simplicity, store a reference to the format in each unit 1172 accessUnit->meta()->setObject("format", format); 1284 sp<MetaData> format = source->getFormat(); local 1286 if (format != NULL && format->findCString(kKeyMIMEType, &mime) 1383 // Note that we do NOT dequeue any discontinuities except for format change. 1698 msg->findObject("format", 1699 MetaData *format = static_cast<MetaData *>(obj.get()); local [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 508 sp<MetaData> format = new MetaData; local 517 &format); 530 mFormat = format;
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | PlaybackSession.cpp | 63 Track(const sp<AMessage> ¬ify, const sp<AMessage> &format); 122 static bool IsAudioFormat(const sp<AMessage> &format); 144 const sp<AMessage> ¬ify, const sp<AMessage> &format) 146 mFormat(format), 148 mIsAudio(IsAudioFormat(format)), 158 const sp<AMessage> &format) { 160 CHECK(format->findString("mime", &mime)); 764 sp<AMessage> format; local 765 err = mExtractor->getTrackFormat(i, &format); 772 CHECK(format 143 Track( const sp<AMessage> ¬ify, const sp<AMessage> &format) argument 157 IsAudioFormat( const sp<AMessage> &format) argument 937 sp<AMessage> format; local [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 282 uint64_t size, MtpObjectFormat format, int fd) { 283 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd); 561 MtpObjectFormat format = mRequest.getParameter(1); 562 MtpObjectPropertyList* properties = mDatabase->getSupportedObjectProperties(format); 574 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats local 581 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); 593 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats local 599 int count = mDatabase->getNumObjects(storageID, format, parent); 710 uint32_t format = mRequest.getParameter(2); local 714 ALOGV("GetObjectPropList %d format 281 addEditObject(MtpObjectHandle handle, MtpString& path, uint64_t size, MtpObjectFormat format, int fd) argument 772 MtpObjectFormat format; local 845 MtpObjectFormat format; local 896 MtpObjectFormat format; local 1125 MtpObjectFormat format; local 1148 MtpObjectFormat format = mRequest.getParameter(2); local 1275 MtpObjectFormat format; local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.h | 104 audio_format_t format, 118 audio_format_t format, 130 virtual audio_format_t format(audio_io_handle_t output) const; 158 virtual size_t getInputBufferSize(uint32_t sampleRate, audio_format_t format, 362 // Returns true if format is permitted for the PCM sink in the MixerThread 363 static inline bool isValidPcmSinkFormat(audio_format_t format) { argument 364 switch (format) { 751 // all record threads serially share a common tee sink, which is re-created on format change 798 const char *formatToString(audio_format_t format);
|
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...] |
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 95 threadName = String8::format("C2-%d-StreamProc", 100 threadName = String8::format("C2-%d-FrameProc", 105 threadName = String8::format("C2-%d-CaptureSeq", 110 threadName = String8::format("C2-%d-JpegProc", 134 threadName = String8::format("C2-%d-ZslProc", 139 threadName = String8::format("C2-%d-CallbkProc", 183 result.appendFormat(" Preview HAL pixel format: 0x%x\n", 1943 int format, int stride) { 1944 switch (format) { 1964 ALOGE("%s: Unknown preview format 1942 calculateBufferSize(int width, int height, int format, int stride) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 37 * format, plus other state). The enum values are mostly based off the 296 static int formatStringToEnum(const char *format); 297 static const char *formatEnumToString(int format); 378 int32_t format; member in struct:android::camera2::Parameters::StreamConfiguration
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 626 int width, int height, int format) 633 rc = native_window_set_buffers_format(a, format); 625 __set_buffers_geometry(struct preview_stream_ops* w, int width, int height, int format) argument
|
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiRecordSources.java | 275 * Major Channel Number (if Channel Number Format is 2-part). If format is 284 private ChannelIdentifier(int format, int majorNumber, int minorNumer) { argument 285 mChannelNumberFormat = format; 291 // The first 6 bits for format, the 10 bits for major number. 305 * <li>channel number format: 6bits
|
/frameworks/base/core/java/android/os/ |
H A D | Process.java | 542 * Presently the wire format to the zygote process is: 1094 public static final native boolean readProcFile(String file, int[] format, argument 1099 int endIndex, int[] format, String[] outStrings, long[] outLongs, float[] outFloats); 1098 parseProcLine(byte[] buffer, int startIndex, int endIndex, int[] format, String[] outStrings, long[] outLongs, float[] outFloats) argument
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 35 int w, int h, int format, int flags) 133 * even if its pixel format is set to translucent. This can be useful if an 138 * Combined effects are (assuming a buffer format with an alpha channel): 268 String name, int w, int h, int format, int flags) 287 mNativeObject = nativeCreate(session, name, w, h, format, flags); 34 nativeCreate(SurfaceSession session, String name, int w, int h, int format, int flags) argument 267 SurfaceControl(SurfaceSession session, String name, int w, int h, int format, int flags) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 329 // ARGB_4444 is a deprecated format, convert automatically to 8888 395 // ARGB_4444 is a deprecated format, convert automatically to 8888 443 jint format, jint quality, 448 switch (format) { 442 Bitmap_compress(JNIEnv* env, jobject clazz, jlong bitmapHandle, jint format, jint quality, jobject jstream, jbyteArray jstorage) argument
|
H A D | BitmapFactory.cpp | 58 jstring getMimeTypeString(JNIEnv* env, SkImageDecoder::Format format) { argument 74 if (gMimeTypes[i].fFormat == format) { 462 // trying to determine the stream's format. Currently the most is 64, read by
|
/frameworks/base/core/jni/ |
H A D | android_app_NativeActivity.cpp | 170 ANativeActivity* activity, int32_t format) { 172 write_work(code->mainWorkWrite, CMD_SET_WINDOW_FORMAT, format); 501 jint format, jint width, jint height) 169 android_NativeActivity_setWindowFormat( ANativeActivity* activity, int32_t format) argument 500 onSurfaceChanged_native(JNIEnv* env, jobject clazz, jlong handle, jobject surface, jint format, jint width, jint height) argument
|
H A D | android_media_AudioTrack.cpp | 210 // check the format. 211 // This function was called from Java, so we compare the format against the Java constants 212 audio_format_t format = audioFormatToNative(audioFormat); local 213 if (format == AUDIO_FORMAT_INVALID) { 214 ALOGE("Error creating AudioTrack: unsupported audio format %d.", audioFormat); 221 if ((format == AUDIO_FORMAT_PCM_8_BIT) 226 format = AUDIO_FORMAT_PCM_16_BIT; 233 if (audio_is_linear_pcm(format)) { 234 const size_t bytesPerSample = audio_bytes_per_sample(format); 296 format,// wor 526 const audio_format_t format = audioFormatToNative(audioFormat); local 947 const audio_format_t format = audioFormatToNative(audioFormat); local [all...] |
H A D | android_util_Process.cpp | 683 char* buffer, jint startIndex, jint endIndex, jintArray format, 687 const jsize NF = env->GetArrayLength(format); 692 jint* formatData = env->GetIntArrayElements(format, 0); 700 env->ReleaseIntArrayElements(format, formatData, 0); 788 env->ReleaseIntArrayElements(format, formatData, 0); 800 jbyteArray buffer, jint startIndex, jint endIndex, jintArray format, 806 (char*) bufferArray, startIndex, endIndex, format, outStrings, 815 jstring file, jintArray format, jobjectArray outStrings, 818 if (file == NULL || format == NULL) { 848 format, outString 682 android_os_Process_parseProcLineArray(JNIEnv* env, jobject clazz, char* buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument 799 android_os_Process_parseProcLine(JNIEnv* env, jobject clazz, jbyteArray buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument 814 android_os_Process_readProcFile(JNIEnv* env, jobject clazz, jstring file, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument [all...] |
H A D | android_view_SurfaceControl.cpp | 94 jstring nameStr, jint w, jint h, jint format, jint flags) { 98 String8(name.c_str()), w, h, format, flags); 93 nativeCreate(JNIEnv* env, jclass clazz, jobject sessionObj, jstring nameStr, jint w, jint h, jint format, jint flags) argument
|
H A D | com_google_android_gles_jni_EGLImpl.cpp | 260 static PixelFormat convertPixelFormat(SkColorType format) argument 262 switch (format) { 300 pixmap.format = convertPixelFormat(nativeBitmap->colorType());
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 70 ALOGD("TextSetupFunctor: called with unknown glyph format %x", glyphFormat); 233 // choose an appropriate cache texture list for this glyph format 234 SkMask::Format format = static_cast<SkMask::Format>(glyph.fMaskFormat); local 236 switch (format) { 246 ALOGD("getCacheTexturesForFormat: unknown SkMask format %x", format); 302 // Copy the glyph image, taking the mask format into account 303 switch (format) { 391 ALOGW("Unknown glyph format: 0x%x", format); 398 createCacheTexture(int width, int height, GLenum format, bool allocate) argument [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...] |
H A D | TtmlRenderer.java | 68 public boolean supports(MediaFormat format) { argument 69 if (format.containsKey(MediaFormat.KEY_MIME)) { 70 return format.getString(MediaFormat.KEY_MIME).equals(MEDIA_MIMETYPE_TEXT_TTML); 76 public SubtitleTrack createTrack(MediaFormat format) { argument 80 return new TtmlTrack(mRenderingWidget, format); 128 * For the format of the time expression, please refer <a href= 137 * format. 551 TtmlTrack(TtmlRenderingWidget renderingWidget, MediaFormat format) { argument 552 super(format);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputService.java | 628 * Called after any structural changes (format or size) have been made to the 632 * @param format The new PixelFormat of the {@link Surface}. 636 public void onSurfaceChanged(int format, int width, int height) { argument 910 void dispatchSurfaceChanged(int format, int width, int height) { argument 912 Log.d(TAG, "dispatchSurfaceChanged(format=" + format + ", width=" + width 915 onSurfaceChanged(format, width, height);
|
H A D | TvView.java | 109 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 111 Log.d(TAG, "surfaceChanged(holder=" + holder + ", format=" + format + ", width=" 114 mSurfaceFormat = format; 685 private void dispatchSurfaceChanged(int format, int width, int height) { argument 689 mSession.dispatchSurfaceChanged(format, width, height);
|