Home
last modified time | relevance | path

Searched refs:inFormat (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libmediaformatshaper/
DVQApply.cpp55 int VQApply(CodecProperties *codec, vqOps_t *info, AMediaFormat* inFormat, int flags) { in VQApply() argument
56 ALOGV("codecName %s inFormat %p flags x%x", codec->getName().c_str(), inFormat, flags); in VQApply()
60 if (AMediaFormat_getInt32(inFormat, AMEDIAFORMAT_KEY_BITRATE_MODE, &bitRateMode) in VQApply()
87 (void) AMediaFormat_getInt32(inFormat, AMEDIAFORMAT_KEY_WIDTH, &width); in VQApply()
89 (void) AMediaFormat_getInt32(inFormat, AMEDIAFORMAT_KEY_HEIGHT, &height); in VQApply()
102 AMediaFormat_setInt32(inFormat, "android._encoding-quality-level", 0); in VQApply()
115 AMediaFormat_setInt32(inFormat, "android._encoding-quality-level", qualityTarget); in VQApply()
120 AMediaFormat_setInt32(inFormat, "android._encoding-quality-level", 0); in VQApply()
132 (void) AMediaFormat_getInt32(inFormat, AMEDIAFORMAT_KEY_BIT_RATE, &bitrateConfiguredTmp); in VQApply()
161 bool qpPresent = hasQpMax(inFormat); in VQApply()
[all …]
DVideoShaper.cpp61 int videoShaper(CodecProperties *codec, AMediaFormat* inFormat, int flags) { in videoShaper() argument
65 ALOGV("codec %s inFormat %p flags x%x", codec->getName().c_str(), inFormat, flags); in videoShaper()
84 (void) VQApply(codec, info, inFormat, flags); in videoShaper()
89 qpSpreadPerFrameType(inFormat, info->qpDelta, info->qpMin, info->qpMax, /* override */ true); in videoShaper()
DVideoShaper.h27 int videoShaper(CodecProperties *codec, AMediaFormat* inFormat, int flags);
DFormatShaper.cpp43 int shapeFormat(shaperHandle_t shaper, AMediaFormat* inFormat, int flags) { in shapeFormat() argument
58 (void) videoShaper(codec, inFormat, flags); in shapeFormat()
DVQops.h36 int VQApply(CodecProperties *codec, vqOps_t *info, AMediaFormat* inFormat, int flags);
/frameworks/native/libs/ui/
DGraphicBuffer.cpp79 PixelFormat inFormat, uint32_t inUsage, std::string requestorName) in GraphicBuffer() argument
80 : GraphicBuffer(inWidth, inHeight, inFormat, 1, static_cast<uint64_t>(inUsage), requestorName) in GraphicBuffer()
84 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, in GraphicBuffer() argument
87 mInitCheck = initWithSize(inWidth, inHeight, inFormat, inLayerCount, inUsage, in GraphicBuffer()
93 PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument
96 inWidth, inHeight, inFormat, inLayerCount, static_cast<uint64_t>(inUsage), in GraphicBuffer()
102 uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, in GraphicBuffer() argument
105 mInitCheck = initWithHandle(inHandle, method, inWidth, inHeight, inFormat, inLayerCount, in GraphicBuffer()
147 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage) in reallocate() argument
155 inFormat == format && in reallocate()
[all …]
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBuffer.h93 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
131 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage,
136 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument
138 : GraphicBuffer(inHandle, method, inWidth, inHeight, inFormat, inLayerCount, in GraphicBuffer()
140 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
143 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
167 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage);
170 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage);
198 status_t isSupported(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
245 PixelFormat inFormat, uint32_t inLayerCount,
[all …]
/frameworks/native/libs/ui/include/ui/
DGraphicBuffer.h93 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
131 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage,
136 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument
138 : GraphicBuffer(inHandle, method, inWidth, inHeight, inFormat, inLayerCount, in GraphicBuffer()
140 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
143 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
167 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage);
170 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage);
198 status_t isSupported(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
245 PixelFormat inFormat, uint32_t inLayerCount,
[all …]
/frameworks/base/core/java/android/text/format/
DDateFormat.java422 public static CharSequence format(CharSequence inFormat, long inTimeInMillis) { in format() argument
423 return format(inFormat, new Date(inTimeInMillis)); in format()
433 public static CharSequence format(CharSequence inFormat, Date inDate) { in format() argument
436 return format(inFormat, c); in format()
451 public static boolean hasSeconds(CharSequence inFormat) { in hasSeconds() argument
452 return hasDesignator(inFormat, SECONDS); in hasSeconds()
465 public static boolean hasDesignator(CharSequence inFormat, char designator) { in hasDesignator() argument
466 if (inFormat == null) return false; in hasDesignator()
468 final int length = inFormat.length(); in hasDesignator()
472 final char c = inFormat.charAt(i); in hasDesignator()
[all …]
/frameworks/av/media/libmediaformatshaper/include/media/formatshaper/
DFormatShaper.h40 AMediaFormat* inFormat, int flags);
/frameworks/base/libs/hwui/apex/
Dandroid_bitmap.cpp213 AndroidBitmapCompressFormat inFormat, int32_t quality, void* userContext, in ABitmap_compress() argument
216 switch (inFormat) { in ABitmap_compress()