Home
last modified time | relevance | path

Searched refs:data_max (Results 1 - 8 of 8) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dfitsdec.c49 * Calculate the data_min and data_max values from the data.
67 header->data_max = -DBL_MAX; in fill_data_min_max()
75 if (t > header->data_max) \ in fill_data_min_max()
76 header->data_max = t; \ in fill_data_min_max()
167 * we can do inverse transformation on data_min and data_max in fits_read_header()
170 header->data_max = (header->data_max - header->bzero) / header->bscale; in fits_read_header()
172 if (!header->rgb && header->data_min >= header->data_max) { in fits_read_header()
173 if (header->data_min > header->data_max) { in fits_read_header()
174 av_log(avctx, AV_LOG_ERROR, "data min/max (%g %g) is invalid\n", header->data_min, header->data_max); in fits_read_header()
[all...]
H A Dfits.h61 double data_max; member
/third_party/astc-encoder/Source/
H A Dastcenc_image.cpp178 vfloat4 data_max(-1e38f); in load_image_block()
231 data_max = max(data_max, datav); in load_image_block()
263 blk.data_max = data_max; in load_image_block()
290 vfloat4 data_max(-1e38f); in load_image_block_fast_ldr()
309 data_max = max(data_max, datav); in load_image_block_fast_ldr()
330 blk.data_max = data_max; in load_image_block_fast_ldr()
[all...]
H A Dastcenc_internal.h781 vfloat4 data_max; member
860 vmask4 color_mask = this->data_min == this->data_max; in is_constant_channel()
873 (this->data_max.lane<3>() == default_alpha); in is_luminance()
886 (this->data_max.lane<3>() == default_alpha); in is_luminancealpha()
H A Dastcenc_compress_symbolic.cpp1369 trace_add_data("max_r", blk.data_max.lane<0>()); in prepare_block_statistics()
1371 trace_add_data("max_g", blk.data_max.lane<1>()); in prepare_block_statistics()
1373 trace_add_data("max_b", blk.data_max.lane<2>()); in prepare_block_statistics()
1375 trace_add_data("max_a", blk.data_max.lane<3>()); in prepare_block_statistics()
1468 if (all(blk.data_min == blk.data_max)) in compress_block()
H A Dastcenc_entry.cpp957 float alpha_scale = blk.data_max.lane<3>() * (1.0f / 65535.0f); in compress_image()
970 blk.data_max = vfloat4::zero(); in compress_image()
H A Dastcenc_ideal_endpoints_and_weights.cpp194 ei.ep.endpt1[i] = select(blk.data_max, vfloat4(highvalue), sep_mask); in compute_ideal_colors_and_weights_1_comp()
329 vfloat4 ep1 = select(blk.data_max, vfloat4(highvalue.lane<0>()), comp1_mask);
523 vfloat4 bmax = blk.data_max;
H A Dastcenc_decompress_symbolic.cpp196 blk.data_max = vfloat4::zero(); in decompress_symbolic_block()

Completed in 12 milliseconds