Searched defs:format (Results 26 - 50 of 403) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/camera2/params/
H A DInputConfiguration.java35 * Create an input configration with the width, height, and user-defined format.
37 * <p>Images of an user-defined format are accessible by applications. Use
43 * @param format Format of the input buffers. One of ImageFormat or PixelFormat constants.
49 public InputConfiguration(int width, int height, int format) { argument
52 mFormat = format;
74 * Get the format of this input configration.
76 * @return format of this input configuration.
119 * <p> {@code "InputConfiguration(w:%d, h:%d, format:%d)"}, where {@code %d} represents
120 * the width, height, and format, respectively.</p>
126 return String.format("InputConfiguratio
[all...]
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
/frameworks/base/libs/hwui/
H A DRenderBufferCache.h45 * @param format The desired render buffer format
49 RenderBuffer* get(GLenum format, const uint32_t width, const uint32_t height);
81 RenderBufferEntry(GLenum format, const uint32_t width, const uint32_t height): argument
82 mBuffer(nullptr), mFormat(format), mWidth(width), mHeight(height) {
/frameworks/base/media/java/android/media/
H A DAudioMixPort.java45 public AudioMixPortConfig buildConfig(int samplingRate, int channelMask, int format, argument
47 return new AudioMixPortConfig(this, samplingRate, channelMask, format, gain);
H A DAudioPortConfig.java48 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, argument
53 mFormat = format;
80 * Audio format configuration (e.g AudioFormat.ENCODING_PCM_16BIT).
82 public int format() { method in class:AudioPortConfig
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DCropFilter.java29 import android.filterfw.format.ImageFormat;
30 import android.filterfw.format.ObjectFormat;
87 protected void createProgram(FilterContext context, FrameFormat format) { argument
89 if (mLastFormat != null && mLastFormat.getTarget() == format.getTarget()) return;
90 mLastFormat = format;
92 switch (format.getTarget()) {
117 // Create output format
H A DToRGBAFilter.java27 import android.filterfw.format.ImageFormat;
56 public FrameFormat getConvertedFormat(FrameFormat format) { argument
57 MutableFrameFormat result = format.mutableCopy();
63 public void createProgram(FilterContext context, FrameFormat format) { argument
64 mInputBPP = format.getBytesPerSample();
66 mLastFormat = format;
H A DToRGBFilter.java27 import android.filterfw.format.ImageFormat;
56 public FrameFormat getConvertedFormat(FrameFormat format) { argument
57 MutableFrameFormat result = format.mutableCopy();
63 public void createProgram(FilterContext context, FrameFormat format) { argument
64 mInputBPP = format.getBytesPerSample();
66 mLastFormat = format;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DVideoTrackDecoder.java35 protected VideoTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { argument
36 super(trackIndex, format, listener);
37 if (!DecoderUtil.isVideoFormat(format)) {
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapSurfaceViewActivity.java128 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLog.java30 public void debug(String format, Object... args) { argument
32 info(format, args);
37 public void debugNoln(String format, Object... args) { argument
39 String s = String.format(format, args);
44 public void info(String format, Object... args) { argument
45 String s = String.format(format, args);
49 public void error(String format, Object... args) { argument
50 String s = String.format(forma
54 exception(Throwable t, String format, Object... args) argument
[all...]
/frameworks/native/include/android/
H A Dbitmap.h51 /** Bitmap pixel format. */
53 /** No format. */
73 /** The bitmap pixel format. See {@link AndroidBitmapFormat} */
74 int32_t format; member in struct:__anon1287
/frameworks/native/opengl/tests/include/
H A DEGLUtils.h42 int32_t format,
79 int32_t format,
105 if (nativeVisualId>0 && format == nativeVisualId) {
128 int format; local
133 if ((err = window->query(window, NATIVE_WINDOW_FORMAT, &format)) < 0) {
137 return selectConfigForPixelFormat(dpy, attrs, format, outConfig);
76 selectConfigForPixelFormat( EGLDisplay dpy, EGLint const* attrs, int32_t format, EGLConfig* outConfig) argument
/frameworks/native/vulkan/include/vulkan/
H A Dvk_android_native_buffer.h44 // Gralloc format and usage requested when the buffer was allocated.
45 int format; member in struct:__anon1589
49 typedef VkResult (VKAPI_PTR *PFN_vkGetSwapchainGrallocUsageANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage);
56 VkFormat format,
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
H A DRSTestView.java55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
56 super.surfaceChanged(holder, format, w, h);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DRSTestView.java55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
56 super.surfaceChanged(holder, format, w, h);
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DRSTestView.java55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
56 super.surfaceChanged(holder, format, w, h);
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
H A DLVREV_Process.c58 LVM_INT32 format = 1; local
125 format = 2;
147 pInput = (LVM_INT32 *)(pInput +(SamplesToProcess*format));
/frameworks/av/media/libstagefright/
H A DMediaMuxer.cpp41 MediaMuxer::MediaMuxer(int fd, OutputFormat format) argument
42 : mFormat(format),
44 if (format == OUTPUT_FORMAT_MPEG_4) {
46 } else if (format == OUTPUT_FORMAT_WEBM) {
65 ssize_t MediaMuxer::addTrack(const sp<AMessage> &format) { argument
68 if (format.get() == NULL) {
69 ALOGE("addTrack() get a null format");
79 convertMessageToMetaData(format, trackMeta);
/frameworks/av/media/libstagefright/rtsp/
H A DARawAudioAssembler.cpp127 const char *desc, const sp<MetaData> &format) {
129 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_MLAW);
131 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_ALAW);
140 format->setInt32(kKeySampleRate, sampleRate);
141 format->setInt32(kKeyChannelCount, numChannels);
126 MakeFormat( const char *desc, const sp<MetaData> &format) argument
/frameworks/av/media/ndk/
H A DNdkMediaMuxer.cpp56 AMediaMuxer* AMediaMuxer_new(int fd, OutputFormat format) { argument
59 mData->mImpl = new MediaMuxer(fd, (android::MediaMuxer::OutputFormat)format);
81 ssize_t AMediaMuxer_addTrack(AMediaMuxer *muxer, const AMediaFormat *format) { argument
83 AMediaFormat_getFormat(format, &msg);
/frameworks/av/services/audioflinger/
H A DSpdifStreamOut.h42 audio_format_t format);
73 * @return format from the perspective of the application and the AudioFlinger.
97 MySPDIFEncoder(SpdifStreamOut *spdifStreamOut, audio_format_t format) argument
98 : SPDIFEncoder(format)
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioSession.h36 audio_format_t format,
49 audio_format_t format() const { return mConfig.format; } function in class:android::AudioSession
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DIOProfile.cpp28 // Sampling rate, format and channel mask must be specified in order to
34 audio_format_t format,
58 if (!audio_is_valid_format(format) ||
64 audio_format_t myUpdatedFormat = format;
74 if (checkExactAudioProfile(samplingRate, channelMask, format) != NO_ERROR) {
30 isCompatibleProfile(audio_devices_t device, String8 address, uint32_t samplingRate, uint32_t *updatedSamplingRate, audio_format_t format, audio_format_t *updatedFormat, audio_channel_mask_t channelMask, audio_channel_mask_t *updatedChannelMask, uint32_t flags) const argument
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.h96 // Create an input stream of width, height, and format.
97 virtual binder::Status createInputStream(int width, int height, int format,
191 // Find the closest dimensions for a given format in available stream configurations with
194 static bool roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format,
205 int32_t format; member in struct:android::CameraDeviceClient::InputStreamConfiguration

Completed in 683 milliseconds

1234567891011>>