Home
last modified time | relevance | path

Searched refs:map_width (Results 1 – 5 of 5) sorted by relevance

/external/libultrahdr/fuzzer/
Dultrahdr_legacy_fuzzer.cpp187 size_t map_width = width / kMapDimensionScaleFactorDefault; in process() local
190 grayImg.width = map_width; in process()
193 const size_t graySize = map_width * map_height; in process()
196 fillBuffer<uint8_t>(grayImgRaw.get(), map_width, map_height, map_width); in process()
Dultrahdr_enc_fuzzer.cpp304 size_t map_width = width / ((gm_scale_factor <= 0) ? 1 : gm_scale_factor); in process() local
307 gainmapImg.w = map_width; in process()
312 const size_t graySize = map_width * map_height; in process()
315 gainmapImg.stride[UHDR_PLANE_Y] = map_width; in process()
320 fillBuffer<uint8_t>(gainMapImageRaw.get(), map_width, map_height, map_width); in process()
/external/libultrahdr/lib/src/
Djpegr.cpp693 unsigned int map_width = image_width / mMapDimensionScaleFactor; in generateGainMap() local
695 if (map_width == 0 || map_height == 0) { in generateGainMap()
703 map_width = image_width / mMapDimensionScaleFactor; in generateGainMap()
715 hdr_intent->cg, hdr_intent->ct, hdr_intent->range, map_width, map_height, 64); in generateGainMap()
836 auto generateGainMapTwoPass = [this, sdr_intent, hdr_intent, gainmap_metadata, dest, map_width, in generateGainMap()
841 uhdr_memory_block_t gainmap_mem((size_t)map_width * map_height * sizeof(float) * in generateGainMap()
853 [this, sdr_intent, hdr_intent, gainmap_data, map_width, hdrInvOetf, hdrLuminanceFn, in generateGainMap()
867 for (size_t x = 0; x < map_width; ++x) { in generateGainMap()
902 size_t pixel_idx = (x + y * map_width) * 3; in generateGainMap()
923 size_t pixel_idx = x + y * map_width; in generateGainMap()
[all …]
/external/rust/android-crates-io/crates/taffy/src/compute/
Dblock.rs370 available_space.map_width(|w| w.maybe_sub(item_x_margin_sum)), in determine_content_based_container_width()
420 .map_width(|width| { in perform_final_layout_on_in_flow_children()
436 available_space.map_width(|w| w.maybe_sub(item_non_auto_x_margin_sum)), in perform_final_layout_on_in_flow_children()
/external/rust/android-crates-io/crates/taffy/src/
Dgeometry.rs380 pub fn map_width<F>(self, f: F) -> Size<T> in map_width() method