Home
last modified time | relevance | path

Searched refs:quality (Results 1 – 25 of 93) sorted by relevance

1234

/hardware/qcom/camera/msm8998/usbcamcore/src/
DQCameraUsbParm.cpp648 int rc = 0, quality = 0; in usbCamSetJpegQlty() local
653 quality = params.getInt(QCameraParameters::KEY_JPEG_QUALITY); in usbCamSetJpegQlty()
654 ALOGI("%s: Requested picture qlty %d", __func__, quality); in usbCamSetJpegQlty()
656 if (quality >= 0 && quality <= 100) { in usbCamSetJpegQlty()
657 camHal->pictJpegQlty = quality; in usbCamSetJpegQlty()
659 camHal->qCamParams.set(QCameraParameters::KEY_JPEG_QUALITY, quality); in usbCamSetJpegQlty()
661 ALOGE("Invalid jpeg quality=%d", quality); in usbCamSetJpegQlty()
665 quality = params.getInt(QCameraParameters::KEY_JPEG_THUMBNAIL_QUALITY); in usbCamSetJpegQlty()
666 ALOGI("%s: Requested thumbnail qlty %d", __func__, quality); in usbCamSetJpegQlty()
668 if (quality >= 0 && quality <= 100) { in usbCamSetJpegQlty()
[all …]
/hardware/google/graphics/common/libhwjpeg/
DExynosJpegEncoderForCamera.cpp151 int ExynosJpegEncoderForCamera::setThumbnailQuality(int quality) { in setThumbnailQuality() argument
152 if (m_nThumbQuality == quality) return 0; in setThumbnailQuality()
154 if ((quality > 100) || (quality < 1)) { in setThumbnailQuality()
155 ALOGE("Invalid quality factor %d for thumbnail image", quality); in setThumbnailQuality()
159 m_nThumbQuality = quality; in setThumbnailQuality()
714 size_t ExynosJpegEncoderForCamera::CompressThumbnailOnly(size_t limit, int quality, in CompressThumbnailOnly() argument
762 if (!m_phwjpeg4thumb->SetQuality(quality)) { in CompressThumbnailOnly()
763 ALOGE("Failed to configure thumbnail quality factor %u", quality); in CompressThumbnailOnly()
775 quality = min(50, quality - 10); in CompressThumbnailOnly()
776 ALOGI_IF(quality >= 20, in CompressThumbnailOnly()
[all …]
/hardware/libhardware/modules/camera/3_4/arc/
Djpeg_compressor.h33 bool CompressImage(const void* image, int width, int height, int quality,
56 void SetJpegCompressStruct(int width, int height, int quality,
Djpeg_compressor.cpp27 int quality, const void* app1Buffer, in CompressImage() argument
35 if (!Encode(image, width, height, quality, app1Buffer, app1Size)) { in CompressImage()
121 void JpegCompressor::SetJpegCompressStruct(int width, int height, int quality, in SetJpegCompressStruct() argument
129 jpeg_set_quality(cinfo, quality, TRUE); in SetJpegCompressStruct()
Dexif_utils.cpp56 uint16_t height, int quality) { in Initialize() argument
63 if (quality < 1 || quality > 100) { in Initialize()
64 LOGF(ERROR) << "invalid jpeg quality " << quality; in Initialize()
67 thumbnail_jpeg_quality_ = quality; in Initialize()
Dexif_utils.h49 int quality);
/hardware/google/gfxstream/third-party/astc-encoder/
DREADME.md11 provides a major step forward in terms of both the image quality at a given
35 The encoder allows control over the compression time/quality tradeoff with
36 `exhaustive`, `thorough`, `medium`, `fast`, and `fastest` encoding quality
39 The encoder allows compression time and quality analysis by reporting the
53 content creators to use the full spectrum of quality-to-bitrate options ranging
129 footprint (3.56 bits/pixel). The `-medium` quality preset gives a reasonable
130 image quality for a relatively fast compression speed, so is a good starting
154 ## Measuring image quality
156 Review the compression quality using the `-tl` \ `-ts` \ `-th` \ `-tH` modes.
162 to compress the image, using the `-thorough` quality preset, and then
[all …]
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dstb_image_write.h180 …F int stbi_write_jpg(char const *filename, int x, int y, int comp, const void *data, int quality);
193 …func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality);
895 …EF unsigned char * stbi_zlib_compress(unsigned char *data, int data_len, int *out_len, int quality) in stbi_zlib_compress() argument
899 return STBIW_ZLIB_COMPRESS(data, data_len, out_len, quality); in stbi_zlib_compress()
911 if (quality < 5) quality = 5; in stbi_zlib_compress()
935 if (hash_table[h] && stbiw__sbn(hash_table[h]) == 2*quality) { in stbi_zlib_compress()
936 STBIW_MEMMOVE(hash_table[h], hash_table[h]+quality, sizeof(hash_table[h][0])*quality); in stbi_zlib_compress()
937 stbiw__sbn(hash_table[h]) = quality; in stbi_zlib_compress()
1398 …_jpg_core(stbi__write_context *s, int width, int height, int comp, const void* data, int quality) { in stbi_write_jpg_core() argument
1478 quality = quality ? quality : 90; in stbi_write_jpg_core()
[all …]
Dastcenc_entry.cpp41 float quality; member
479 float quality, in astcenc_config_init() argument
521 if (quality < ASTCENC_PRE_FASTEST || in astcenc_config_init()
522 quality > ASTCENC_PRE_EXHAUSTIVE) in astcenc_config_init()
547 if ((*preset_configs)[end].quality >= quality) in astcenc_config_init()
584 float wt_range = node_b.quality - node_a.quality; in astcenc_config_init()
588 float wt_node_a = (node_b.quality - quality) / wt_range; in astcenc_config_init()
589 float wt_node_b = (quality - node_a.quality) / wt_range; in astcenc_config_init()
Dastcenccli_toplevel.cpp475 float quality = 0.0f; in init_astcenc_config() local
508 quality = ASTCENC_PRE_FASTEST; in init_astcenc_config()
512 quality = ASTCENC_PRE_FAST; in init_astcenc_config()
516 quality = ASTCENC_PRE_MEDIUM; in init_astcenc_config()
520 quality = ASTCENC_PRE_THOROUGH; in init_astcenc_config()
524 quality = ASTCENC_PRE_VERYTHOROUGH; in init_astcenc_config()
528 quality = ASTCENC_PRE_EXHAUSTIVE; in init_astcenc_config()
532 quality = static_cast<float>(atof(argv[5])); in init_astcenc_config()
611 quality, flags, &config); in init_astcenc_config()
/hardware/google/gfxstream/third-party/stb/include/stb/
Dstb_image_write.h180 …F int stbi_write_jpg(char const *filename, int x, int y, int comp, const void *data, int quality);
193 …func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality);
895 …EF unsigned char * stbi_zlib_compress(unsigned char *data, int data_len, int *out_len, int quality) in stbi_zlib_compress() argument
899 return STBIW_ZLIB_COMPRESS(data, data_len, out_len, quality); in stbi_zlib_compress()
911 if (quality < 5) quality = 5; in stbi_zlib_compress()
935 if (hash_table[h] && stbiw__sbn(hash_table[h]) == 2*quality) { in stbi_zlib_compress()
936 STBIW_MEMMOVE(hash_table[h], hash_table[h]+quality, sizeof(hash_table[h][0])*quality); in stbi_zlib_compress()
937 stbiw__sbn(hash_table[h]) = quality; in stbi_zlib_compress()
1398 …_jpg_core(stbi__write_context *s, int width, int height, int comp, const void* data, int quality) { in stbi_write_jpg_core() argument
1478 quality = quality ? quality : 90; in stbi_write_jpg_core()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_IMG_filter_cubic.adoc16 `VK_IMG_filter_cubic` adds an additional, high quality cubic filtering mode
20 The cubic filter mode exposes an optimized high quality texture sampling
DVK_EXT_astc_decode_mode.adoc19 result gives acceptable image quality.
56 used, and thus whether the image quality is sufficient at reduced
/hardware/interfaces/biometrics/fingerprint/2.2/
DIBiometricsFingerprintClientCallback.hal29 * @param acquiredInfo a message about the quality of the acquired image
30 * @param vendorCode a vendor-specific message about the quality of the image. Only
/hardware/google/graphics/common/libhwjpeg/include/
DExynosJpegEncoderForCamera.h82 size_t CompressThumbnailOnly(size_t limit, int quality, unsigned int v4l2Format,
118 int setThumbnailQuality(int quality);
/hardware/interfaces/media/1.0/xml/
Dmedia_profiles.dtd10 <!ATTLIST EncoderProfile quality CDATA #REQUIRED> attribute
25 <!ATTLIST ImageEncoding quality (95|90|80|70|60|50|40) #REQUIRED> attribute
/hardware/interfaces/radio/aidl/android/hardware/radio/ims/media/
DIImsMediaSessionListener.aidl77 void notifyMediaQualityStatus(in MediaQualityStatus quality); in notifyMediaQualityStatus() argument
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.ims.media/1/android/hardware/radio/ims/media/
DIImsMediaSessionListener.aidl40 …eway void notifyMediaQualityStatus(in android.hardware.radio.ims.media.MediaQualityStatus quality); in notifyMediaQualityStatus() argument
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.ims.media/current/android/hardware/radio/ims/media/
DIImsMediaSessionListener.aidl41 …eway void notifyMediaQualityStatus(in android.hardware.radio.ims.media.MediaQualityStatus quality); in notifyMediaQualityStatus() argument
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.ims.media/2/android/hardware/radio/ims/media/
DIImsMediaSessionListener.aidl41 …eway void notifyMediaQualityStatus(in android.hardware.radio.ims.media.MediaQualityStatus quality); in notifyMediaQualityStatus() argument
/hardware/interfaces/bluetooth/audio/aidl/default/
DLeAudioOffloadAudioProvider.cpp989 int context_bitmask, IBluetoothAudioProvider::BroadcastQuality quality) { in getDefaultBroadcastSetting() argument
996 if (quality == IBluetoothAudioProvider::BroadcastQuality::HIGH) { in getDefaultBroadcastSetting()
1180 int context_bitmask, IBluetoothAudioProvider::BroadcastQuality quality) { in getCodecRequirementBasedOnContext() argument
1187 if (quality == IBluetoothAudioProvider::BroadcastQuality::HIGH) { in getCodecRequirementBasedOnContext()
1237 IBluetoothAudioProvider::BroadcastQuality quality, in isSubgroupConfigurationMatchedContext() argument
1245 getCodecRequirementBasedOnContext(requirement_context.bitmask, quality); in isSubgroupConfigurationMatchedContext()
1318 auto quality = in_requirement.subgroupConfigurationRequirements[0].quality; in getLeAudioBroadcastConfiguration() local
1320 getDefaultBroadcastSetting(context_bitmask, quality); in getLeAudioBroadcastConfiguration()
1337 sub_req.audioContext, sub_req.quality, sub_group_config)) { in getLeAudioBroadcastConfiguration()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dvideo_encode_extensions.adoc155 quality levels supported.
258 …icalDeviceVideoEncodeQualityLevelPropertiesKHR',desc='Query video encode quality level properties'…
260 To query properties for a specific video encode quality level supported by a
266 quality level properties for.
269 specifying the video encode profile and quality level to query
279 …ityLevelInfoKHR',desc='Structure describing the video encode profile and quality level to query pr…
290 structure specifying the video profile to query the video encode quality
292 * pname:qualityLevel is the video encode quality level to query properties
299 …deQualityLevelPropertiesKHR',desc='Structure describing the video encode quality level properties'…
310 preferred rate control mode to use with the video encode quality level.
[all …]
/hardware/interfaces/biometrics/fingerprint/2.1/
DIBiometricsFingerprintClientCallback.hal35 * @param acquiredInfo a message about the quality of the acquired image
36 * @param vendorCode a vendor-specific message about the quality of the image. Only
/hardware/qcom/camera/msm8998/mm-image-codec/qomx_core/
DQOMX_JpegExtensions.h206 OMX_U32 quality; member
/hardware/interfaces/media/omx/1.0/
DIOmxStore.hal116 * key: 'quality-default', value-type: num
117 * key: 'quality-range', value-type: range<num>
118 * key: 'quality-scale', value-type: string

1234