/frameworks/native/opengl/libagl/ |
H A D | TextureObjectManager.cpp | 153 sur.format= native_buffer->format; 162 int format, int compressedFormat, int bpr) 183 surface.format = format; 215 mipmap.format = format; 223 if (curr->format != surface.format) { 160 reallocate( GLint level, int w, int h, int s, int format, int compressedFormat, int bpr) argument
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcRects.cpp | 68 * of the graphic format and then the display frame rectangle where 80 * a list of attributes and the format of their expected value. 145 Rectangle() : format(defaultFormat), transform(defaultTransform), 151 uint32_t format; member in class:Rectangle 368 const struct hwcTestGraphicFormat *format; local 375 testPrintE("Error parsing format from: %s", rectStr.c_str()); 378 format = hwcTestGraphicFormatLookup(str.c_str()); 379 if (format == NULL) { 380 testPrintE("Unknown graphic format in: %s", rectStr.c_str()); 383 rect.format [all...] |
H A D | hwcStress.cpp | 42 * row point to graphic buffers which use the same pixel format and 48 * in a particular row have the same pixel format and dimension, 546 * format and dimension. Each graphic buffer is uniformly filled with a 565 // All frames within a row have to have the same format and 570 int format = formatPtr->format; local 585 testPrintI(" frame %u width: %u height: %u format: %u %s", 586 row, w, h, format, hwcTestGraphicFormat2str(format)); 595 frames[row][col] = new GraphicBuffer(w, h, format, texUsag [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.cpp | 64 bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) { 65 return mProducer->dequeueBuffer(slot, fence, async, w, h, format, usage); 109 uint32_t height, uint32_t format, uint32_t usage) { 110 mProducer->allocateBuffers(async, width, height, format, usage); 63 dequeueBuffer(int* slot, sp<Fence>* fence, bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument 108 allocateBuffers(bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | ImsSMSDispatcher.java | 125 private void setImsSmsFormat(int format) { argument 126 // valid format? 127 switch (format) { 154 Rlog.e(TAG, "IMS format was unknown!"); 155 // failed to retrieve valid IMS SMS format info, set IMS to unregistered 212 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument 218 android.telephony.SmsMessage.createFromPdu(pdu, format); 229 if (format.equals(SmsConstants.FORMAT_3GPP)) { 231 ", format=" + format 356 getNewSubmitPduTracker(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int format, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart, AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri, String fullMessageText) argument 397 isCdmaFormat(String format) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSMSDispatcher.java | 97 fillIn.putExtra("format", getFormat()); 155 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmSMSDispatcher.java | 85 * Handles 3GPP format-specific events coming from the phone stack. 137 fillIn.putExtra("format", getFormat()); 203 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | RTSPSource.cpp | 541 sp<MetaData> format = mHandler->getTrackFormat(i, &timeScale); local 544 CHECK(format->findCString(kKeyMIMEType, &mime)); 565 sp<AnotherPacketSource> source = new AnotherPacketSource(format);
|
/frameworks/av/media/libstagefright/ |
H A D | AudioPlayer.cpp | 94 // updated format, if there isn't, we'll stash away the valid buffer 116 sp<MetaData> format = mSource->getFormat(); local 118 bool success = format->findCString(kKeyMIMEType, &mime); 122 success = format->findInt32(kKeySampleRate, &mSampleRate); 126 success = format->findInt32(kKeyChannelCount, &numChannels); 129 if(!format->findInt32(kKeyChannelMask, &channelMask)) { 132 "source format didn't specify channel mask, using (%d) channel order", numChannels); 147 if ((audioFormat == AUDIO_FORMAT_AAC) && format->findInt32(kKeyAACAOT, &aacaot)) { 148 // Redefine AAC format corrosponding to aac profile 154 format [all...] |
H A D | MediaCodecSource.cpp | 259 const sp<AMessage> &format, 263 new MediaCodecSource(looper, format, source, flags); 400 ALOGV("output format is '%s'", mOutputFormat->debugString(0).c_str()); 257 Create( const sp<ALooper> &looper, const sp<AMessage> &format, const sp<MediaSource> &source, uint32_t flags) argument
|
H A D | StagefrightMetadataRetriever.cpp | 153 sp<MetaData> format = source->getFormat(); local 157 // remove this check and always set the decoder output color format 159 format->setInt32(kKeyColorFormat, OMX_COLOR_FormatYUV420Planar); 164 client->interface(), format, false, source, 179 // Read one output buffer, ignore format change notifications 306 ALOGE("Unable to instantiate color conversion from format 0x%08x to " 568 // If multiple text tracks present, the format will look
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaExtractor.cpp | 129 sp<AMessage> format; local 130 mData->mImpl->getTrackFormat(idx, &format); 131 return AMediaFormat_fromMsg(&format); 223 sp<AMessage> format; local 224 ex->mImpl->getFileFormat(&format); 226 if(!format->findBuffer("pssh", &buffer)) { 230 // the format of the buffer is 1 or more of:
|
/frameworks/av/services/audioflinger/ |
H A D | TrackBase.h | 61 audio_format_t format, 103 audio_format_t format() const { return mFormat; } function in class:TrackBase
|
H A D | test-resample.cpp | 60 fprintf(stderr," -O # frames output per call to resample() in CSV format\n"); 61 fprintf(stderr," -P # frames provided per call to resample() in CSV format\n"); 65 // Convert a list of integers in CSV format to a Vector of those values. 212 info.format = 0; 332 audio_format_t format = useFloat ? AUDIO_FORMAT_PCM_FLOAT : AUDIO_FORMAT_PCM_16_BIT; local 345 AudioResampler* resampler = AudioResampler::create(format, channels, 383 AudioResampler* resampler = AudioResampler::create(format, channels, 460 // For float processing, convert output format from float to Q4.27, 499 info.format = SF_FORMAT_WAV | SF_FORMAT_PCM_16;
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyInterfaceImplLegacy.cpp | 132 audio_format_t format, 146 format, channelMask, flags, offloadInfo); 237 audio_format_t format, 267 format, channelMask, (audio_in_acoustics_t) 0); 568 audio_format_t format, 580 *output = getOutput(*stream, samplingRate, format, channelMask, 130 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 233 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 __unused) argument 563 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session __unused, 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
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | CameraDeviceUserShim.java | 507 public int createStream(int width, int height, int format, Surface surface) { argument
|
H A D | LegacyMetadataMapper.java | 264 * Use platform-internal format constants here, since StreamConfigurationMap does the 265 * remapping to public format constants. 289 Log.v(TAG, String.format("mapScalerStreamConfigs - largest JPEG area %dx%d, AR=%f", 305 Log.v(TAG, String.format( 330 for (int format : p.getSupportedPreviewFormats()) { 331 if (ImageFormat.isPublicFormat(format) && format != ImageFormat.NV21) { 332 appendStreamConfig(availableStreamConfigs, format, previewSizes); 339 String.format("mapStreamConfigs - Skipping format 970 appendStreamConfig( ArrayList<StreamConfiguration> configs, int format, List<Camera.Size> sizes) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 181 static inline SkColorType convertPixelFormat(PixelFormat format) { argument 187 switch (format) { 226 env->SetIntField(canvasObj, gCanvasClassInfo.mSurfaceFormat, outBuffer.format); 229 convertPixelFormat(outBuffer.format), 231 if (outBuffer.format == PIXEL_FORMAT_RGBX_8888) { 236 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format);
|
/frameworks/base/libs/hwui/ |
H A D | LayerRenderer.cpp | 375 GLenum format; local 383 format = GL_ALPHA; 387 format = GL_RGB; 391 format = GL_RGBA; 396 format = GL_RGBA; 426 glTexImage2D(GL_TEXTURE_2D, 0, format, bitmap->width(), bitmap->height(), 427 0, format, type, NULL); 458 glReadPixels(0, 0, bitmap->width(), bitmap->height(), format,
|
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDevice.cpp | 223 jint storageID, jint format, jint objectID) 228 MtpObjectHandleList* handles = device->getObjectHandles(storageID, format, objectID); 222 android_mtp_MtpDevice_get_object_handles(JNIEnv *env, jobject thiz, jint storageID, jint format, jint objectID) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | Frame.java | 45 Frame(FrameFormat format, FrameManager frameManager) { argument 46 mFormat = format.mutableCopy(); 50 Frame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { argument 51 mFormat = format.mutableCopy(); 171 protected void setFormat(FrameFormat format) { argument 172 mFormat = format.mutableCopy();
|
H A D | FrameFormat.java | 180 FrameFormat format = (FrameFormat)object; 181 return format.mBaseType == mBaseType && 182 format.mTarget == mTarget && 183 format.mBytesPerSample == mBytesPerSample && 184 Arrays.equals(format.mDimensions, mDimensions) && 185 format.mMetaData.equals(mMetaData); 434 boolean isReplaceableBy(FrameFormat format) { argument 435 return mTarget == format.mTarget 436 && getSize() == format.getSize() 437 && Arrays.equals(format [all...] |
/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/native/libs/gui/ |
H A D | IGraphicBufferProducer.cpp | 94 uint32_t w, uint32_t h, uint32_t format, uint32_t usage) { 100 data.writeInt32(format); 258 uint32_t format, uint32_t usage) { 264 data.writeInt32(static_cast<int32_t>(format)); 305 uint32_t format = data.readInt32(); local 309 int result = dequeueBuffer(&buf, &fence, async, w, h, format, usage); 418 uint32_t format = static_cast<uint32_t>(data.readInt32()); local 420 allocateBuffers(async, width, height, format, usage); 93 dequeueBuffer(int *buf, sp<Fence>* fence, bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument 257 allocateBuffers(bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument
|
/frameworks/native/libs/gui/tests/ |
H A D | IGraphicBufferProducer_test.cpp | 47 // Default format before setDefaultBufferFormat is called 118 // -- uses the default buffer format, width, etc. 198 status_t dequeueBuffer(bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage, DequeueBufferResult* result) { argument 199 return mProducer->dequeueBuffer(&result->slot, &result->fence, async, w, h, format, usage);
|