/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLFrame.java | 70 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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | CameraMetadataTest.java | 268 builder.append(String.format("%x", elem)); 302 fail(String.format( 327 fail(String.format( 908 * - Use public image format constants here. 1305 int format, int width, int height, 1315 if (format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { 1317 // in this case the 'is output format supported' is vacuously true 1320 sizes = configMap.getOutputSizes(format); 1323 configMap.isOutputSupportedFor(format)); 1327 sizes = configMap.getInputSizes(format); 1304 checkStreamConfigurationMapByFormatSize(StreamConfigurationMap configMap, int format, int width, int height, boolean output) argument 1342 checkStreamConfigurationMapDurationByFormatSize( StreamConfigurationMap configMap, int format, int width, int height, Duration durationKind, long expectedDuration) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 270 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 275 super.onSurfaceChanged(holder, format, width, height);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 323 /*package*/ static boolean nativeCompress(long nativeBitmap, int format, int quality, argument
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraSettings.java | 243 * Sets the preview format. 245 * @param format 248 public void setPreviewFormat(int format) { argument 249 mCurrentPreviewFormat = format; 253 * @return The preview format. 284 * Sets the format for the photo. 286 * @param format The format for the photos taken. 289 public void setPhotoFormat(int format) { argument 290 mCurrentPhotoFormat = format; [all...] |
/frameworks/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 253 uint32_t width, uint32_t height, uint32_t format, uint32_t usage) { 260 BQ_LOGV("dequeueBuffer: async=%s w=%u h=%u format=%#x, usage=%#x", 261 async ? "true" : "false", width, height, format, usage); 277 if (format == 0) { 278 format = mCore->mDefaultBufferFormat; 314 (static_cast<uint32_t>(buffer->format) != format) || 329 "slot=%d w=%d h=%d format=%u", 330 found, buffer->width, buffer->height, buffer->format); 344 width, height, format, usag 251 dequeueBuffer(int *outSlot, sp<android::Fence> *outFence, bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument 906 allocateBuffers(bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 47 PixelFormat format; member in struct:android::CpuConsumerTestParams 53 << ::std::hex << p.format << "]"; 66 params.maxLockedBuffers, params.format); 168 switch(buf.format) { 214 ADD_FAILURE() << "Unknown format for check:" << buf.format; 430 void checkAnyBuffer(const CpuConsumer::LockedBuffer &buf, int format) { argument 431 switch (format) { 461 params.width, params.height, params.format); 482 // Produce one frame of image data; assumes format an [all...] |
H A D | SRGB_test.cpp | 215 void checkLockedBuffer(PixelFormat format) { argument 216 ASSERT_EQ(mLockedBuffer.format, format); 333 if (mLockedBuffer.format == outBuffer.format) { 336 ASSERT_EQ(mLockedBuffer.format, PIXEL_FORMAT_sRGB_A_8888); 337 ASSERT_EQ(outBuffer.format, PIXEL_FORMAT_RGBA_8888);
|
/frameworks/native/opengl/libagl/ |
H A D | dxt.cpp | 132 * 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 D | DisplayDevice.cpp | 56 int format, 90 config = RenderEngine::chooseEglConfig(display, format); 109 mFormat = format; 52 DisplayDevice( const sp<SurfaceFlinger>& flinger, DisplayType type, int32_t hwcId, int format, bool isSecure, const wp<IBinder>& displayToken, const sp<DisplaySurface>& displaySurface, const sp<IGraphicBufferProducer>& producer, EGLConfig config) argument
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 173 disp.format = mFbDev->format; 402 // FIXME: what should we set the format to? 403 mDisplayData[disp].format = HAL_PIXEL_FORMAT_RGBA_8888; 409 uint32_t w, uint32_t h, uint32_t format) { 415 mDisplayData[id].format = format; 467 return mDisplayData[disp].format; 829 return mFbDev->format; 1101 static String8 getFormatStr(PixelFormat format) { 408 setVirtualDisplayProperties(int32_t id, uint32_t w, uint32_t h, uint32_t format) argument [all...] |
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...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 367 static status_t selectEGLConfig(EGLDisplay display, EGLint format, argument 389 wantedAttributeValue = format; 403 EGLConfig RenderEngine::chooseEglConfig(EGLDisplay display, int format) { argument 408 err = selectEGLConfig(display, format, EGL_OPENGL_ES2_BIT, &config); 411 err = selectEGLConfig(display, format, EGL_OPENGL_ES_BIT, &config); 416 err = selectEGLConfig(display, format, 0, &config);
|
/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/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccSmsInterfaceManager.java | 411 * @param format is the format of SMS pdu (3gpp or 3gpp2) 417 public void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument 421 "\n format=" + format + 424 mDispatcher.injectSmsPdu(pdu, format, receivedIntent);
|
/frameworks/av/include/media/ |
H A D | AudioTrack.h | 84 // since we don't define the frame format 157 * format: Audio format. For mixed tracks, any PCM format supported by server is OK 159 * and offloaded tracks, the possible format(s) depends on the output sink. 180 audio_format_t format, 196 * The format must not be 8-bit linear PCM. 207 audio_format_t format, 233 * - BAD_VALUE: invalid parameter (channelMask, format, sampleRate...) 248 audio_format_t format, 280 audio_format_t format() const { return mFormat; } function in class:android::AudioTrack [all...] |
/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 141 audio_format_t format, 150 data.writeInt32(static_cast <uint32_t>(format)); 169 audio_format_t format, 204 data.writeInt32(static_cast <uint32_t>(format)); 271 audio_format_t format, 288 data.writeInt32(static_cast <uint32_t>(format)); 775 audio_format_t format = (audio_format_t) data.readInt32(); local 786 format, 808 audio_format_t format = (audio_format_t) data.readInt32(); local 820 samplingRate, format, channelMas 138 getOutput( audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument 164 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument 267 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags) argument 867 audio_format_t format = (audio_format_t) data.readInt32(); local [all...] |
H A D | MediaProfiles.cpp | 311 const int format = findTagForName(sFileFormatMap, nMappings, atts[1]); local 312 CHECK(format != -1); 314 return static_cast<output_format>(format); 1137 if (!strcmp("file.format", name)) return mCamcorderProfiles[index]->mFileFormat;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.h | 95 audio_format_t format, int bufferCount, 209 audio_format_t format, int bufferCount = 1, 227 audio_format_t format() const { return mFormat; } function in class:android::MediaPlayerService::AudioCache
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 966 void *format; local 969 CHECK(response->findPointer("format", &format)); 970 return (MetaData *)format; 981 sp<MetaData> format = doGetFormatMeta(audio); local 982 response->setPointer("format", format.get()); 1083 sp<AMessage> format = new AMessage(); local 1099 format->setInt32("type", trackType); 1105 format [all...] |
H A D | NuPlayerRenderer.cpp | 305 const sp<AMessage> &format, 311 msg->setMessage("format", format); 341 sp<AMessage> format; local 342 CHECK(msg->findMessage("format", &format)); 353 status_t err = onOpenAudioSink(format, offloadOnly, hasVideo, flags); 1407 const sp<AMessage> &format, 1416 CHECK(format->findInt32("channel-count", &numChannels)); 1419 if (!format 304 openAudioSink( const sp<AMessage> &format, bool offloadOnly, bool hasVideo, uint32_t flags, bool *isOffloaded) argument 1406 onOpenAudioSink( const sp<AMessage> &format, bool offloadOnly, bool hasVideo, uint32_t flags) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AVIExtractor.cpp | 629 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);
|
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/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/ |
H A D | armCOMM_s.h | 820 ;// M_PRINTF $format, $val0, $val1, $val2 830 M_PRINTF $format, $val0, $val1, $val2 877 DCB "$format", 0
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/ |
H A D | armCOMM_s.h | 823 ;// M_PRINTF $format, $val0, $val1, $val2 833 M_PRINTF $format, $val0, $val1, $val2 880 DCB "$format", 0
|