Searched refs:format (Results 76 - 100 of 1137) sorted by relevance

1234567891011>>

/frameworks/native/include/android/
H A Dnative_window.h71 // The format of the buffer. One of WINDOW_FORMAT_*
72 int32_t format; member in struct:ANativeWindow_Buffer
105 * Return the current pixel format of the window surface. Returns a
111 * Change the format and size of the window buffers.
125 int32_t width, int32_t height, int32_t format);
/frameworks/native/libs/gui/
H A DGraphicBufferAlloc.cpp35 uint32_t height, PixelFormat format, uint32_t usage, status_t* error) {
37 new GraphicBuffer(width, height, format, usage));
34 createGraphicBuffer(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, status_t* error) argument
/frameworks/native/libs/ui/
H A DGraphicBufferAllocator.cpp69 rec.width, rec.stride, rec.height, rec.format, rec.usage);
73 rec.width, rec.stride, rec.height, rec.format, rec.usage);
94 PixelFormat format, uint32_t usage, buffer_handle_t* handle,
112 static_cast<int>(height), format, static_cast<int>(usage), handle,
117 width, height, format, usage, err, strerror(-err));
122 uint32_t bpp = bytesPerPixel(format);
127 rec.format = format;
93 alloc(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, buffer_handle_t* handle, uint32_t* stride) argument
/frameworks/av/include/media/nbaio/
H A DPipe.h34 // which must be of size roundup(maxFrames) * Format_frameSize(format) bytes.
35 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL);
44 //virtual NBAIO_Format format() const;
/frameworks/av/include/media/stagefright/
H A DUtils.h47 const sp<MetaData> &meta, sp<AMessage> *format);
49 const sp<AMessage> &format, sp<MetaData> &meta);
54 status_t mapMimeToAudioFormat(audio_format_t& format, const char* mime);
57 void mapAACProfileToAudioFormat(audio_format_t& format, uint64_t eAacProfile);
/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/base/core/java/android/nfc/tech/
H A DNdefFormatable.java31 * Provide access to NDEF format operations on a {@link Tag}.
36 * class for tags for which it can format to NDEF.
93 public void format(NdefMessage firstMessage) throws IOException, FormatException { method in class:NdefFormatable
94 format(firstMessage, false);
116 format(firstMessage, true);
119 /*package*/ void format(NdefMessage firstMessage, boolean makeReadOnly) throws IOException, method in class:NdefFormatable
138 // Now check and see if the format worked
/frameworks/base/include/android_runtime/
H A Dandroid_app_NativeActivity.h32 ANativeActivity* activity, int32_t format);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/
H A DAndroid.mk58 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/common \
59 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/converter \
60 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/decoder \
/frameworks/av/media/libnbaio/
H A DPipe.cpp28 Pipe::Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer) : argument
29 NBAIO_Sink(format),
31 mBuffer(buffer == NULL ? malloc(mMaxFrames * Format_frameSize(format)) : buffer),
/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/camera/libcameraservice/device3/
H A DCamera3OutputStream.h42 uint32_t width, uint32_t height, int format,
50 uint32_t width, uint32_t height, size_t maxSize, int format,
74 uint32_t width, uint32_t height, int format,
/frameworks/base/libs/hwui/
H A DRenderBufferCache.h44 * @param format The desired render buffer format
48 RenderBuffer* get(GLenum format, const uint32_t width, const uint32_t height);
84 RenderBufferEntry(GLenum format, const uint32_t width, const uint32_t height): argument
85 mBuffer(nullptr), mFormat(format), mWidth(width), mHeight(height) {
H A DRenderBufferCache.cpp110 RenderBuffer* RenderBufferCache::get(GLenum format, const uint32_t width, const uint32_t height) { argument
113 RenderBufferEntry entry(format, width, height);
124 RenderBuffer::formatName(format), width, height);
126 buffer = new RenderBuffer(format, width, height);
129 RenderBuffer::formatName(format), width, height);
/frameworks/base/media/java/android/media/
H A DSubtitleController.java224 MediaFormat format = track.getFormat();
225 String language = format.getString(MediaFormat.KEY_LANGUAGE);
227 format.getInteger(MediaFormat.KEY_IS_FORCED_SUBTITLE, 0) != 0;
229 format.getInteger(MediaFormat.KEY_IS_AUTOSELECT, 1) != 0;
231 format.getInteger(MediaFormat.KEY_IS_DEFAULT, 0) != 0;
317 * @param format the format of the track that will include at least
321 public SubtitleTrack addTrack(MediaFormat format) { argument
324 if (renderer.supports(format)) {
325 SubtitleTrack track = renderer.createTrack(format);
392 supports(MediaFormat format) argument
406 createTrack(MediaFormat format) argument
426 hasRendererFor(MediaFormat format) argument
[all...]
H A DSRTRenderer.java39 public boolean supports(MediaFormat format) { argument
40 if (format.containsKey(MediaFormat.KEY_MIME)) {
41 if (!format.getString(MediaFormat.KEY_MIME)
45 return mRender == (format.getInteger(MediaFormat.KEY_IS_TIMED_TEXT, 0) == 0);
51 public SubtitleTrack createTrack(MediaFormat format) { argument
57 return new SRTTrack(mRenderingWidget, format);
59 return new SRTTrack(mEventHandler, format);
73 SRTTrack(WebVttRenderingWidget renderingWidget, MediaFormat format) { argument
74 super(renderingWidget, format);
78 SRTTrack(Handler eventHandler, MediaFormat format) { argument
[all...]
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DFilterEffect.java25 import android.filterfw.format.ImageFormat;
87 FrameFormat format = ImageFormat.create(width, height,
90 Frame frame = manager.newBoundFrame(format,
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DGLTextureTarget.java26 import android.filterfw.format.ImageFormat;
50 FrameFormat format = ImageFormat.create(input.getFormat().getWidth(),
55 Frame frame = context.getFrameManager().newBoundFrame(format, GLFrame.EXISTING_TEXTURE_BINDING, mTexId);
/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/native/opengl/libagl/
H A Dmipmap.cpp34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]);
48 base->format, base->compressedFormat, bpr) != NO_ERROR) {
56 if (base->format == GGL_PIXEL_FORMAT_RGB_565)
79 else if (base->format == GGL_PIXEL_FORMAT_RGBA_5551)
99 else if (base->format == GGL_PIXEL_FORMAT_RGBA_8888)
126 else if ((base->format == GGL_PIXEL_FORMAT_RGB_888) ||
127 (base->format == GGL_PIXEL_FORMAT_LA_88) ||
128 (base->format == GGL_PIXEL_FORMAT_A_8) ||
129 (base->format == GGL_PIXEL_FORMAT_L_8))
132 switch (base->format) {
[all...]
/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/services/audiopolicy/common/managerdefinitions/src/
H A DIOProfile.cpp36 // Sampling rate, format and channel mask must be specified in order to
42 audio_format_t format,
76 if (!audio_is_valid_format(format)) {
79 if (isPlaybackThread && checkExactFormat(format) != NO_ERROR) {
82 audio_format_t myUpdatedFormat = format;
83 if (isRecordThread && checkCompatibleFormat(format, &myUpdatedFormat) != NO_ERROR) {
38 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/base/core/java/android/text/format/
H A DTimeFormatter.java21 package android.text.format;
90 public String format(String pattern, ZoneInfo.WallTime wallTime, ZoneInfo zoneInfo) { method in class:TimeFormatter
198 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"),
213 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"),
220 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"),
225 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), hour);
229 numberFormatter.format(getFormat(modifier, "%03d", "%3d", "%d", "%03d"),
233 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"),
238 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), n2);
241 numberFormatter.format(getForma
[all...]
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioMix.java45 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags) { argument
47 mFormat = format;
230 * @param format a non-null {@link AudioFormat} instance.
235 public Builder setFormat(AudioFormat format) argument
237 if (format == null) {
240 mFormat = format;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DResizeFilter.java29 import android.filterfw.format.ImageFormat;
68 protected void createProgram(FilterContext context, FrameFormat format) { argument
69 if (mLastFormat != null && mLastFormat.getTarget() == format.getTarget()) return;
70 mLastFormat = format;
71 switch (format.getTarget()) {

Completed in 648 milliseconds

1234567891011>>