XIL Device Porting and Extensibility Guide
  Search only this book
Download this book in PDF

XIL Atomic Functions

B

Table B-1 lists the XIL atomic functions. The first column gives the name of the function that must be supplied in the XILCONFIG header comment in order to associate an implemented function with an API call. The second column gives the name of the API binding call associated with the atomic name. Further description of these API functions can be found in the XIL Reference Manual.pf
Table B-1 (1 of 12)
Atomic FunctionWhat It Does
absolute16xil_absolute for 16-bit images
add1xil_add for 1-bit images
add16xil_add for 16-bit images
add8xil_add for 8-bit images
addconst1xil_add_const for 1-bit images
addconst16xil_add_const for 16-bit images
addconst8xil_add_const for 8-bit images
affine16bicubicxil_affine for 16-bit images, bicubic interpolation
affine16bilinearxil_affine for 16-bit images, bilinear interpolation
affine16generalxil_affine for 16-bit images, general interpolation
affine16nearestxil_affine for 16-bit images, nearest neighbor interpolation
affine1bicubicxil_affine for 1-bit images, bicubic interpolation
Table B-1 (2 of 12)
Atomic FunctionWhat It Does
affine1bilinearxil_affine for 1-bit images, bilinear interpolation
affine1generalxil_affine for 1-bit images, general interpolation
affine1nearestxil_affine for 1-bit images, nearest neighbor interpolation
affine8bicubicxil_affine for 8-bit images, bicubic interpolation
affine8bilinearxil_affine for 8-bit images, bilinear interpolation
affine8generalxil_affine for 8-bit images, general interpolation
affine8nearestxil_affine for 8-bit images, nearest neighbor interpolation
and1xil_and for 1-bit images
and16xil_and for 16-bit images
and8xil_and for 8-bit images
andconst1xil_and_const for 1-bit images
andconst16xil_and_const for 16-bit images
andconst8xil_and_const for 8-bit images
bandCombine1xil_band_combine for 1-bit images
bandCombine16xil_band_combine for 16-bit images
bandCombine8xil_band_combine for 8-bit images
blackgeneration16xil_black_generation for 16-bit images
blackgeneration8xil_black_generation for 8-bit images
blend16a1xil_blend for 16-bit images with 1-bit alpha
blend16a16xil_blend for 16-bit images with 16-bit alpha
blend16a8xil_blend for 16-bit images with 8-bit alpha
blend1a1xil_blend for 1-bit images with 1-bit alpha
blend1a16xil_blend for 1-bit images with 16-bit alpha
blend1a8xil_blend for 1-bit images with 8-bit alpha
blend8a1xil_blend for 8-bit images with 1-bit alpha
blend8a16xil_blend for 8-bit images with 16-bit alpha
Table B-1 (3 of 12)
Atomic FunctionWhat It Does
blend8a8xil_blend for 8-bit images with 8-bit alpha
chooseColormap8xil_choose_colormap for 8-bit images
colorconvertxil_color_convert
convert16_1xil_cast for 16-bit source, 1-bit destination
convert16_8xil_cast for 16-bit source, 8-bit destination
convert1_16xil_cast for 1-bit source, 16-bit destination
convert1_8xil_cast for 1-bit source, 8-bit destination
convert8_1xil_cast for 8-bit source, 1-bit destination
convert8_16xil_cast for 8-bit source, 16-bit destination
convolve1xil_convolve for 1-bit images
convolve16xil_convolve for 16-bit images
convolve8xil_convolve for 8-bit images
copy1xil_copy for 1-bit images
copy16xil_copy for 16-bit images
copy8xil_copy for 8-bit images
copy_with_planemask1xil_copy_with_planemask for 1-bit images
copy_with_planemask16xil_copy_with_planemask for 16-bit images
copy_with_planemask8xil_copy_with_planemask for 8-bit images
copypattern1xil_copy_pattern for 1-bit images
copypattern16xil_copy_pattern for 16-bit images
copypattern8xil_copy_pattern for 8-bit images
dilate1xil_dilate for 1-bit images
dilate16xil_dilate for 16-bit images
dilate8xil_dilate for 8-bit images
divide1xil_divide for 1-bit images
divide16xil_divide for 16-bit images
divide8xil_divide for 8-bit images
Table B-1 (4 of 12)
Atomic FunctionWhat It Does
divideintoconst1xil_divide_into_const for 1-bit images
divideintoconst16xil_divide_into_const for 16-bit images
divideintoconst8xil_divide_into_const for 8-bit images
edge_detect_sobel1xil_edge_detection for 1-bit images
edge_detect_sobel16xil_edge_detection for 16-bit images
edge_detect_sobel8xil_edge_detection for 8-bit images
erode1xil_erode for 1-bit images
erode16xil_erode for 16-bit images
erode8xil_erode for 8-bit images
errordiffusion16_1xil_error_diffusion for 16-bit source, 1-bit destination
errordiffusion16_16xil_error_diffusion for 16-bit source, 16-bit destination
errordiffusion16_8xil_error_diffusion for 16-bit source, 8-bit destination
errordiffusion1_1xil_error_diffusion for 1-bit source, 1-bit destination
errordiffusion1_16xil_error_diffusion for 1-bit source, 16-bit destination
errordiffusion1_8xil_error_diffusion for 1-bit source, 8-bit destination
errordiffusion8_1xil_error_diffusion for 8-bit source, 1-bit destination
errordiffusion8_16xil_error_diffusion for 8-bit source, 16-bit destination
errordiffusion8_8xil_error_diffusion for 8-bit source, 8-bit destination
extrema1xil_extrema for 1-bit images
extrema16xil_extrema for 16-bit images
extrema8xil_extrema for 8-bit images
Table B-1 (5 of 12)
Atomic FunctionWhat It Does
fill1xil_fill for 1-bit images
fill16xil_fill for 16-bit images
fill8xil_fill for 8-bit images
histogram1xil_histogram for 1-bit images
histogram16xil_histogram for 16-bit images
histogram8xil_histogram for 8-bit images
lookup16_1xil_lookup for 16-bit source, 1-bit destination
lookup16_16xil_lookup for 16-bit source, 16-bit destination
lookup16_8xil_lookup for 16-bit source, 8-bit destination
lookup1_1xil_lookup for 1-bit source, 1-bit destination
lookup1_16xil_lookup for 1-bit source, 16-bit destination
lookup1_8xil_lookup for 1-bit source, 8-bit destination
lookup8_1xil_lookup for 8-bit source, 1-bit destination
lookup8_16xil_lookup for 8-bit source, 16-bit destination
lookup8_8xil_lookup for 8-bit source, 8-bit destination
max16xil_max for 16-bit images
max8xil_max for 8-bit images
min16xil_min for 16-bit images
min8xil_min for 8-bit images
multiply1xil_multiply for 1-bit images
multiply16xil_multiply for 16-bit images
multiply8xil_multiply for 8-bit images
multiplyconst1xil_multiply_const for 1-bit images
multiplyconst16xil_multiply_const for 16-bit images
multiplyconst8xil_multiply_const for 8-bit images
nearestcolor16_1xil_nearest_color for 16-bit source, 1-bit destination
Table B-1 (6 of 12)
Atomic FunctionWhat It Does
nearestcolor16_16xil_nearest_color for 16-bit source, 16-bit destination
nearestcolor16_8xil_nearest_color for 16-bit source, 8-bit destination
nearestcolor1_1xil_nearest_color for 1-bit source, 1-bit destination
nearestcolor1_16xil_nearest_color for 1-bit source, 16-bit destination
nearestcolor1_8xil_nearest_color for 1-bit source, 8-bit destination
nearestcolor8_1xil_nearest_color for 8-bit source, 1-bit destination
nearestcolor8_16xil_nearest_color for 8-bit source, 16-bit destination
nearestcolor8_8xil_nearest_color for 8-bit source, 8-bit destination
not1xil_not for 1-bit images
not16xil_not for 16-bit images
not8xil_not for 8-bit images
or1xil_or for 1-bit images
or16xil_or for 16-bit images
or8xil_or for 8-bit images
orconst1xil_or_const for 1-bit images
orconst16xil_or_const for 16-bit images
orconst8xil_or_const for 8-bit images
ordereddither16_1xil_ordered_dither for 16-bit source, 1-bit destination
ordereddither16_16xil_ordered_dither for 16-bit source, 16-bit destination
ordereddither16_8xil_ordered_dither for 16-bit source, 8-bit destination
Table B-1 (7 of 12)
Atomic FunctionWhat It Does
ordereddither1_1xil_ordered_dither for 1-bit source, 1-bit destination
ordereddither1_16xil_ordered_dither for 1-bit source, 16-bit destination
ordereddither1_8xil_ordered_dither for 1-bit source, 8-bit destination
ordereddither8_1xil_ordered_dither for 8-bit source, 1-bit destination
ordereddither8_16xil_ordered_dither for 8-bit source, 16-bit destination
ordereddither8_8xil_ordered_dither for 8-bit source, 8-bit destination
paint1xil_paint for 1-bit images
paint16xil_paint for 16-bit images
paint8xil_paint for 8-bit images
rescale1xil_rescale for 1-bit images
rescale16xil_rescale for 16-bit images
rescale8xil_rescale for 8-bit images
rotate16bicubicxil_rotate for 16-bit images, bicubic interpolation
rotate16bilinearxil_rotate for 16-bit images, bilinear interpolation
rotate16generalxil_rotate for 16-bit images, general interpolation
rotate16nearestxil_rotate for 16-bit images, nearest neighbor interpolation
rotate1bicubicxil_rotate for 1-bit images, bicubic interpolation
rotate1bilinearxil_rotate for 1-bit images, bilinear interpolation
rotate1generalxil_rotate for 1-bit images, general interpolation
rotate1nearestxil_rotate for 1-bit images, nearest neighbor interpolation
rotate8bicubicxil_rotate for 8-bit images, bicubic interpolation
rotate8bilinearxil_rotate for 8-bit images, bilinear interpolation
Table B-1 (8 of 12)
Atomic FunctionWhat It Does
rotate8generalxil_rotate for 8-bit images, general interpolation
rotate8nearestxil_rotate for 8-bit images, nearest neighbor interpolation
scale16bicubicxil_scale for 16-bit images, bicubic interpolation
scale16bilinearxil_scale for 16-bit images, bilinear interpolation
scale16generalxil_scale for 16-bit images, general interpolation
scale16nearestxil_scale for 16-bit images, nearest neighbor interpolation
scale1bicubicxil_scale for 1-bit images, bicubic interpolation
scale1bilinearxil_scale for 1-bit images, bilinear interpolation
scale1generalxil_scale for 1-bit images, general interpolation
scale1nearestxil_scale for 1-bit images, nearest neighbor interpolation
scale8bicubicxil_scale for 8-bit images, bicubic interpolation
scale8bilinearxil_scale for 8-bit images, bilinear interpolation
scale8generalxil_scale for 8-bit images, general interpolation
scale8nearestxil_scale for 8-bit images, nearest neighbor interpolation
setvalue1xil_set_value for 1-bit images
setvalue16xil_set_value for 16-bit images
setvalue8xil_set_value for 8-bit images
softfill1xil_soft_fill for 1-bit images
softfill16xil_soft_fill for 16-bit images
softfill8xil_soft_fill for 8-bit images
squeezerange1xil_squeeze_range for 1-bit images
squeezerange16xil_squeeze_range for 16-bit images
squeezerange8xil_squeeze_range for 8-bit images
subsample1_8xil_subsample_binary_to_gray 8-bit destination
subsampleAdaptive1xil_subsample_adaptive for 1-bit images
Table B-1 (9 of 12)
Atomic FunctionWhat It Does
subsampleAdaptive16xil_subsample_adaptive for 16-bit images
subsampleAdaptive8xil_subsample_adaptive for 8-bit images
subtract1xil_subtract for 1-bit images
subtract16xil_subtract for 16-bit images
subtract8xil_subtract for 8-bit images
subtractfromconst1xil_subtract_from_const for 1-bit images
subtractfromconst16xil_subtract_from_const for 16-bit images
subtractfromconst8xil_subtract_from_const for 8-bit images
tablewarp16bicubicxil_tablewarp for 16-bit images, bicubic interpolation
tablewarp16bilinearxil_tablewarp for 16-bit images, bilinear interpolation
tablewarp16generalxil_tablewarp for 16-bit images, general interpolation
tablewarp16nearestxil_tablewarp for 16-bit images, nearest neighbor interpolation
tablewarp1bicubicxil_tablewarp for 1-bit images, bicubic interpolation
tablewarp1bilinearxil_tablewarp for 1-bit images, bilinear interpolation
tablewarp1generalxil_tablewarp for 1-bit images, general interpolation
tablewarp1nearestxil_tablewarp for 1-bit images, nearest neighbor interpolation
tablewarp8bicubicxil_tablewarp for 8-bit images, bicubic interpolation
tablewarp8bilinearxil_tablewarp for 8-bit images, bilinear interpolation
tablewarp8generalxil_tablewarp for 8-bit images, general interpolation
Table B-1 (10 of 12)
Atomic FunctionWhat It Does
tablewarp8nearestxil_tablewarp for 8-bit images, nearest neighbor interpolation
tablewarph16bicubicxil_tablewarp_horizontal for 16-bit images, bicubic interpolation
tablewarph16bilinearxil_tablewarp_horizontal for 16-bit images, bilinear interpolation
tablewarph16generalxil_tablewarp_horizontal for 16-bit images, general interpolation
tablewarph16nearestxil_tablewarp_horizontal for 16-bit images, nearest neighbor interpolation
tablewarph1bicubicxil_tablewarp_horizontal for 1-bit images, bicubic interpolation
tablewarph1bilinearxil_tablewarp_horizontal for 1-bit images, bilinear interpolation
tablewarph1generalxil_tablewarp_horizontal for 1-bit images, general interpolation
tablewarph1nearestxil_tablewarp_horizontal for 1-bit images, nearest neighbor interpolation
tablewarph8bicubicxil_tablewarp_horizontal for 8-bit images, bicubic interpolation
tablewarph8bilinearxil_tablewarp_horizontal for 8-bit images, bilinear interpolation
tablewarph8generalxil_tablewarp_horizontal for 8-bit images, general interpolation
tablewarph8nearestxil_tablewarp_horizontal for 8-bit images, nearest neighbor interpolation
tablewarpv16bicubicxil_tablewarp_vertical for 16-bit images, bicubic interpolation
tablewarpv16bilinearxil_tablewarp_vertical for 16-bit images, bilinear interpolation
tablewarpv16generalxil_tablewarp_vertical for 16-bit images, general interpolation
Table B-1 (11 of 12)
Atomic FunctionWhat It Does
tablewarpv16nearestxil_tablewarp_vertical for 16-bit images, nearest neighbor interpolation
tablewarpv1bicubicxil_tablewarp_vertical for 1-bit images, bicubic interpolation
tablewarpv1bilinearxil_tablewarp_vertical for 1-bit images, bilinear interpolation
tablewarpv1generalxil_tablewarp_vertical for 1-bit images, general interpolation
tablewarpv1nearestxil_tablewarp_vertical for 1-bit images, nearest neighbor interpolation
tablewarpv8bicubicxil_tablewarp_vertical for 8-bit images, bicubic interpolation
tablewarpv8bilinearxil_tablewarp_vertical for 8-bit images, bilinear interpolation
tablewarpv8generalxil_tablewarp_vertical for 8-bit images, general interpolation
tablewarpv8nearestxil_tablewarp_vertical for 8-bit images, nearest neighbor interpolation
threshold1xil_threshold for 1-bit images
threshold16xil_threshold for 16-bit images
threshold8xil_threshold for 8-bit images
translate16bicubicxil_translate for 16-bit images, bicubic interpolation
translate16bilinearxil_translate for 16-bit images, bilinear interpolation
translate16generalxil_translate for 16-bit images, general interpolation
translate16nearestxil_translate for 16-bit images, nearest neighbor interpolation
translate1bicubicxil_translate for 1-bit images, bicubic interpolation
translate1bilinearxil_translate for 1-bit images, bilinear interpolation
Table B-1 (12 of 12)
Atomic FunctionWhat It Does
translate1generalxil_translate for 1-bit images, general interpolation
translate1nearestxil_translate for 1-bit images, nearest neighbor interpolation
translate8bicubicxil_translate for 8-bit images, bicubic interpolation
translate8bilinearxil_translate for 8-bit images, bilinear interpolation
translate8generalxil_translate for 8-bit images, general interpolation
translate8nearestxil_translate for 8-bit images, nearest neighbor interpolation
transpose1xil_transpose for 1-bit images
transpose16xil_transpose for 16-bit images
transpose8xil_transpose for 8-bit images
xor1xil_xor for 1-bit images
xor16xil_xor for 16-bit images
xor8xil_xor for 8-bit images
xorconst1xil_xor_const for 1-bit images
xorconst16xil_xor_const for 16-bit images
xorconst8xil_xor_const for 8-bit images