Yet Another eXchange Tool  0.9.0
Functions
xt_idxstripes_internal.h File Reference
#include <stdbool.h>
#include "xt/xt_core.h"
#include "xt/xt_idxlist.h"
#include "xt_arithmetic_util.h"
Include dependency graph for xt_idxstripes_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void xt_idxstripes_initialize (void)
 
void xt_idxstripes_finalize (void)
 
Xt_idxlist xt_idxstripes_get_intersection (Xt_idxlist idxlist_src, Xt_idxlist idxlist_dst)
 
Xt_idxlist xt_idxstripes_prealloc_new (struct Xt_stripe const *stripes, int num_stripes)
 
static bool xt_can_merge_pos_ext (struct Xt_pos_ext a, struct Xt_pos_ext b)
 

Detailed Description

Author
Jörg Behrens behre.nosp@m.ns@d.nosp@m.krz.d.nosp@m.e Moritz Hanke hanke.nosp@m.@dkr.nosp@m.z.de Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de

Definition in file xt_idxstripes_internal.h.

Function Documentation

◆ xt_can_merge_pos_ext()

static bool xt_can_merge_pos_ext ( struct Xt_pos_ext  a,
struct Xt_pos_ext  b 
)
inlinestatic

can b be merged into a, i.e. do a and b form a continuous range?

Parameters
aposition extent to merge into
bposition extent to merge

Definition at line 85 of file xt_idxstripes_internal.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xt_idxstripes_finalize()

void xt_idxstripes_finalize ( void  )

Definition at line 187 of file xt_idxstripes.c.

Here is the caller graph for this function:

◆ xt_idxstripes_get_intersection()

Xt_idxlist xt_idxstripes_get_intersection ( Xt_idxlist  idxlist_src,
Xt_idxlist  idxlist_dst 
)

Definition at line 869 of file xt_idxstripes.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xt_idxstripes_initialize()

void xt_idxstripes_initialize ( void  )

Definition at line 156 of file xt_idxstripes.c.

Here is the caller graph for this function:

◆ xt_idxstripes_prealloc_new()

Xt_idxlist xt_idxstripes_prealloc_new ( struct Xt_stripe const *  stripes,
int  num_stripes 
)

Generates an index list that is built up of stripes of indices. Does not copy the stripes.

Parameters
[in]stripesarray defining the stripes
[in]num_stripesnumber of stripes

Definition at line 360 of file xt_idxstripes.c.

Here is the call graph for this function:
Here is the caller graph for this function: