Searched defs:format (Results 201 - 225 of 246) sorted by relevance

12345678910

/frameworks/base/media/java/android/media/
H A DAudioTrack.java251 * @param audioFormat the format in which the audio data is represented.
291 * @param audioFormat the format in which the audio data is represented.
417 // audio format
548 * Returns the configured audio data format. See {@link AudioFormat#ENCODING_PCM_16BIT}
652 * @param audioFormat the format in which the audio data is represented.
683 loge("getMinBufferSize(): Invalid audio format.");
1223 int offsetInBytes, int sizeInBytes, int format);
1226 int offsetInShorts, int sizeInShorts, int format);
1222 native_write_byte(byte[] audioData, int offsetInBytes, int sizeInBytes, int format) argument
1225 native_write_short(short[] audioData, int offsetInShorts, int sizeInShorts, int format) argument
H A DMediaScanner.java359 FileEntry(long rowId, String path, long lastModified, int format) { argument
363 mFormat = format;
926 int format = entry.mFormat;
927 if (format == 0) {
928 format = MediaFile.getFormatCode(entry.mPath, mMimeType);
930 values.put(Files.FileColumns.FORMAT, format);
1114 int format = c.getInt(FILES_PRESCAN_FORMAT_COLUMN_INDEX);
1127 if (!exists && !MtpConstants.isAbstractObject(format)) {
1410 public void scanMtpFile(String path, String volumeName, int objectHandle, int format) { argument
1454 (format
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp153 status_t JMediaExtractor::getTrackFormat(size_t index, jobject *format) const {
162 return ConvertMessageToMap(env, msg, format);
331 jobject format; local
332 status_t err = extractor->getTrackFormat(index, &format);
339 return format;
H A Dandroid_mtp_MtpDatabase.cpp97 MtpObjectFormat format,
105 MtpObjectFormat format,
109 MtpObjectFormat format,
113 MtpObjectFormat format,
120 virtual MtpObjectPropertyList* getSupportedObjectProperties(MtpObjectFormat format);
140 uint32_t format, uint32_t property,
164 MtpObjectFormat format);
221 MtpObjectFormat format,
229 pathStr, (jint)format, (jint)parent, (jint)storage,
239 MtpObjectFormat format, boo
220 beginSendObject(const char* path, MtpObjectFormat format, MtpObjectHandle parent, MtpStorageID storage, uint64_t size, time_t modified) argument
238 endSendObject(const char* path, MtpObjectHandle handle, MtpObjectFormat format, bool succeeded) argument
250 getObjectList(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument
270 getNumObjects(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument
317 getSupportedObjectProperties(MtpObjectFormat format) argument
651 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument
757 MtpObjectFormat format; local
819 MtpObjectFormat format; local
977 getObjectPropertyDesc(MtpObjectProperty property, MtpObjectFormat format) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilter.java25 import android.filterfw.format.ObjectFormat;
308 * filter has input ports. When type-checking is performed, the input format is
309 * checked against the provided format mask. An exception is thrown in case of a conflict.
312 * @param formatMask a format mask, which filters the allowable input types
322 * Adds an output port to the filter with a fixed output format. You should call this from
324 * output format depends on the input format (e.g. in a pass-through filter). In this case, use
328 * @param format the fixed output format of this port
330 protected void addOutputPort(String name, FrameFormat format) { argument
[all...]
/frameworks/av/camera/
H A DCameraParameters.cpp29 const char CameraParameters::KEY_PREVIEW_FORMAT[] = "preview-format";
30 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS[] = "preview-format-values";
37 const char CameraParameters::KEY_PICTURE_FORMAT[] = "picture-format";
38 const char CameraParameters::KEY_SUPPORTED_PICTURE_FORMATS[] = "picture-format-values";
83 const char CameraParameters::KEY_VIDEO_FRAME_FORMAT[] = "video-frame-format";
410 void CameraParameters::setPreviewFormat(const char *format) argument
412 set(KEY_PREVIEW_FORMAT, format);
442 void CameraParameters::setPictureFormat(const char *format) argument
444 set(KEY_PICTURE_FORMAT, format);
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorVideoDecoder.cpp52 const sp<MetaData> &format,
82 const sp<MetaData> &format, VIDEOEDITOR_CodecType codecType,
84 mFormat(format),
1041 // Get the output color format
1063 ALOGI("decoder output format = 0x%X\n", decoderOutput);
1203 // Get the output color format
1382 // Handle EOS and format change
1557 ALOGE("VideoDecoder_decode: unexpected color format 0x%X",
81 VideoEditorVideoDecoderSource( const sp<MetaData> &format, VIDEOEDITOR_CodecType codecType, void *decoderShellContext) argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp93 // Filter format in a parcel:
310 snprintf(buffer, 255, " msec per frame(%f), channel count(%d), format(%d), frame count(%ld)\n",
1214 *pFormat = cache->format();
1215 ALOGV("return memory @ %p, sampleRate=%u, channelCount = %d, format = %d", mem->pointer(), *pSampleRate, *pNumChannels, *pFormat);
1264 *pFormat = cache->format();
1265 ALOGV("return memory @ %p, sampleRate=%u, channelCount = %d, format = %d", mem->pointer(), *pSampleRate, *pNumChannels, *pFormat);
1375 audio_format_t format, int bufferCount,
1389 format, bufferCount, mSessionId);
1418 format,
1430 format,
1373 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags) argument
1774 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags) argument
[all...]
/frameworks/av/media/libstagefright/
H A DACodec.cpp512 def.format.video.nFrameWidth,
513 def.format.video.nFrameHeight,
514 def.format.video.eColorFormat);
1052 OMX_AUDIO_PARAM_PORTFORMATTYPE format; local
1053 InitOMXParams(&format);
1055 format.nPortIndex = portIndex;
1057 format.nIndex = index;
1061 &format, sizeof(format));
1067 if (format
1339 OMX_VIDEO_PARAM_PORTFORMATTYPE format; local
1395 OMX_VIDEO_PARAM_PORTFORMATTYPE format; local
[all...]
H A DAwesomePlayer.cpp1082 int32_t format; local
1085 CHECK(meta->findInt32(kKeyColorFormat, &format));
1635 ALOGV("VideoSource signalled format change.");
H A DMPEG4Extractor.cpp49 MPEG4Source(const sp<MetaData> &format,
1380 // For the 3GPP file format, the handler-type within the 'hdlr' box
1901 const sp<MetaData> &format,
1905 : mFormat(format),
1927 CHECK(format->findData(kKeyAVCC, &type, &data, &size));
1900 MPEG4Source( const sp<MetaData> &format, const sp<DataSource> &dataSource, int32_t timeScale, const sp<SampleTable> &sampleTable) argument
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp279 sp<AMessage> format; local
280 CHECK(response->findMessage("format", &format));
282 ALOGV("returning format %s", format->debugString().c_str());
283 return format;
492 sp<AMessage> format = info->mSampleDescs.itemAt(0).mFormat; local
494 format->setInt64("durationUs", info->mSidxDuration);
497 format->setInt64("durationUs",
501 "format", forma
1255 sp<AMessage> format = new AMessage; local
1298 sp<AMessage> format = new AMessage; local
1330 addCodecSpecificData( const sp<AMessage> &format, int32_t index, const void *data, size_t size, bool insertStartCode = false) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp221 audio_format_t format,
230 return mpAudioPolicy->get_output(mpAudioPolicy, stream, samplingRate, format, channelMask, flags);
269 audio_format_t format,
283 format, channelMask, (audio_in_acoustics_t) 0);
219 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
267 getInput(audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int audioSession) argument
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Device.cpp238 uint32_t width, uint32_t height, int format, size_t size, int *id) {
245 res = stream->connectToDevice(consumer, width, height, format, size);
247 ALOGE("%s: Camera %d: Unable to create stream (%d x %d, format %x):"
249 __FUNCTION__, mId, width, height, format, strerror(-res), res);
297 uint32_t *width, uint32_t *height, uint32_t *format) {
317 if (format) *format = (*streamI)->getFormat();
806 result = String8::format(" Stream slot buffer %d:\n", i);
816 result = String8::format(" Main queue has %d entries:\n",
821 result = String8::format(" Queu
237 createStream(sp<ANativeWindow> consumer, uint32_t width, uint32_t height, int format, size_t size, int *id) argument
296 getStreamInfo(int id, uint32_t *width, uint32_t *height, uint32_t *format) argument
965 connectToDevice( sp<ANativeWindow> consumer, uint32_t width, uint32_t height, int format, size_t size) argument
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.cpp74 String8::format("%dx%d",
80 supportedPreviewSizes += String8::format("%dx%d",
98 String8::format("%d,%d",
106 supportedPreviewFpsRange += String8::format("(%d,%d)",
162 ALOGW("%s: Camera %d: Unknown preview format: %x",
201 supportedPreviewFrameRates += String8::format("%d",
226 supportedPictureSizes += String8::format("%dx%d",
255 supportedJpegThumbSizes += String8::format("%dx%d",
728 zoomRatios += String8::format("%d", static_cast<int>(zoom * 100));
1069 ALOGE("%s: Preview format canno
1833 formatStringToEnum(const char *format) argument
1854 formatEnumToString(int format) argument
[all...]
/frameworks/base/core/java/android/view/
H A DWindow.java642 * Set the format of window, as per the PixelFormat types. This overrides
643 * the default format that is selected by the Window based on its
646 * @param format The new window format (see PixelFormat). Use
648 * the format.
652 public void setFormat(int format) { argument
654 if (format != PixelFormat.UNKNOWN) {
655 attrs.format = format;
658 attrs.format
1209 setDefaultWindowFormat(int format) argument
[all...]
H A DWindowManager.java1120 * The desired bitmap format. May be one of the constants in
1123 public int format; field in class:WindowManager.LayoutParams
1284 format = PixelFormat.OPAQUE;
1290 format = PixelFormat.OPAQUE;
1297 format = PixelFormat.OPAQUE;
1304 format = _format;
1311 format = _format;
1321 format = _format;
1351 out.writeInt(format);
1392 format
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java1849 * @param format The Chronometer format string, or null to
1853 public void setChronometer(int viewId, long base, String format, boolean started) { argument
1855 setString(viewId, "setFormat", format);
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp565 static int checkFormat(SkBitmap::Config config, int format, int type) argument
569 if (format == GL_PALETTE8_RGBA8_OES)
583 if (format == GL_LUMINANCE_ALPHA)
700 jobject jbitmap, jint format, jint type)
706 if (format < 0) {
707 format = getInternalFormat(config);
708 if (format == GL_PALETTE8_RGBA8_OES)
711 int err = checkFormat(config, format, type);
718 glTexSubImage2D(target, level, xoffset, yoffset, w, h, format, type, p);
698 util_texSubImage2D(JNIEnv *env, jclass clazz, jint target, jint level, jint xoffset, jint yoffset, jobject jbitmap, jint format, jint type) argument
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp493 ANativeActivity* activity, int32_t format) {
495 write_work(code->mainWorkWrite, CMD_SET_WINDOW_FORMAT, format);
840 jint format, jint width, jint height)
492 android_NativeActivity_setWindowFormat( ANativeActivity* activity, int32_t format) argument
839 onSurfaceChanged_native(JNIEnv* env, jobject clazz, jint handle, jobject surface, jint format, jint width, jint height) argument
H A Dandroid_opengl_GLES10.cpp340 /* void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ) */
343 (JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jobject data_buf) {
361 (GLenum)format,
3214 /* void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ) */
3217 (JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jobject pixels_buf) {
3233 (GLenum)format,
3670 /* void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) */
3673 (JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jobject pixels_buf) {
3693 (GLenum)format,
3724 /* void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenu
342 android_glCompressedTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint imageSize, jobject data_buf) argument
3216 android_glReadPixels__IIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jobject pixels_buf) argument
3672 android_glTexImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint border, jint format, jint type, jobject pixels_buf) argument
3726 android_glTexSubImage2D__IIIIIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jobject pixels_buf) argument
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp70 * made and reported for each of the known graphic format.
171 uint32_t format; member in class:Rectangle
242 uint32_t format; member in struct:meas
278 uint32_t maxOverlays(uint32_t format, bool allowOverlap);
279 list<uint32_t> supportedTransforms(uint32_t format);
280 list<uint32_t> supportedBlends(uint32_t format);
281 uint32_t dfMinWidth(uint32_t format);
282 uint32_t dfMinHeight(uint32_t format);
283 uint32_t dfMaxWidth(uint32_t format);
284 uint32_t dfMaxHeight(uint32_t format);
435 const struct hwcTestGraphicFormat *format; local
638 maxOverlays(uint32_t format, bool allowOverlap) argument
674 supportedTransforms(uint32_t format) argument
699 supportedBlends(uint32_t format) argument
724 dfMinWidth(uint32_t format) argument
748 dfMinHeight(uint32_t format) argument
772 dfMaxWidth(uint32_t format) argument
796 dfMaxHeight(uint32_t format) argument
821 dfMinDim(uint32_t format) argument
862 dfMaxDim(uint32_t format) argument
911 scMinWidth(uint32_t format, const HwcTestDim& dfDim) argument
931 scMinHeight(uint32_t format, const HwcTestDim& dfDim) argument
950 scMaxWidth(uint32_t format, const HwcTestDim& dfDim) argument
969 scMaxHeight(uint32_t format, const HwcTestDim& dfDim) argument
993 scMinDim(uint32_t format, const HwcTestDim& dfDim) argument
1034 scMaxDim(uint32_t format, const HwcTestDim& dfDim) argument
1099 scHScale(uint32_t format, const HwcTestDim& dfMin, const HwcTestDim& dfMax, const HwcTestDim& scMin, const HwcTestDim& scMax, HwcTestDim& outBestDf, HwcTestDim& outBestSc) argument
1198 scVScale(uint32_t format, const HwcTestDim& dfMin, const HwcTestDim& dfMax, const HwcTestDim& scMin, const HwcTestDim& scMax, HwcTestDim& outBestDf, HwcTestDim& outBestSc) argument
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java253 return String.format("family: %s, given: %s, middle: %s, prefix: %s, suffix: %s",
369 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", mType, mNumber,
459 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", mType, mAddress,
678 return String.format("type: %d, label: %s, isPrimary: %s, pobox: %s, "
835 return String.format(
938 return String.format(
984 public PhotoData(String format, byte[] photoBytes, boolean isPrimary) { argument
985 mFormat = format;
1044 return String.format("format
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpConstants.java158 // MTP format codes
159 /** Undefined format code */
276 * @param format the format of the object
279 public static boolean isAbstractObject(int format) { argument
280 switch (format) {
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java86 * By default GLSurfaceView will create a PixelFormat.RGB_888 format surface. If a translucent
88 * The exact format of a TRANSLUCENT surface is device dependent, but it will be
97 * By default GLSurfaceView chooses a EGLConfig that has an RGB_888 pixel format,
539 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument

Completed in 260 milliseconds

12345678910