/frameworks/native/include/android/ |
H A D | native_window.h | 49 // The format of the buffer. One of WINDOW_FORMAT_* 50 int32_t format; member in struct:ANativeWindow_Buffer 83 * Return the current pixel format of the window surface. Returns a 89 * Change the format and size of the window buffers. 103 int32_t width, int32_t height, int32_t format);
|
/frameworks/native/libs/gui/ |
H A D | GraphicBufferAlloc.cpp | 35 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 D | GraphicBufferAllocator.cpp | 69 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 D | Pipe.h | 34 // 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 D | Utils.h | 47 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 D | NdkMediaMuxer.cpp | 56 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 D | NdefFormatable.java | 31 * 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 D | android_app_NativeActivity.h | 32 ANativeActivity* activity, int32_t format);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/ |
H A D | Android.mk | 58 $(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 D | Pipe.cpp | 28 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 D | SpdifStreamOut.h | 42 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 D | Camera3OutputStream.h | 42 uint32_t width, uint32_t height, int format, 50 uint32_t width, uint32_t height, size_t maxSize, int format, 69 uint32_t width, uint32_t height, int format,
|
/frameworks/base/libs/hwui/ |
H A D | RenderBufferCache.h | 44 * @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 D | RenderBufferCache.cpp | 110 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 D | SubtitleController.java | 224 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 D | SRTRenderer.java | 39 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 D | FilterEffect.java | 25 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 D | GLTextureTarget.java | 26 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 D | VideoTrackDecoder.java | 35 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 D | mipmap.cpp | 34 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 D | ARawAudioAssembler.cpp | 127 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 D | IOProfile.cpp | 36 // 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 D | TimeFormatter.java | 21 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 D | AudioMix.java | 45 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 D | ResizeFilter.java | 29 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()) {
|