Home
last modified time | relevance | path

Searched refs:tonemapper (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/sdm845/display/gpu_tonemapper/
DTonemapper.cpp73 Tonemapper *tonemapper = new Tonemapper(); in build() local
75 tonemapper->engineContext = engine_initialize(isSecure); in build()
77 engine_bind(tonemapper->engineContext); in build()
80 tonemapper->tonemapTexture = engine_load3DTexture(colorMap, colorMapSize, 0); in build()
81 tonemapper->tonemapScaleOffset[0] = ((float)(colorMapSize-1))/((float)(colorMapSize)); in build()
82 tonemapper->tonemapScaleOffset[1] = 1.0f/(2.0f*colorMapSize); in build()
85 tonemapper->lutXformTexture = engine_load1DTexture(lutXform, lutXformSize, 0); in build()
86 bool bUseXform = (tonemapper->lutXformTexture != 0) && (lutXformSize != 0); in build()
89 tonemapper->lutXformScaleOffset[0] = ((float)(lutXformSize-1))/((float)(lutXformSize)); in build()
90 tonemapper->lutXformScaleOffset[1] = 1.0f/(2.0f*lutXformSize); in build()
[all …]
DTonemapFactory.cpp31 …Tonemapper *tonemapper = Tonemapper::build(type, colorMap, colorMapSize, lutXform, lutXformSize, i… in TonemapperFactory_GetInstance() local
33 return tonemapper; in TonemapperFactory_GetInstance()
Dforward_tonemap.inl25 "layout(binding = 1) uniform sampler3D tonemapper; \n"
54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
Drgba_inverse_tonemap.inl25 …"layout(binding = 1) uniform sampler3D tonemapper; …
57 …"fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb * rgb_premulalpha.a; …
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/
DTonemapper.cpp73 Tonemapper *tonemapper = new Tonemapper(); in build() local
75 tonemapper->engineContext = engine_initialize(isSecure); in build()
77 engine_bind(tonemapper->engineContext); in build()
80 tonemapper->tonemapTexture = engine_load3DTexture(colorMap, colorMapSize, 0); in build()
81 tonemapper->tonemapScaleOffset[0] = ((float)(colorMapSize-1))/((float)(colorMapSize)); in build()
82 tonemapper->tonemapScaleOffset[1] = 1.0f/(2.0f*colorMapSize); in build()
85 tonemapper->lutXformTexture = engine_load1DTexture(lutXform, lutXformSize, 0); in build()
86 bool bUseXform = (tonemapper->lutXformTexture != 0) && (lutXformSize != 0); in build()
89 tonemapper->lutXformScaleOffset[0] = ((float)(lutXformSize-1))/((float)(lutXformSize)); in build()
90 tonemapper->lutXformScaleOffset[1] = 1.0f/(2.0f*lutXformSize); in build()
[all …]
DTonemapFactory.cpp31 …Tonemapper *tonemapper = Tonemapper::build(type, colorMap, colorMapSize, lutXform, lutXformSize, i… in TonemapperFactory_GetInstance() local
33 return tonemapper; in TonemapperFactory_GetInstance()
Dforward_tonemap.inl25 "layout(binding = 1) uniform sampler3D tonemapper; \n"
54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
Drgba_inverse_tonemap.inl25 …"layout(binding = 1) uniform sampler3D tonemapper; …
57 …"fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb * rgb_premulalpha.a; …
/hardware/qcom/display/msm8909/gpu_tonemapper/
DTonemapper.cpp73 Tonemapper *tonemapper = new Tonemapper(); in build() local
75 tonemapper->engineContext = engine_initialize(isSecure); in build()
77 engine_bind(tonemapper->engineContext); in build()
80 tonemapper->tonemapTexture = engine_load3DTexture(colorMap, colorMapSize, 0); in build()
81 tonemapper->tonemapScaleOffset[0] = ((float)(colorMapSize-1))/((float)(colorMapSize)); in build()
82 tonemapper->tonemapScaleOffset[1] = 1.0f/(2.0f*colorMapSize); in build()
85 tonemapper->lutXformTexture = engine_load1DTexture(lutXform, lutXformSize, 0); in build()
86 bool bUseXform = (tonemapper->lutXformTexture != 0) && (lutXformSize != 0); in build()
89 tonemapper->lutXformScaleOffset[0] = ((float)(lutXformSize-1))/((float)(lutXformSize)); in build()
90 tonemapper->lutXformScaleOffset[1] = 1.0f/(2.0f*lutXformSize); in build()
[all …]
DTonemapFactory.cpp31 …Tonemapper *tonemapper = Tonemapper::build(type, colorMap, colorMapSize, lutXform, lutXformSize, i… in TonemapperFactory_GetInstance() local
33 return tonemapper; in TonemapperFactory_GetInstance()
Dforward_tonemap.inl25 "layout(binding = 1) uniform sampler3D tonemapper; \n"
54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
Drgba_inverse_tonemap.inl25 …"layout(binding = 1) uniform sampler3D tonemapper; …
57 …"fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb * rgb_premulalpha.a; …
/hardware/qcom/display/msm8998/gpu_tonemapper/
DTonemapper.cpp77 Tonemapper *tonemapper = new Tonemapper(); in build() local
79 tonemapper->engineContext = engine_initialize(isSecure); in build()
82 engine_bind(tonemapper->engineContext); in build()
85 tonemapper->tonemapTexture = engine_load3DTexture(colorMap, colorMapSize, 0); in build()
86 tonemapper->tonemapScaleOffset[0] = ((float)(colorMapSize-1))/((float)(colorMapSize)); in build()
87 tonemapper->tonemapScaleOffset[1] = 1.0f/(2.0f*colorMapSize); in build()
90 tonemapper->lutXformTexture = engine_load1DTexture(lutXform, lutXformSize, 0); in build()
91 bool bUseXform = (tonemapper->lutXformTexture != 0) && (lutXformSize != 0); in build()
94 tonemapper->lutXformScaleOffset[0] = ((float)(lutXformSize-1))/((float)(lutXformSize)); in build()
95 tonemapper->lutXformScaleOffset[1] = 1.0f/(2.0f*lutXformSize); in build()
[all …]
DTonemapFactory.cpp31 …Tonemapper *tonemapper = Tonemapper::build(type, colorMap, colorMapSize, lutXform, lutXformSize, i… in TonemapperFactory_GetInstance() local
33 return tonemapper; in TonemapperFactory_GetInstance()
Dforward_tonemap.inl25 "layout(binding = 1) uniform sampler3D tonemapper; \n"
54 "fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb; \n"
Drgba_inverse_tonemap.inl25 …"layout(binding = 1) uniform sampler3D tonemapper; …
57 …"fs_color.rgb = texture(tonemapper, ScaleOffset(vec3(r, g, b), tSO)).rgb * rgb_premulalpha.a; …