lvremmap(3)

LIBRARY ROUTINE
lvremmap - Removes the map from a xvimage structure

LIBRARY CALL
#include "vinclude.h"
int lvremmap(image)
struct xvimage *image;

INPUT
Input to lvremmap : struct xvimage *image;

OUTPUT
None

MODIFICATIONS

DESCRIPTION
lvremmap : lvremmap removes the map from a xvimage structure if there is one by resetting:

    map_storage_type to VFF_MAPTYP_NONE

    mapping scheme to VFF_MS_NONE.

    map_enable to VFF_MAP_OPTIONAL.

    map_row_size, map_col_size and map_subrow_size to 0

The memory pointed by the field " maps " of the xvimage structure is freed and the original maps are lost.

SEE ALSO
vremmap(1), intro(3), vipl(3), verror(3), vutils(3)
vremmap(1), lvmapdata(3), lvmapxfer.3, vmapdata(1), vmapxfer.1

RESTRICTIONS
None

AUTHOR
Pascal ADAM

COPYRIGHT
Copyright 1991, University of New Mexico. All rights reserved.