Home
last modified time | relevance | path

Searched refs:halFormat (Results 1 – 25 of 28) sorted by relevance

12

/hardware/interfaces/audio/effect/all-versions/default/util/tests/
Deffectutils_tests.cpp125 buffer_config_t halFormat; in TEST() local
126 EXPECT_EQ(NO_ERROR, EffectUtils::effectBufferConfigToHal(format, &halFormat)); in TEST()
129 EffectUtils::effectBufferConfigFromHal(halFormat, false /*isInput*/, &formatBackOut)); in TEST()
133 EffectUtils::effectBufferConfigFromHal(halFormat, true /*isInput*/, &formatBackIn)); in TEST()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayMdpRot.cpp54 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstWhf() local
56 halFormat, alW, alH); in getDstWhf()
63 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstDimensions() local
65 halFormat, alW, alH); in getDstDimensions()
DoverlayRotator.cpp49 int halFormat = ovutils::getHALFormat(destWhf.format); in calcOutputBufSize() local
52 destWhf.w, destWhf.h, halFormat, alW, alH); in calcOutputBufSize()
/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.cpp137 const int descHalFormat = exynos_format_desc[i].halFormat; in halFormatToExynosFormat()
150 if (exynos_format_desc[i].halFormat == format) in formatToBpp()
171 if (exynos_format_desc[i].halFormat == format) { in isFormatRgb()
191 if (exynos_format_desc[i].halFormat == format) { in isFormatSBWC()
204 if (exynos_format_desc[i].halFormat == format) { in isFormatYUV420()
217 if (exynos_format_desc[i].halFormat == format) { in isFormatYUV8_2()
231 if (exynos_format_desc[i].halFormat == format) { in isFormat10BitYUV420()
245 if (exynos_format_desc[i].halFormat == format) { in isFormatYUV422()
258 if (exynos_format_desc[i].halFormat == format) { in isFormatP010()
270 if (exynos_format_desc[i].halFormat == format) { in isFormat10Bit()
[all …]
/hardware/qcom/display/msm8994/liboverlay/
DoverlayMdpRot.cpp63 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstWhf() local
65 halFormat, alW, alH); in getDstWhf()
72 int halFormat = ovutils::getHALFormat(mRotImgInfo.dst.format); in getDstDimensions() local
74 halFormat, alW, alH); in getDstDimensions()
DoverlayRotator.cpp71 int halFormat = ovutils::getHALFormat(destWhf.format); in calcOutputBufSize() local
74 destWhf.w, destWhf.h, halFormat, alW, alH); in calcOutputBufSize()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayRotator.cpp48 int halFormat = ovutils::getHALFormat(destWhf.format); in calcOutputBufSize() local
51 destWhf.w, destWhf.h, halFormat, alW, alH); in calcOutputBufSize()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayRotator.cpp49 int halFormat = ovutils::getHALFormat(destWhf.format); in calcOutputBufSize() local
52 destWhf.w, destWhf.h, halFormat, alW, alH); in calcOutputBufSize()
/hardware/interfaces/audio/core/all-versions/default/
DStream.cpp211 audio_format_t halFormat = mStream->get_format(mStream); in getAudioProperties() local
212 _hidl_cb(halSampleRate, AudioChannelBitfield(halMask), AudioFormat(halFormat)); in getAudioProperties()
234 audio_format_t halFormat; in getSupportedProfiles() local
235 if (status_t status = HidlUtils::audioFormatToHal(format, &halFormat); status != NO_ERROR) { in getSupportedProfiles()
239 context.addInt(String8(AUDIO_PARAMETER_STREAM_FORMAT), int(halFormat)); in getSupportedProfiles()
/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp245 status_t HidlUtils::audioFormatFromHal(audio_format_t halFormat, AudioFormat* format) { in audioFormatFromHal() argument
246 *format = audio_format_to_string(halFormat); in audioFormatFromHal()
250 ALOGE("Unknown audio format value 0x%X", halFormat); in audioFormatFromHal()
259 for (const auto& halFormat : halFormats) { in audioFormatsFromHal() local
260 if (!halFormat.empty() && !xsd::isUnknownAudioFormat(halFormat)) { in audioFormatsFromHal()
261 tempFormats[tempPos++] = halFormat; in audioFormatsFromHal()
272 status_t HidlUtils::audioFormatToHal(const AudioFormat& format, audio_format_t* halFormat) { in audioFormatToHal() argument
273 if (!xsd::isUnknownAudioFormat(format) && audio_format_from_string(format.c_str(), halFormat)) { in audioFormatToHal()
277 *halFormat = AUDIO_FORMAT_DEFAULT; in audioFormatToHal()
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.h107 static status_t audioFormatFromHal(audio_format_t halFormat, AudioFormat* format);
110 static status_t audioFormatToHal(const AudioFormat& format, audio_format_t* halFormat);
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDeviceDrmInterface.cpp176 for (auto halFormat : halFormats) { in updateRestrictions() local
177 hwc_res.restriction.formats.push_back(halFormat); in updateRestrictions()
DExynosDisplayDrmInterface.cpp2739 int halFormat = drmFormatToHalFormat(formats[i]); in init() local
2740 ALOGD("supported writeback format[%d] %4.4s, %d", i, (char *)&formats[i], halFormat); in init()
2741 if (halFormat != HAL_PIXEL_FORMAT_EXYNOS_UNDEFINED) in init()
2742 mSupportedFormats.push_back(halFormat); in init()
/hardware/interfaces/audio/common/all-versions/default/tests/
Dhidlutils_tests.cpp574 audio_format_t halFormat; in TEST() local
576 EXPECT_EQ(NO_ERROR, HidlUtils::audioFormatToHal(format, &halFormat)) in TEST()
579 audio_is_valid_format(halFormat)) in TEST()
581 EXPECT_EQ(NO_ERROR, HidlUtils::audioFormatFromHal(halFormat, &formatBack)) in TEST()
582 << "Conversion of format " << halFormat << " failed"; in TEST()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit_c2d.cpp277 static int get_c2d_format_for_yuv_destination(int halFormat) { in get_c2d_format_for_yuv_destination() argument
278 switch (halFormat) { in get_c2d_format_for_yuv_destination()
287 default: return get_format(halFormat); in get_c2d_format_for_yuv_destination()
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit_c2d.cpp285 static int get_c2d_format_for_yuv_destination(int halFormat) { in get_c2d_format_for_yuv_destination() argument
286 switch (halFormat) { in get_c2d_format_for_yuv_destination()
295 default: return get_format(halFormat); in get_c2d_format_for_yuv_destination()
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dcopybit_c2d.cpp285 static int get_c2d_format_for_yuv_destination(int halFormat) { in get_c2d_format_for_yuv_destination() argument
286 switch (halFormat) { in get_c2d_format_for_yuv_destination()
295 default: return get_format(halFormat); in get_c2d_format_for_yuv_destination()
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit_c2d.cpp285 static int get_c2d_format_for_yuv_destination(int halFormat) { in get_c2d_format_for_yuv_destination() argument
286 switch (halFormat) { in get_c2d_format_for_yuv_destination()
295 default: return get_format(halFormat); in get_c2d_format_for_yuv_destination()
/hardware/qcom/sm8150/display/libcopybit/
Dcopybit_c2d.cpp285 static int get_c2d_format_for_yuv_destination(int halFormat) { in get_c2d_format_for_yuv_destination() argument
286 switch (halFormat) { in get_c2d_format_for_yuv_destination()
295 default: return get_format(halFormat); in get_c2d_format_for_yuv_destination()
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit_c2d.cpp283 static int get_c2d_format_for_yuv_destination(int halFormat) { in get_c2d_format_for_yuv_destination() argument
284 switch (halFormat) { in get_c2d_format_for_yuv_destination()
293 default: return get_format(halFormat); in get_c2d_format_for_yuv_destination()
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit_c2d.cpp282 static int get_c2d_format_for_yuv_destination(int halFormat) { in get_c2d_format_for_yuv_destination() argument
283 switch (halFormat) { in get_c2d_format_for_yuv_destination()
292 default: return get_format(halFormat); in get_c2d_format_for_yuv_destination()
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit_c2d.cpp281 static int get_c2d_format_for_yuv_destination(int halFormat) { in get_c2d_format_for_yuv_destination() argument
282 switch (halFormat) { in get_c2d_format_for_yuv_destination()
291 default: return get_format(halFormat); in get_c2d_format_for_yuv_destination()
/hardware/qcom/sm7250/display/libcopybit/
Dcopybit_c2d.cpp285 static int get_c2d_format_for_yuv_destination(int halFormat) { in get_c2d_format_for_yuv_destination() argument
286 switch (halFormat) { in get_c2d_format_for_yuv_destination()
295 default: return get_format(halFormat); in get_c2d_format_for_yuv_destination()
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit_c2d.cpp279 static int get_c2d_format_for_yuv_destination(int halFormat) { in get_c2d_format_for_yuv_destination() argument
280 switch (halFormat) { in get_c2d_format_for_yuv_destination()
289 default: return get_format(halFormat); in get_c2d_format_for_yuv_destination()
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosResourceManager.cpp2540 if (cap->isFormatSupported(exynos_format_desc[i].halFormat)) { in makeAcrylRestrictions()
2542 if (supportedHalFormats.find(exynos_format_desc[i].halFormat) != in makeAcrylRestrictions()
2548 queried_format.format = exynos_format_desc[i].halFormat; in makeAcrylRestrictions()
2551 supportedHalFormats.insert(exynos_format_desc[i].halFormat); in makeAcrylRestrictions()

12