"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/common/interpolation.h" between
darktable-2.6.3.tar.xz and darktable-3.0.0.rc0.tar.xz

About: darktable is an open source photography workflow application and RAW developer. A virtual lighttable and darkroom for photographers. Release candidate.

interpolation.h  (darktable-2.6.3.tar.xz):interpolation.h  (darktable-3.0.0.rc0.tar.xz)
skipping to change at line 108 skipping to change at line 108
* @param y Y-Coordinate of the requested sample * @param y Y-Coordinate of the requested sample
* @param width Width of the input image * @param width Width of the input image
* @param height Width of the input image * @param height Width of the input image
* @param linestride Stride in bytes for complete line * @param linestride Stride in bytes for complete line
* *
*/ */
void dt_interpolation_compute_pixel4c(const struct dt_interpolation *itor, const float *in, float *out, void dt_interpolation_compute_pixel4c(const struct dt_interpolation *itor, const float *in, float *out,
const float x, const float y, const int wi dth, const int height, const float x, const float y, const int wi dth, const int height,
const int linestride); const int linestride);
// same as above for single channel images (i.e., masks). no SSE or CPU code pat
hs for now
void dt_interpolation_compute_pixel1c(const struct dt_interpolation *itor, const
float *in, float *out,
const float x, const float y, const int wi
dth, const int height,
const int linestride);
/** Get an interpolator from type /** Get an interpolator from type
* @param type Interpolator to search for * @param type Interpolator to search for
* @return requested interpolator or default if not found (this function can't f ail) * @return requested interpolator or default if not found (this function can't f ail)
*/ */
const struct dt_interpolation *dt_interpolation_new(enum dt_interpolation_type t ype); const struct dt_interpolation *dt_interpolation_new(enum dt_interpolation_type t ype);
/** Image resampler. /** Image resampler.
* *
* Resamples the image "in" to "out" according to roi values. Here is the * Resamples the image "in" to "out" according to roi values. Here is the
* exact contract: * exact contract:
skipping to change at line 186 skipping to change at line 191
*/ */
int dt_interpolation_resample_cl(const struct dt_interpolation *itor, int devid, cl_mem dev_out, int dt_interpolation_resample_cl(const struct dt_interpolation *itor, int devid, cl_mem dev_out,
const dt_iop_roi_t *const roi_out, cl_mem dev_i n, const dt_iop_roi_t *const roi_out, cl_mem dev_i n,
const dt_iop_roi_t *const roi_in); const dt_iop_roi_t *const roi_in);
int dt_interpolation_resample_roi_cl(const struct dt_interpolation *itor, int de vid, cl_mem dev_out, int dt_interpolation_resample_roi_cl(const struct dt_interpolation *itor, int de vid, cl_mem dev_out,
const dt_iop_roi_t *const roi_out, cl_mem d ev_in, const dt_iop_roi_t *const roi_out, cl_mem d ev_in,
const dt_iop_roi_t *const roi_in); const dt_iop_roi_t *const roi_in);
#endif #endif
// same as above for single channel images (i.e., masks). no SSE or CPU code pat
hs for now
void dt_interpolation_resample_1c(const struct dt_interpolation *itor, float *ou
t,
const dt_iop_roi_t *const roi_out, const int32
_t out_stride,
const float *const in, const dt_iop_roi_t *con
st roi_in,
const int32_t in_stride);
void dt_interpolation_resample_roi_1c(const struct dt_interpolation *itor, float
*out,
const dt_iop_roi_t *const roi_out, const i
nt32_t out_stride,
const float *const in, const dt_iop_roi_t
*const roi_in,
const int32_t in_stride);
// modelines: These editor modelines have been set for all relevant files by too ls/update_modelines.sh // modelines: These editor modelines have been set for all relevant files by too ls/update_modelines.sh
// vim: shiftwidth=2 expandtab tabstop=2 cindent // vim: shiftwidth=2 expandtab tabstop=2 cindent
// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified; // kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
 End of changes. 2 change blocks. 
0 lines changed or deleted 26 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)