Home
last modified time | relevance | path

Searched refs:bpc (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_nir_convert_ycbcr.c34 int bpc, in y_range() argument
44 pow(2, bpc) - 1), in y_range()
45 -16.0f * pow(2, bpc - 8)), in y_range()
46 1.0f / (219.0f * pow(2, bpc - 8))); in y_range()
57 int bpc, in chroma_range() argument
63 nir_imm_float(b, -pow(2, bpc - 1) / (pow(2, bpc) - 1.0f))); in chroma_range()
68 pow(2, bpc) - 1), in chroma_range()
69 -128.0f * pow(2, bpc - 8)), in chroma_range()
70 1.0f / (224.0f * pow(2, bpc - 8))); in chroma_range()
/hardware/google/graphics/gs101/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterfaceModule.cpp220 uint32_t bpc = static_cast<uint32_t>(BPC_UNSPECIFIED); in setDisplayColorSetting() local
223 bpc = static_cast<uint32_t>(BPC_10); in setDisplayColorSetting()
225 auto [bpcEnum, ret] = DrmEnumParser::halToDrmEnum(bpc, mBpcEnums); in setDisplayColorSetting()
227 HWC_LOGE(mExynosDisplay, "Fail to convert bpc(%d)", bpc); in setDisplayColorSetting()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dstb_image.h932 …sd_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc);
1117 …oad_main(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc) in stbi__load_main() argument
1136 if (stbi__psd_test(s)) return stbi__psd_load(s,x,y,comp,req_comp, ri, bpc); in stbi__load_main()
1138 STBI_NOTUSED(bpc); in stbi__load_main()
6041 …psd_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc) in stbi__psd_load() argument
6115 if (!compression && bitdepth == 16 && bpc == 16) { in stbi__psd_load()
6167 if (bitdepth == 16 && bpc == 16) { in stbi__psd_load()
/hardware/google/gfxstream/third-party/stb/include/stb/
Dstb_image.h932 …sd_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc);
1117 …oad_main(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc) in stbi__load_main() argument
1136 if (stbi__psd_test(s)) return stbi__psd_load(s,x,y,comp,req_comp, ri, bpc); in stbi__load_main()
1138 STBI_NOTUSED(bpc); in stbi__load_main()
6048 …psd_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc) in stbi__psd_load() argument
6122 if (!compression && bitdepth == 16 && bpc == 16) { in stbi__psd_load()
6174 if (bitdepth == 16 && bpc == 16) { in stbi__psd_load()