/dports/graphics/libjxl/libjxl-0.6.1/lib/jxl/ |
H A D | opsin_image_test.cc | 32 linear.PlaneRow(0, 0)[0] = rgb_r; in LinearSrgbToOpsin() 33 linear.PlaneRow(1, 0)[0] = rgb_g; in LinearSrgbToOpsin() 34 linear.PlaneRow(2, 0)[0] = rgb_b; in LinearSrgbToOpsin() 44 *xyb_x = opsin.PlaneRow(0, 0)[0]; in LinearSrgbToOpsin() 45 *xyb_y = opsin.PlaneRow(1, 0)[0]; in LinearSrgbToOpsin() 46 *xyb_b = opsin.PlaneRow(2, 0)[0]; in LinearSrgbToOpsin() 55 opsin.PlaneRow(0, 0)[0] = xyb_x; in OpsinToLinearSrgb() 56 opsin.PlaneRow(1, 0)[0] = xyb_y; in OpsinToLinearSrgb() 57 opsin.PlaneRow(2, 0)[0] = xyb_b; in OpsinToLinearSrgb() 62 *rgb_r = linear.PlaneRow(0, 0)[0]; in OpsinToLinearSrgb() [all …]
|
H A D | dct_util.h | 42 virtual ACPtr PlaneRow(size_t c, size_t y, size_t xbase) = 0; 43 virtual ConstACPtr PlaneRow(size_t c, size_t y, size_t xbase) const = 0; 63 ACPtr PlaneRow(size_t c, size_t y, size_t xbase) override { in PlaneRow() function 64 return ACPtr(img_.PlaneRow(c, y) + xbase); in PlaneRow() 66 ConstACPtr PlaneRow(size_t c, size_t y, size_t xbase) const override { in PlaneRow() function 67 return ConstACPtr(img_.PlaneRow(c, y) + xbase); in PlaneRow()
|
H A D | enc_noise.cc | 47 float wnd = 0.5f * (opsin.PlaneRow(1, y + y_bl + cy)[x + x_bl + cx] + in GetScoreSumsOfAbsoluteDifferences() 48 opsin.PlaneRow(0, y + y_bl + cy)[x + x_bl + cx]); in GetScoreSumsOfAbsoluteDifferences() 50 0.5f * (opsin.PlaneRow(1, y + offset + cy)[x + offset + cx] + in GetScoreSumsOfAbsoluteDifferences() 51 opsin.PlaneRow(0, y + offset + cy)[x + offset + cx]); in GetScoreSumsOfAbsoluteDifferences() 262 mean_int += 0.5f * (opsin.PlaneRow(1, y + y_bl)[x + x_bl] + in GetNoiseLevel() 263 opsin.PlaneRow(0, y + y_bl)[x + x_bl]); in GetNoiseLevel() 282 (opsin.PlaneRow(1, y + y_bl + y_f)[x + x_bl + x_f] + in GetNoiseLevel() 283 opsin.PlaneRow(0, y + y_bl + y_f)[x + x_bl + x_f]) * in GetNoiseLevel() 288 (opsin.PlaneRow(1, y + y_bl + y_f)[x + x_bl - x_f] + in GetNoiseLevel() 299 (opsin.PlaneRow(1, y + y_bl - y_f)[x + x_bl + x_f] + in GetNoiseLevel() [all …]
|
H A D | image_bundle.cc | 123 ::jxl::PremultiplyAlpha(color_.PlaneRow(0, y), color_.PlaneRow(1, y), in PremultiplyAlpha() 124 color_.PlaneRow(2, y), alpha()->Row(y), in PremultiplyAlpha() 136 ::jxl::UnpremultiplyAlpha(color_.PlaneRow(0, y), color_.PlaneRow(1, y), in UnpremultiplyAlpha() 137 color_.PlaneRow(2, y), alpha()->Row(y), in UnpremultiplyAlpha()
|
H A D | adaptive_reconstruction_test.cc | 40 float* rows[3] = {in.PlaneRow(0, y), in.PlaneRow(1, y), in GenerateFlat() 41 in.PlaneRow(2, y)}; in GenerateFlat() 59 in.PlaneRow(c, y)[x] = foreground; in GeneratePoints() 74 std::fill(in.PlaneRow(c, iy), in.PlaneRow(c, iy) + xsize, foreground); in GenerateHorzEdges() 89 float* JXL_RESTRICT row = in.PlaneRow(c, iy); in GenerateVertEdges()
|
H A D | dec_xyb.cc | 44 float* JXL_RESTRICT row0 = inout->PlaneRow(0, y); in OpsinToLinearInplace() 45 float* JXL_RESTRICT row1 = inout->PlaneRow(1, y); in OpsinToLinearInplace() 46 float* JXL_RESTRICT row2 = inout->PlaneRow(2, y); in OpsinToLinearInplace() 87 float* JXL_RESTRICT row_linear_0 = linear->PlaneRow(0, y); in OpsinToLinear() 88 float* JXL_RESTRICT row_linear_1 = linear->PlaneRow(1, y); in OpsinToLinear() 89 float* JXL_RESTRICT row_linear_2 = linear->PlaneRow(2, y); in OpsinToLinear() 136 float* r_row = rect.PlaneRow(rgb, 0, y); in YcbcrToRgb() 137 float* g_row = rect.PlaneRow(rgb, 1, y); in YcbcrToRgb() 138 float* b_row = rect.PlaneRow(rgb, 2, y); in YcbcrToRgb()
|
H A D | enc_xyb.cc | 174 float* JXL_RESTRICT row_xyb0 = xyb->PlaneRow(0, y); in LinearSRGBToXYB() 175 float* JXL_RESTRICT row_xyb1 = xyb->PlaneRow(1, y); in LinearSRGBToXYB() 176 float* JXL_RESTRICT row_xyb2 = xyb->PlaneRow(2, y); in LinearSRGBToXYB() 201 float* JXL_RESTRICT row_xyb0 = xyb->PlaneRow(0, y); in SRGBToXYB() 202 float* JXL_RESTRICT row_xyb1 = xyb->PlaneRow(1, y); in SRGBToXYB() 203 float* JXL_RESTRICT row_xyb2 = xyb->PlaneRow(2, y); in SRGBToXYB() 231 float* JXL_RESTRICT row_linear0 = linear->PlaneRow(0, y); in SRGBToXYBAndLinear() 232 float* JXL_RESTRICT row_linear1 = linear->PlaneRow(1, y); in SRGBToXYBAndLinear() 235 float* JXL_RESTRICT row_xyb0 = xyb->PlaneRow(0, y); in SRGBToXYBAndLinear() 236 float* JXL_RESTRICT row_xyb1 = xyb->PlaneRow(1, y); in SRGBToXYBAndLinear() [all …]
|
/dports/www/firefox/firefox-99.0/third_party/jpeg-xl/lib/jxl/ |
H A D | opsin_image_test.cc | 33 linear.PlaneRow(0, 0)[0] = rgb_r; in LinearSrgbToOpsin() 34 linear.PlaneRow(1, 0)[0] = rgb_g; in LinearSrgbToOpsin() 35 linear.PlaneRow(2, 0)[0] = rgb_b; in LinearSrgbToOpsin() 45 *xyb_x = opsin.PlaneRow(0, 0)[0]; in LinearSrgbToOpsin() 46 *xyb_y = opsin.PlaneRow(1, 0)[0]; in LinearSrgbToOpsin() 47 *xyb_b = opsin.PlaneRow(2, 0)[0]; in LinearSrgbToOpsin() 56 opsin.PlaneRow(0, 0)[0] = xyb_x; in OpsinToLinearSrgb() 57 opsin.PlaneRow(1, 0)[0] = xyb_y; in OpsinToLinearSrgb() 58 opsin.PlaneRow(2, 0)[0] = xyb_b; in OpsinToLinearSrgb() 63 *rgb_r = linear.PlaneRow(0, 0)[0]; in OpsinToLinearSrgb() [all …]
|
H A D | dct_util.h | 42 virtual ACPtr PlaneRow(size_t c, size_t y, size_t xbase) = 0; 43 virtual ConstACPtr PlaneRow(size_t c, size_t y, size_t xbase) const = 0; 63 ACPtr PlaneRow(size_t c, size_t y, size_t xbase) override { in PlaneRow() function 64 return ACPtr(img_.PlaneRow(c, y) + xbase); in PlaneRow() 66 ConstACPtr PlaneRow(size_t c, size_t y, size_t xbase) const override { in PlaneRow() function 67 return ConstACPtr(img_.PlaneRow(c, y) + xbase); in PlaneRow()
|
H A D | enc_noise.cc | 46 float wnd = 0.5f * (opsin.PlaneRow(1, y + y_bl + cy)[x + x_bl + cx] + in GetScoreSumsOfAbsoluteDifferences() 47 opsin.PlaneRow(0, y + y_bl + cy)[x + x_bl + cx]); in GetScoreSumsOfAbsoluteDifferences() 49 0.5f * (opsin.PlaneRow(1, y + offset + cy)[x + offset + cx] + in GetScoreSumsOfAbsoluteDifferences() 50 opsin.PlaneRow(0, y + offset + cy)[x + offset + cx]); in GetScoreSumsOfAbsoluteDifferences() 257 mean_int += 0.5f * (opsin.PlaneRow(1, y + y_bl)[x + x_bl] + in GetNoiseLevel() 258 opsin.PlaneRow(0, y + y_bl)[x + x_bl]); in GetNoiseLevel() 277 (opsin.PlaneRow(1, y + y_bl + y_f)[x + x_bl + x_f] + in GetNoiseLevel() 278 opsin.PlaneRow(0, y + y_bl + y_f)[x + x_bl + x_f]) * in GetNoiseLevel() 283 (opsin.PlaneRow(1, y + y_bl + y_f)[x + x_bl - x_f] + in GetNoiseLevel() 294 (opsin.PlaneRow(1, y + y_bl - y_f)[x + x_bl + x_f] + in GetNoiseLevel() [all …]
|
H A D | adaptive_reconstruction_test.cc | 40 float* rows[3] = {in.PlaneRow(0, y), in.PlaneRow(1, y), in GenerateFlat() 41 in.PlaneRow(2, y)}; in GenerateFlat() 59 in.PlaneRow(c, y)[x] = foreground; in GeneratePoints() 74 std::fill(in.PlaneRow(c, iy), in.PlaneRow(c, iy) + xsize, foreground); in GenerateHorzEdges() 89 float* JXL_RESTRICT row = in.PlaneRow(c, iy); in GenerateVertEdges()
|
H A D | image_bundle.cc | 129 ::jxl::PremultiplyAlpha(color_.PlaneRow(0, y), color_.PlaneRow(1, y), in PremultiplyAlpha() 130 color_.PlaneRow(2, y), alpha()->Row(y), in PremultiplyAlpha() 142 ::jxl::UnpremultiplyAlpha(color_.PlaneRow(0, y), color_.PlaneRow(1, y), in UnpremultiplyAlpha() 143 color_.PlaneRow(2, y), alpha()->Row(y), in UnpremultiplyAlpha()
|
H A D | dec_xyb.cc | 44 float* JXL_RESTRICT row0 = inout->PlaneRow(0, y); in OpsinToLinearInplace() 45 float* JXL_RESTRICT row1 = inout->PlaneRow(1, y); in OpsinToLinearInplace() 46 float* JXL_RESTRICT row2 = inout->PlaneRow(2, y); in OpsinToLinearInplace() 86 float* JXL_RESTRICT row_linear_0 = linear->PlaneRow(0, y); in OpsinToLinear() 87 float* JXL_RESTRICT row_linear_1 = linear->PlaneRow(1, y); in OpsinToLinear() 88 float* JXL_RESTRICT row_linear_2 = linear->PlaneRow(2, y); in OpsinToLinear() 134 float* r_row = rect.PlaneRow(rgb, 0, y); in YcbcrToRgb() 135 float* g_row = rect.PlaneRow(rgb, 1, y); in YcbcrToRgb() 136 float* b_row = rect.PlaneRow(rgb, 2, y); in YcbcrToRgb()
|
H A D | enc_xyb.cc | 175 float* JXL_RESTRICT row_xyb0 = xyb->PlaneRow(0, y); in LinearSRGBToXYB() 176 float* JXL_RESTRICT row_xyb1 = xyb->PlaneRow(1, y); in LinearSRGBToXYB() 177 float* JXL_RESTRICT row_xyb2 = xyb->PlaneRow(2, y); in LinearSRGBToXYB() 202 float* JXL_RESTRICT row_xyb0 = xyb->PlaneRow(0, y); in SRGBToXYB() 203 float* JXL_RESTRICT row_xyb1 = xyb->PlaneRow(1, y); in SRGBToXYB() 204 float* JXL_RESTRICT row_xyb2 = xyb->PlaneRow(2, y); in SRGBToXYB() 232 float* JXL_RESTRICT row_linear0 = linear->PlaneRow(0, y); in SRGBToXYBAndLinear() 233 float* JXL_RESTRICT row_linear1 = linear->PlaneRow(1, y); in SRGBToXYBAndLinear() 236 float* JXL_RESTRICT row_xyb0 = xyb->PlaneRow(0, y); in SRGBToXYBAndLinear() 237 float* JXL_RESTRICT row_xyb1 = xyb->PlaneRow(1, y); in SRGBToXYBAndLinear() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/jpeg-xl/lib/jxl/ |
H A D | opsin_image_test.cc | 32 linear.PlaneRow(0, 0)[0] = rgb_r; in LinearSrgbToOpsin() 33 linear.PlaneRow(1, 0)[0] = rgb_g; in LinearSrgbToOpsin() 34 linear.PlaneRow(2, 0)[0] = rgb_b; in LinearSrgbToOpsin() 44 *xyb_x = opsin.PlaneRow(0, 0)[0]; in LinearSrgbToOpsin() 45 *xyb_y = opsin.PlaneRow(1, 0)[0]; in LinearSrgbToOpsin() 46 *xyb_b = opsin.PlaneRow(2, 0)[0]; in LinearSrgbToOpsin() 55 opsin.PlaneRow(0, 0)[0] = xyb_x; in OpsinToLinearSrgb() 56 opsin.PlaneRow(1, 0)[0] = xyb_y; in OpsinToLinearSrgb() 57 opsin.PlaneRow(2, 0)[0] = xyb_b; in OpsinToLinearSrgb() 62 *rgb_r = linear.PlaneRow(0, 0)[0]; in OpsinToLinearSrgb() [all …]
|
H A D | dct_util.h | 42 virtual ACPtr PlaneRow(size_t c, size_t y, size_t xbase) = 0; 43 virtual ConstACPtr PlaneRow(size_t c, size_t y, size_t xbase) const = 0; 63 ACPtr PlaneRow(size_t c, size_t y, size_t xbase) override { in PlaneRow() function 64 return ACPtr(img_.PlaneRow(c, y) + xbase); in PlaneRow() 66 ConstACPtr PlaneRow(size_t c, size_t y, size_t xbase) const override { in PlaneRow() function 67 return ConstACPtr(img_.PlaneRow(c, y) + xbase); in PlaneRow()
|
H A D | enc_noise.cc | 47 float wnd = 0.5f * (opsin.PlaneRow(1, y + y_bl + cy)[x + x_bl + cx] + in GetScoreSumsOfAbsoluteDifferences() 48 opsin.PlaneRow(0, y + y_bl + cy)[x + x_bl + cx]); in GetScoreSumsOfAbsoluteDifferences() 50 0.5f * (opsin.PlaneRow(1, y + offset + cy)[x + offset + cx] + in GetScoreSumsOfAbsoluteDifferences() 51 opsin.PlaneRow(0, y + offset + cy)[x + offset + cx]); in GetScoreSumsOfAbsoluteDifferences() 262 mean_int += 0.5f * (opsin.PlaneRow(1, y + y_bl)[x + x_bl] + in GetNoiseLevel() 263 opsin.PlaneRow(0, y + y_bl)[x + x_bl]); in GetNoiseLevel() 282 (opsin.PlaneRow(1, y + y_bl + y_f)[x + x_bl + x_f] + in GetNoiseLevel() 283 opsin.PlaneRow(0, y + y_bl + y_f)[x + x_bl + x_f]) * in GetNoiseLevel() 288 (opsin.PlaneRow(1, y + y_bl + y_f)[x + x_bl - x_f] + in GetNoiseLevel() 299 (opsin.PlaneRow(1, y + y_bl - y_f)[x + x_bl + x_f] + in GetNoiseLevel() [all …]
|
H A D | adaptive_reconstruction_test.cc | 40 float* rows[3] = {in.PlaneRow(0, y), in.PlaneRow(1, y), in GenerateFlat() 41 in.PlaneRow(2, y)}; in GenerateFlat() 59 in.PlaneRow(c, y)[x] = foreground; in GeneratePoints() 74 std::fill(in.PlaneRow(c, iy), in.PlaneRow(c, iy) + xsize, foreground); in GenerateHorzEdges() 89 float* JXL_RESTRICT row = in.PlaneRow(c, iy); in GenerateVertEdges()
|
H A D | enc_xyb.cc | 174 float* JXL_RESTRICT row_xyb0 = xyb->PlaneRow(0, y); in LinearSRGBToXYB() 175 float* JXL_RESTRICT row_xyb1 = xyb->PlaneRow(1, y); in LinearSRGBToXYB() 176 float* JXL_RESTRICT row_xyb2 = xyb->PlaneRow(2, y); in LinearSRGBToXYB() 201 float* JXL_RESTRICT row_xyb0 = xyb->PlaneRow(0, y); in SRGBToXYB() 202 float* JXL_RESTRICT row_xyb1 = xyb->PlaneRow(1, y); in SRGBToXYB() 203 float* JXL_RESTRICT row_xyb2 = xyb->PlaneRow(2, y); in SRGBToXYB() 231 float* JXL_RESTRICT row_linear0 = linear->PlaneRow(0, y); in SRGBToXYBAndLinear() 232 float* JXL_RESTRICT row_linear1 = linear->PlaneRow(1, y); in SRGBToXYBAndLinear() 235 float* JXL_RESTRICT row_xyb0 = xyb->PlaneRow(0, y); in SRGBToXYBAndLinear() 236 float* JXL_RESTRICT row_xyb1 = xyb->PlaneRow(1, y); in SRGBToXYBAndLinear() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/jpeg-xl/lib/jxl/ |
H A D | opsin_image_test.cc | 32 linear.PlaneRow(0, 0)[0] = rgb_r; in LinearSrgbToOpsin() 33 linear.PlaneRow(1, 0)[0] = rgb_g; in LinearSrgbToOpsin() 34 linear.PlaneRow(2, 0)[0] = rgb_b; in LinearSrgbToOpsin() 44 *xyb_x = opsin.PlaneRow(0, 0)[0]; in LinearSrgbToOpsin() 45 *xyb_y = opsin.PlaneRow(1, 0)[0]; in LinearSrgbToOpsin() 46 *xyb_b = opsin.PlaneRow(2, 0)[0]; in LinearSrgbToOpsin() 55 opsin.PlaneRow(0, 0)[0] = xyb_x; in OpsinToLinearSrgb() 56 opsin.PlaneRow(1, 0)[0] = xyb_y; in OpsinToLinearSrgb() 57 opsin.PlaneRow(2, 0)[0] = xyb_b; in OpsinToLinearSrgb() 62 *rgb_r = linear.PlaneRow(0, 0)[0]; in OpsinToLinearSrgb() [all …]
|
H A D | dct_util.h | 42 virtual ACPtr PlaneRow(size_t c, size_t y, size_t xbase) = 0; 43 virtual ConstACPtr PlaneRow(size_t c, size_t y, size_t xbase) const = 0; 63 ACPtr PlaneRow(size_t c, size_t y, size_t xbase) override { in PlaneRow() function 64 return ACPtr(img_.PlaneRow(c, y) + xbase); in PlaneRow() 66 ConstACPtr PlaneRow(size_t c, size_t y, size_t xbase) const override { in PlaneRow() function 67 return ConstACPtr(img_.PlaneRow(c, y) + xbase); in PlaneRow()
|
H A D | enc_noise.cc | 47 float wnd = 0.5f * (opsin.PlaneRow(1, y + y_bl + cy)[x + x_bl + cx] + in GetScoreSumsOfAbsoluteDifferences() 48 opsin.PlaneRow(0, y + y_bl + cy)[x + x_bl + cx]); in GetScoreSumsOfAbsoluteDifferences() 50 0.5f * (opsin.PlaneRow(1, y + offset + cy)[x + offset + cx] + in GetScoreSumsOfAbsoluteDifferences() 51 opsin.PlaneRow(0, y + offset + cy)[x + offset + cx]); in GetScoreSumsOfAbsoluteDifferences() 262 mean_int += 0.5f * (opsin.PlaneRow(1, y + y_bl)[x + x_bl] + in GetNoiseLevel() 263 opsin.PlaneRow(0, y + y_bl)[x + x_bl]); in GetNoiseLevel() 282 (opsin.PlaneRow(1, y + y_bl + y_f)[x + x_bl + x_f] + in GetNoiseLevel() 283 opsin.PlaneRow(0, y + y_bl + y_f)[x + x_bl + x_f]) * in GetNoiseLevel() 288 (opsin.PlaneRow(1, y + y_bl + y_f)[x + x_bl - x_f] + in GetNoiseLevel() 299 (opsin.PlaneRow(1, y + y_bl - y_f)[x + x_bl + x_f] + in GetNoiseLevel() [all …]
|
H A D | adaptive_reconstruction_test.cc | 40 float* rows[3] = {in.PlaneRow(0, y), in.PlaneRow(1, y), in GenerateFlat() 41 in.PlaneRow(2, y)}; in GenerateFlat() 59 in.PlaneRow(c, y)[x] = foreground; in GeneratePoints() 74 std::fill(in.PlaneRow(c, iy), in.PlaneRow(c, iy) + xsize, foreground); in GenerateHorzEdges() 89 float* JXL_RESTRICT row = in.PlaneRow(c, iy); in GenerateVertEdges()
|
/dports/graphics/libjxl/libjxl-0.6.1/tools/ |
H A D | ssimulacra.cc | 61 const float* JXL_RESTRICT row_in0 = in.PlaneRow(0, y); in Rgb2Lab() 62 const float* JXL_RESTRICT row_in1 = in.PlaneRow(1, y); in Rgb2Lab() 64 float* JXL_RESTRICT row_out0 = out.PlaneRow(0, y); in Rgb2Lab() 65 float* JXL_RESTRICT row_out1 = out.PlaneRow(1, y); in Rgb2Lab() 66 float* JXL_RESTRICT row_out2 = out.PlaneRow(2, y); in Rgb2Lab() 83 float* JXL_RESTRICT row_out = out.PlaneRow(c, oy); in Downsample() 90 sum += in.PlaneRow(c, y)[x]; in Downsample() 103 const float* JXL_RESTRICT in1 = a.PlaneRow(c, y); in Multiply() 104 const float* JXL_RESTRICT in2 = b.PlaneRow(c, y); in Multiply() 105 float* JXL_RESTRICT out = mul->PlaneRow(c, y); in Multiply() [all …]
|
H A D | xyb_range.cc | 25 float* JXL_RESTRICT row0 = linear.PlaneRow(0, b + 1); in PrintXybRange() 26 float* JXL_RESTRICT row1 = linear.PlaneRow(1, b + 1); in PrintXybRange() 27 float* JXL_RESTRICT row2 = linear.PlaneRow(2, b + 1); in PrintXybRange() 51 const float* JXL_RESTRICT row = opsin.PlaneRow(c, b); in PrintXybRange()
|