Searched refs:format (Results 201 - 225 of 1700) sorted by relevance

1234567891011>>

/frameworks/native/libs/gui/tests/
H A DGLTest.cpp182 msg += String8::format("error reading pixel: %#x", err);
184 msg += String8::format(", %#x", err);
189 msg += String8::format("r(%d isn't %d)", pixel[0], r);
195 msg += String8::format("g(%d isn't %d)", pixel[1], g);
201 msg += String8::format("b(%d isn't %d)", pixel[2], b);
207 msg += String8::format("a(%d isn't %d)", pixel[3], a);
221 msg += String8::format("left(%d isn't %d)", r1.left, r2.left);
227 msg += String8::format("top(%d isn't %d)", r1.top, r2.top);
233 msg += String8::format("right(%d isn't %d)", r1.right, r2.right);
239 msg += String8::format("botto
[all...]
/frameworks/rs/
H A DrsGrallocConsumer.cpp40 int32_t format = AIMAGE_FORMAT_RGBA_8888; local
42 format = AIMAGE_FORMAT_YUV_420_888;
46 width, height, format,
110 int32_t format = -1; local
111 ret = AImage_getFormat(img, &format);
112 if (ret != AMEDIA_OK || format == -1) {
113 ALOGE("%s: get format for image %p failed! ret: %d, format %d",
114 __FUNCTION__, img, ret, format);
118 if (format !
[all...]
/frameworks/av/media/libaudioprocessing/
H A DBufferProviders.cpp21 #include <audio_utils/format.h>
138 audio_channel_mask_t outputChannelMask, audio_format_t format,
141 audio_bytes_per_sample(format) * audio_channel_count_from_out_mask(inputChannelMask),
142 audio_bytes_per_sample(format) * audio_channel_count_from_out_mask(outputChannelMask),
146 this, inputChannelMask, outputChannelMask, format,
169 mDownmixConfig.inputCfg.format = format;
170 mDownmixConfig.outputCfg.format = format;
182 audio_bytes_per_sample(format) * audio_channel_count_from_out_mas
136 DownmixerBufferProvider( audio_channel_mask_t inputChannelMask, audio_channel_mask_t outputChannelMask, audio_format_t format, uint32_t sampleRate, int32_t sessionId, size_t bufferFrameCount) argument
332 RemixBufferProvider(audio_channel_mask_t inputChannelMask, audio_channel_mask_t outputChannelMask, audio_format_t format, size_t bufferFrameCount) argument
379 TimestretchBufferProvider(int32_t channelCount, audio_format_t format, uint32_t sampleRate, const AudioPlaybackRate &playbackRate) argument
[all...]
/frameworks/av/cmds/stagefright/
H A Dmuxer.cpp101 sp<AMessage> format; local
102 status_t err = extractor->getTrackFormat(i, &format);
104 ALOGV("extractor getTrackFormat: %s", format->debugString().c_str());
107 CHECK(format->findString("mime", &mime));
122 CHECK(format->findInt32("width", &width));
123 CHECK(format->findInt32("height", &height));
128 CHECK(format->findInt64("durationUs", &duration));
144 ssize_t newTrackIndex = muxer->addTrack(format);
/frameworks/av/include/media/stagefright/
H A DMediaMuxer.h51 OUTPUT_FORMAT_LIST_END // must be last - used to validate format type
56 MediaMuxer(int fd, OutputFormat format);
61 * Add a track with its format information. This should be
63 * @param format the track's format.
66 ssize_t addTrack(const sp<AMessage> &format);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderBase.h36 void configure(const sp<AMessage> &format);
76 virtual void onConfigure(const sp<AMessage> &format) = 0;
/frameworks/av/media/libstagefright/codecs/raw/
H A DSoftRaw.cpp70 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
71 def.format.audio.pNativeRender = NULL;
72 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
73 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
88 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
89 def.format.audio.pNativeRender = NULL;
90 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
91 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
/frameworks/av/media/libstagefright/include/
H A DSoftwareRenderer.h41 void *platformPrivate, const sp<AMessage> &format);
63 void resetFormatIfChanged(const sp<AMessage> &format);
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DMediaMuxer.h51 OUTPUT_FORMAT_LIST_END // must be last - used to validate format type
56 MediaMuxer(int fd, OutputFormat format);
61 * Add a track with its format information. This should be
63 * @param format the track's format.
66 ssize_t addTrack(const sp<AMessage> &format);
/frameworks/av/media/ndk/
H A DNdkImagePriv.h35 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer,
54 media_status_t getFormat(/*out*/int32_t* format) const;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioProfile.cpp32 audio_format_t format) const
34 if (audio_formats_match(format, mFormat) &&
191 snprintf(buffer, SIZE, "%s%s%s\n", mIsDynamicFormat ? "[dynamic format]" : "",
201 snprintf(buffer, SIZE, "%*s- format: %s\n", spaces, "", formatLiteral.c_str());
230 audio_format_t format) const
238 if (profile->checkExact(samplingRate, channelMask, format) == NO_ERROR) {
247 audio_format_t &format,
255 const bool checkInexact = // when port is input and format is linear pcm
257 && audio_is_linear_pcm(format);
259 // iterate from best format t
245 checkCompatibleProfile(uint32_t &samplingRate, audio_channel_mask_t &channelMask, audio_format_t &format, audio_port_type_t portType, audio_port_role_t portRole) const argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableStreamConfiguration.java32 * <p>Data is stored as {@code (format, width, height, input?)} tuples (int32).</p>
54 int format = buffer.getInt();
59 return new StreamConfiguration(format, width, height, input);
H A DMarshalQueryableStreamConfigurationDuration.java32 * Data is stored as {@code (format, width, height, durationNs)} tuples (int64).
63 int format = (int)buffer.getLong();
68 return new StreamConfigurationDuration(format, width, height, durationNs);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfiguration.java37 * for that format) that are supported by a camera device.</p>
48 * @param format image format
55 * or if the format was not user-defined in ImageFormat/PixelFormat
61 final int format, final int width, final int height, final boolean input) {
62 mFormat = checkArgumentFormatInternal(format);
69 * Get the internal image {@code format} in this stream configuration.
71 * @return an integer format
60 StreamConfiguration( final int format, final int width, final int height, final boolean input) argument
H A DStreamConfigurationDuration.java29 * Immutable class to store a time duration for any given format/size combination.
42 * @param format image format
49 * or if the format was not user-defined in ImageFormat/PixelFormat
56 final int format, final int width, final int height, final long durationNs) {
57 mFormat = checkArgumentFormatInternal(format);
64 * Get the internal image {@code format} in this stream configuration duration
66 * @return an integer format
55 StreamConfigurationDuration( final int format, final int width, final int height, final long durationNs) argument
/frameworks/base/core/java/android/util/
H A DDebugUtils.java155 value = String.format("%.2f", result);
157 value = String.format("%.1f", result);
159 value = String.format("%.0f", result);
161 value = String.format("%.0f", result);
196 value = String.format("%.2f", result);
198 value = String.format("%.1f", result);
200 value = String.format("%.0f", result);
202 value = String.format("%.0f", result);
/frameworks/base/core/java/android/view/
H A DSurfaceHolder.java24 * control the surface size and format, edit the pixels in the surface, and
82 * This is called immediately after any structural changes (format or
88 * @param format The new PixelFormat of the surface.
92 public void surfaceChanged(SurfaceHolder holder, int format, int width, argument
205 * @param format A constant from PixelFormat.
209 public void setFormat(int format); argument
/frameworks/base/media/java/android/media/
H A DAudioDevicePort.java58 * Get the device address. Address format varies with the device type.
76 public AudioDevicePortConfig buildConfig(int samplingRate, int channelMask, int format, argument
78 return new AudioDevicePortConfig(this, samplingRate, channelMask, format, gain);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrameManager.java31 public abstract Frame newFrame(FrameFormat format); argument
33 public abstract Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId); argument
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDrawOverlayFilter.java26 import android.filterfw.format.ImageFormat;
27 import android.filterfw.format.ObjectFormat;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraBinderTest.java161 assertNotNull(String.format("Camera %s was null", cameraId), cameraUser);
163 Log.v(TAG, String.format("Camera %s connected", cameraId));
183 assertNotNull(String.format("Camera %s was null", cameraId), cameraUser);
185 Log.v(TAG, String.format("Camera %s connected as HAL1 legacy device", cameraId));
292 assertNotNull(String.format("Camera %s was null", cameraId), cameraUser);
294 Log.v(TAG, String.format("Camera %s connected", cameraId));
304 Log.v(TAG, String.format("Camera %s has status changed to 0x%x", cameraId, status));
308 Log.v(TAG, String.format("Camera %s has torch status changed to 0x%x",
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
H A DAlarmImpl.java56 Log.d(LOG_TAG, String.format("Alarm set: %d, giving up wake lock", atTime));
67 Log.d(LOG_TAG, String.format("Alarm triggered, done waiting"));
/frameworks/hardware/interfaces/vr/composer/1.0/
H A DIVrComposerClient.hal51 * Buffer pixel format.
53 PixelFormat format;
/frameworks/native/include/ui/
H A DGraphicBufferAllocator.h49 status_t allocate(uint32_t w, uint32_t h, PixelFormat format,
64 PixelFormat format; member in struct:android::GraphicBufferAllocator::alloc_rec_t
/frameworks/native/libs/nativewindow/include/android/
H A Dnative_window.h40 * Legacy window pixel format names, kept for backwards compatibility.
97 // The format of the buffer. One of AHARDWAREBUFFER_FORMAT_*
98 int32_t format; member in struct:ANativeWindow_Buffer
133 * Return the current pixel format (AHARDWAREBUFFER_FORMAT_*) of the window surface.
140 * Change the format and size of the window buffers.
153 * \param format one of AHARDWAREBUFFER_FORMAT_* constants.
157 int32_t width, int32_t height, int32_t format);

Completed in 590 milliseconds

1234567891011>>