Home
last modified time | relevance | path

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

12

/aosp12/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp126 int halFormat = HAL_PIXEL_FORMAT_RGB_565; in resetFormatIfChanged() local
137 halFormat = HAL_PIXEL_FORMAT_YV12; in resetFormatIfChanged()
144 halFormat = HAL_PIXEL_FORMAT_RGB_888; in resetFormatIfChanged()
152 halFormat = HAL_PIXEL_FORMAT_RGBA_8888; in resetFormatIfChanged()
165 halFormat = HAL_PIXEL_FORMAT_RGBA_1010102; in resetFormatIfChanged()
167 halFormat = HAL_PIXEL_FORMAT_YV12; in resetFormatIfChanged()
180 if (halFormat == HAL_PIXEL_FORMAT_RGB_565) { in resetFormatIfChanged()
184 } else if (halFormat == HAL_PIXEL_FORMAT_RGBA_1010102) { in resetFormatIfChanged()
213 halFormat)); in resetFormatIfChanged()
/aosp12/hardware/interfaces/audio/effect/all-versions/default/util/tests/
H A 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()
/aosp12/hardware/google/graphics/common/libhwc2.1/libhwchelper/
H A DExynosHWCHelper.cpp154 if (exynos_format_desc[i].halFormat == format) in formatToBpp()
175 if (exynos_format_desc[i].halFormat == format) { in isFormatRgb()
195 if (exynos_format_desc[i].halFormat == format) { in isFormatSBWC()
209 if (exynos_format_desc[i].halFormat == format) { in isFormatYUV420()
222 if (exynos_format_desc[i].halFormat == format) { in isFormatYUV8_2()
236 if (exynos_format_desc[i].halFormat == format) { in isFormat10BitYUV420()
250 if (exynos_format_desc[i].halFormat == format) { in isFormatYUV422()
263 if (exynos_format_desc[i].halFormat == format) { in isFormatP010()
281 if (exynos_format_desc[i].halFormat == format) { in isFormatLossy()
343 return exynos_format_desc[i].halFormat; in DpuFormatToHalFormat()
[all …]
/aosp12/hardware/qcom/display/msm8226/liboverlay/
H A 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()
H A DoverlayRotator.cpp49 int halFormat = ovutils::getHALFormat(destWhf.format); in calcOutputBufSize() local
52 destWhf.w, destWhf.h, halFormat, alW, alH); in calcOutputBufSize()
/aosp12/hardware/qcom/display/msm8994/liboverlay/
H A 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()
H A DoverlayRotator.cpp71 int halFormat = ovutils::getHALFormat(destWhf.format); in calcOutputBufSize() local
74 destWhf.w, destWhf.h, halFormat, alW, alH); in calcOutputBufSize()
/aosp12/hardware/interfaces/audio/core/all-versions/default/
H A DStream.cpp207 audio_format_t halFormat = mStream->get_format(mStream); in getAudioProperties() local
208 _hidl_cb(halSampleRate, AudioChannelBitfield(halMask), AudioFormat(halFormat)); in getAudioProperties()
230 audio_format_t halFormat; in getSupportedProfiles() local
231 if (status_t status = HidlUtils::audioFormatToHal(format, &halFormat); status != NO_ERROR) { in getSupportedProfiles()
235 context.addInt(String8(AUDIO_PARAMETER_STREAM_FORMAT), int(halFormat)); in getSupportedProfiles()
/aosp12/hardware/qcom/display/msm8960/liboverlay/
H A DoverlayRotator.cpp49 int halFormat = ovutils::getHALFormat(destWhf.format); in calcOutputBufSize() local
52 destWhf.w, destWhf.h, halFormat, alW, alH); in calcOutputBufSize()
/aosp12/hardware/qcom/display/msm8084/liboverlay/
H A DoverlayRotator.cpp48 int halFormat = ovutils::getHALFormat(destWhf.format); in calcOutputBufSize() local
51 destWhf.w, destWhf.h, halFormat, alW, alH); in calcOutputBufSize()
/aosp12/hardware/interfaces/audio/common/all-versions/default/7.0/
H A 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()
/aosp12/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
H A DExynosDeviceDrmInterface.cpp143 for (auto halFormat : halFormats) { in updateRestrictions() local
144 mDPUInfo.dpuInfo.dpp_chs[channelId].restriction.formats.push_back(halFormat); in updateRestrictions()
/aosp12/hardware/interfaces/audio/common/all-versions/default/
H A DHidlUtils.h105 static status_t audioFormatFromHal(audio_format_t halFormat, AudioFormat* format);
108 static status_t audioFormatToHal(const AudioFormat& format, audio_format_t* halFormat);
/aosp12/hardware/interfaces/audio/common/all-versions/default/tests/
H A 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()
/aosp12/hardware/qcom/display/msm8960/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8909w_3100/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8994/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8996/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8998/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8084/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8226/libcopybit/
H A 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()
/aosp12/hardware/qcom/display/msm8909/libcopybit/
H A 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()
/aosp12/hardware/qcom/sdm845/display/libcopybit/
H A 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()
/aosp12/system/libvintf/test/
H A Dvintf_object_tests.cpp1726 std::string getFragment(HalFormat halFormat, size_t maxLevel, const char* versionedInterface) { in getFragment() argument
1734 if (halFormat == HalFormat::HIDL) { in getFragment()
1737 return android::base::StringPrintf(format, to_string(halFormat).c_str(), level.c_str(), in getFragment()
/aosp12/hardware/qcom/sm7250/display/libcopybit/
H A 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()

12