Searched defs:format (Results 151 - 175 of 246) sorted by relevance

12345678910

/frameworks/base/core/java/android/app/
H A DNativeActivity.java100 int format, int width, int height);
289 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
292 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height);
364 void setWindowFormat(int format) { argument
365 getWindow().setFormat(format);
99 onSurfaceChangedNative(int handle, Surface surface, int format, int width, int height) argument
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp282 int format, int quality,
286 switch (format) {
281 Bitmap_compress(JNIEnv* env, jobject clazz, SkBitmap* bitmap, int format, int quality, jobject jstream, jbyteArray jstorage) argument
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp50 int PCM16; //... format constants
51 int PCM8; //... format constants
182 // compare the format against the Java constants
185 ALOGE("Error creating AudioRecord: unsupported audio format.");
190 audio_format_t format = audioFormat==javaAudioRecordFields.PCM16 ? local
242 format, // word length, PCM
612 // Get the format constants from the AudioFormat class
H A Dandroid_text_format_Time.cpp302 const char* format = env->GetStringUTFChars(formatObject, NULL); local
304 String8 r = t.format(format, &locale);
306 env->ReleaseStringUTFChars(formatObject, format);
643 { "nativeCompare", "(Landroid/text/format/Time;Landroid/text/format/Time;)I", (void*)android_text_format_Time_compare },
656 jclass timeClass = env->FindClass("android/text/format/Time");
686 return AndroidRuntime::registerNativeMethods(env, "android/text/format/Time", gMethods, NELEM(gMethods));
H A Dcom_google_android_gles_jni_EGLImpl.cpp255 static PixelFormat convertPixelFormat(SkBitmap::Config format) argument
257 switch (format) {
296 pixmap.format = convertPixelFormat(nativeBitmap->config());
/frameworks/native/libs/gui/
H A DBufferQueue.cpp85 mConsumerName = String8::format("unnamed-%d-%d", getpid(), createProcessUniqueId());
259 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) {
261 ST_LOGV("dequeueBuffer: w=%d h=%d fmt=%#x usage=%#x", w, h, format, usage);
275 if (format == 0) {
276 format = mDefaultBufferFormat;
385 (uint32_t(buffer->format) != format) ||
409 w, h, format, usage, &error));
730 "default-format=%d, transform-hint=%02x, FIFO(%d)={%s}\n",
768 buf->format);
258 dequeueBuffer(int *outBuf, sp<Fence>& outFence, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument
[all...]
H A DSurfaceComposerClient.cpp448 PixelFormat format,
455 w, h, format, flags);
444 createSurface( const String8& name, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags) argument
/frameworks/native/opengl/libagl/
H A Ddxt.cpp132 * the true format is GL_COMPRESSED_RGB_S3TC_DXT1_EXT or
583 * 'format' indicates the type of compression and must be one of the following:
600 void *surface, int stride, int format)
609 switch (format) {
599 decodeDXT(const GLvoid *data, int width, int height, void *surface, int stride, int format) argument
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp165 PixelFormat format, uint32_t flags)
167 // this surfaces pixel format
169 status_t err = getPixelFormatInfo(format, &info);
171 ALOGE("unsupported pixelformat %d", format);
185 mFormat = format;
190 mCurrentOpacity = getOpacityForFormat(format);
193 mSurfaceTexture->setDefaultBufferFormat(format);
395 bool Layer::getOpacityForFormat(uint32_t format) argument
397 if (HARDWARE_IS_DEVICE_FORMAT(format)) {
401 status_t err = getPixelFormatInfo(PixelFormat(format),
164 setBuffers( uint32_t w, uint32_t h, PixelFormat format, uint32_t flags) argument
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java69 // cached property groups for all properties for a given format
257 private int beginSendObject(String path, int format, int parent, argument
284 values.put(Files.FileColumns.FORMAT, format);
303 private void endSendObject(String path, int handle, int format, boolean succeeded) { argument
307 if (format == MtpConstants.FORMAT_ABSTRACT_AV_PLAYLIST) {
322 values.put(Files.FileColumns.FORMAT, format);
331 mMediaScanner.scanMtpFile(path, mVolumeName, handle, format);
338 private Cursor createObjectQuery(int storageID, int format, int parent) throws RemoteException { argument
344 if (format == 0) {
359 // query specific format
437 getObjectList(int storageID, int format, int parent) argument
463 getNumObjects(int storageID, int format, int parent) argument
634 getSupportedObjectProperties(int format) argument
667 getObjectPropertyList(long handle, int format, long property, int groupCode, int depth) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp113 const sp<AMessage> &format,
124 return mCodec->configure(format, mSurfaceTextureClient, crypto, flags);
194 status_t JMediaCodec::getOutputFormat(JNIEnv *env, jobject *format) const {
201 return ConvertMessageToMap(env, msg, format);
363 sp<AMessage> format; local
364 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, &format);
390 err = codec->configure(format, surfaceTexture, crypto, flags);
674 jobject format; local
675 status_t err = codec->getOutputFormat(env, &format);
678 return format;
112 configure( const sp<AMessage> &format, const sp<ISurfaceTexture> &surfaceTexture, const sp<ICrypto> &crypto, int flags) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java70 GLFrame(FrameFormat format, FrameManager frameManager) { argument
71 super(format, frameManager);
74 GLFrame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { argument
75 super(format, frameManager, bindingType, bindingId);
79 FrameFormat format = getFormat();
82 // Check that we have a valid format
83 if (format.getBytesPerSample() != 4) {
85 } else if (format.getDimensionCount() != 2) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java277 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
282 super.onSurfaceChanged(holder, format, width, height);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp394 audio_format_t format, int bufferCount,
407 ALOGV("open(%u, %d, %d, %d)", sampleRate, channelCount, format, bufferCount);
442 format,
452 format,
392 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
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorAudioDecoder.cpp56 const sp<MetaData>& format, void *decoderShellContext);
73 VideoEditorAudioDecoderSource(const sp<MetaData>& format,
112 const sp<MetaData>& format, void *decoderShellContext) {
115 new VideoEditorAudioDecoderSource(format, decoderShellContext);
121 const sp<MetaData>& format, void* decoderShellContext):
122 mFormat(format),
530 VIDEOEDITOR_CHECK(!"AudioDecoder_open : incorrect input format",
111 Create( const sp<MetaData>& format, void *decoderShellContext) argument
120 VideoEditorAudioDecoderSource( const sp<MetaData>& format, void* decoderShellContext) argument
H A DVideoEditorVideoEncoder.cpp67 const sp<MetaData> &format);
89 VideoEditorVideoEncoderSource(const sp<MetaData> &format);
107 const sp<MetaData> &format) {
110 new VideoEditorVideoEncoderSource(format);
115 const sp<MetaData> &format):
121 mEncFormat(format) {
367 // For H264, format the DSI
433 M4OSA_ERR VideoEditorVideoEncoder_init(M4ENCODER_Format format, argument
443 ALOGV("VideoEditorVideoEncoder_init begin: format %d", format);
106 Create( const sp<MetaData> &format) argument
114 VideoEditorVideoEncoderSource( const sp<MetaData> &format) argument
1216 VideoEditorVideoEncoder_getInterface(M4ENCODER_Format format, M4ENCODER_Format* pFormat, M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode) argument
[all...]
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp337 status_t AudioSystem::getInputBufferSize(uint32_t sampleRate, audio_format_t format, argument
343 if ((inBuffSize == 0) || (sampleRate != gPrevInSamplingRate) || (format != gPrevInFormat)
350 inBuffSize = af->getInputBufferSize(sampleRate, format, channelMask);
354 gPrevInFormat = format;
452 ALOGV("ioConfigChanged() new output samplingRate %d, format %d channels %#x frameCount %d latency %d",
453 outputDesc->samplingRate, outputDesc->format, outputDesc->channels, outputDesc->frameCount, outputDesc->latency);
474 ALOGV("ioConfigChanged() new config for output %d samplingRate %d, format %d channels %#x frameCount %d latency %d",
475 ioHandle, desc->samplingRate, desc->format,
590 audio_format_t format,
596 return aps->getOutput(stream, samplingRate, format, channelMas
588 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags) argument
624 getInput(audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, int sessionId) argument
[all...]
H A DAudioTrack.cpp65 // audio_format_t format
105 audio_format_t format,
118 mStatus = set(streamType, sampleRate, format, channelMask,
127 int format,
139 mStatus = set((audio_stream_type_t)streamType, sampleRate, (audio_format_t)format,
148 audio_format_t format,
161 mStatus = set(streamType, sampleRate, format, channelMask,
189 audio_format_t format,
225 if (format == AUDIO_FORMAT_DEFAULT) {
226 format
102 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
124 AudioTrack( int streamType, uint32_t sampleRate, int format, int channelMask, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
145 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const sp<IMemory>& sharedBuffer, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
186 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId) argument
342 audio_format_t AudioTrack::format() const function in class:android::AudioTrack
749 createTrack_l( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output) argument
[all...]
H A DIAudioFlinger.cpp90 audio_format_t format,
106 data.writeInt32(format);
139 audio_format_t format,
153 data.writeInt32(format);
200 virtual audio_format_t format(audio_io_handle_t output) const function in class:android::BpAudioFlinger
356 virtual size_t getInputBufferSize(uint32_t sampleRate, audio_format_t format, argument
362 data.writeInt32(format);
379 audio_format_t format = pFormat ? *pFormat : AUDIO_FORMAT_DEFAULT; local
387 data.writeInt32(format);
398 format
86 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
135 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument
454 audio_format_t format = pFormat ? *pFormat : AUDIO_FORMAT_DEFAULT; local
724 audio_format_t format = (audio_format_t) data.readInt32(); local
746 audio_format_t format = (audio_format_t) data.readInt32(); local
875 audio_format_t format = (audio_format_t) data.readInt32(); local
885 audio_format_t format = (audio_format_t) data.readInt32(); local
932 audio_format_t format = (audio_format_t) data.readInt32(); local
[all...]
H A DMediaProfiles.cpp296 const int format = findTagForName(sFileFormatMap, nMappings, atts[1]); local
297 CHECK(format != -1);
299 return static_cast<output_format>(format);
1114 if (!strcmp("file.format", name)) return mCamcorderProfiles[index]->mFileFormat;
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h95 audio_format_t format, int bufferCount,
196 audio_format_t format, int bufferCount = 1,
210 audio_format_t format() const { return mFormat; } function in class:android::MediaPlayerService::AudioCache
/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp629 ALOGW("Unsupported video format '%c%c%c%c'",
704 uint32_t format = U16LE_AT(data); local
706 if (format == 0x55) {
709 ALOGW("Unsupported audio format = 0x%04x", format);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
H A DarmCOMM_s.h806 ;// M_PRINTF $format, $val0, $val1, $val2
816 M_PRINTF $format, $val0, $val1, $val2
863 DCB "$format", 0
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
H A DarmCOMM_s.h809 ;// M_PRINTF $format, $val0, $val1, $val2
819 M_PRINTF $format, $val0, $val1, $val2
866 DCB "$format", 0
/frameworks/av/media/mtp/
H A DMtpServer.cpp275 uint64_t size, MtpObjectFormat format, int fd) {
276 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd);
537 MtpObjectFormat format = mRequest.getParameter(1);
538 MtpObjectPropertyList* properties = mDatabase->getSupportedObjectProperties(format);
548 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats local
555 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent);
565 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats local
571 int count = mDatabase->getNumObjects(storageID, format, parent);
664 uint32_t format = mRequest.getParameter(2); local
668 ALOGV("GetObjectPropList %d format
274 addEditObject(MtpObjectHandle handle, MtpString& path, uint64_t size, MtpObjectFormat format, int fd) argument
721 MtpObjectFormat format; local
784 MtpObjectFormat format; local
830 MtpObjectFormat format; local
840 MtpObjectFormat format = mData.getUInt16(); local
1047 MtpObjectFormat format = mRequest.getParameter(2); local
1068 MtpObjectFormat format = mRequest.getParameter(2); local
1182 MtpObjectFormat format; local
[all...]

Completed in 312 milliseconds

12345678910