PCKBT (3I)     version 4.6.9     March 2022

User Intro    Prog Intro    Liste des programmes    Liste des manuels
Table of Contents


NAME

pckbt, c_pckbt, unpkbt, c_unpkbt - passage d'un tableau de bits du format compact au format non compact

SYNOPSIS

subroutine pckbt(a,b,n,ibits)
integer a(1),b(1),n,ibits

subroutine unpkbt(a,b,n,ibits)
integer a(1),b(1),n,ibits

#include <inrimage/image.h>

pckbt_(a,b,n,ibits)
char *a, *b;Fort_int *n, *ibits;

c_pckbt(a,b,n,ibits)
char *a, *b;int n, ibits;

unpkbt_(a,b,n,ibits)
char *a, *b;Fort_int *n, *ibits;

c_unpkbt(a,b,n,ibits)
char *a, *b;int n, ibits;

DESCRIPTION

pckbt (c_pckbt) transforme le tableau a en tableau b "compact". Dans a, chacun des n points codés sur ibits bits cadrés a droite occupe (ibits+7)/8 octets. Dans b, les bits seront consécutifs.
a et b peuvent être identiques car l'opération commence par le début du tableau.
Le dernier octet de b est complété par des 0.

unpkbt (c_unpkbt) fait le traitement inverse.
a et b peuvent être identiques car l'opération commence par la fin du tableau.