Home
last modified time | relevance | path

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

/frameworks/av/media/module/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()
DFormatShaper.cpp43 int shapeFormat(shaperHandle_t shaper, AMediaFormat* inFormat, int flags) { in shapeFormat() argument
58 (void) videoShaper(codec, inFormat, flags); in shapeFormat()
DVideoShaper.h27 int videoShaper(CodecProperties *codec, AMediaFormat* inFormat, int flags);
DVQops.h36 int VQApply(CodecProperties *codec, vqOps_t *info, AMediaFormat* inFormat, int flags);
/frameworks/native/libs/ui/include/ui/
DGraphicBuffer.h103 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
143 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage,
148 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument
150 : GraphicBuffer(inHandle, method, inWidth, inHeight, inFormat, inLayerCount, in GraphicBuffer()
152 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
155 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
181 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage);
184 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage);
212 status_t isSupported(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
259 PixelFormat inFormat, uint32_t inLayerCount,
[all …]
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBuffer.h103 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
143 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage,
148 uint32_t inHeight, PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument
150 : GraphicBuffer(inHandle, method, inWidth, inHeight, inFormat, inLayerCount, in GraphicBuffer()
152 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
155 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
181 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage);
184 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage);
212 status_t isSupported(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat,
259 PixelFormat inFormat, uint32_t inLayerCount,
[all …]
/frameworks/native/libs/ui/
DGraphicBuffer.cpp111 PixelFormat inFormat, uint32_t inUsage, std::string requestorName) in GraphicBuffer() argument
112 : GraphicBuffer(inWidth, inHeight, inFormat, 1, static_cast<uint64_t>(inUsage), requestorName) in GraphicBuffer()
116 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, in GraphicBuffer() argument
119 mInitCheck = initWithSize(inWidth, inHeight, inFormat, inLayerCount, inUsage, in GraphicBuffer()
125 PixelFormat inFormat, uint32_t inLayerCount, uint32_t inUsage, in GraphicBuffer() argument
128 inWidth, inHeight, inFormat, inLayerCount, static_cast<uint64_t>(inUsage), in GraphicBuffer()
134 uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, in GraphicBuffer() argument
137 mInitCheck = initWithHandle(inHandle, method, inWidth, inHeight, inFormat, inLayerCount, in GraphicBuffer()
203 PixelFormat inFormat, uint32_t inLayerCount, uint64_t inUsage) in reallocate() argument
211 inFormat == format && in reallocate()
[all …]
/frameworks/base/tools/app_metadata_bundles/src/aslgen/java/com/android/aslgen/
DMain.java44 Format inFormat = AslConverter.Format.NULL; in main() local
65 inFormat = getFormat(argValue); in main()
81 if (inFormat == AslConverter.Format.NULL) { in main()
91 System.out.println("in format: " + inFormat); in main()
94 var asl = AslConverter.readFromStream(new FileInputStream(inFile), inFormat); in main()
/frameworks/base/core/java/android/text/format/
DDateFormat.java425 public static CharSequence format(CharSequence inFormat, long inTimeInMillis) { in format() argument
426 return format(inFormat, new Date(inTimeInMillis)); in format()
436 public static CharSequence format(CharSequence inFormat, Date inDate) { in format() argument
439 return format(inFormat, c); in format()
454 public static boolean hasSeconds(CharSequence inFormat) { in hasSeconds() argument
455 return hasDesignator(inFormat, SECONDS); in hasSeconds()
468 public static boolean hasDesignator(CharSequence inFormat, char designator) { in hasDesignator() argument
469 if (inFormat == null) return false; in hasDesignator()
471 final int length = inFormat.length(); in hasDesignator()
475 final char c = inFormat.charAt(i); in hasDesignator()
[all …]
/frameworks/av/media/module/libmediaformatshaper/include/media/formatshaper/
DFormatShaper.h40 AMediaFormat* inFormat, int flags);
/frameworks/base/libs/hwui/apex/
Dandroid_bitmap.cpp216 AndroidBitmapCompressFormat inFormat, int32_t quality, void* userContext, in ABitmap_compress() argument
219 switch (inFormat) { in ABitmap_compress()