#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <stdint.h>


Go to the source code of this file.
Data Structures | |
| struct | bp_slot |
| Network Playout Buffer Slots. More... | |
| struct | poitem |
| Network Playout Element. More... | |
| struct | playout_buff_t |
| Network Playout Buffer. More... | |
| struct | buffer_pool_t |
| Buffer Pool Management. More... | |
Defines | |
| #define | BP_SLOT_NUM 150 |
| #define | BP_SLOT_SIZE 2048 |
| #define | BP_SIZE BP_SLOT_NUM*BP_SLOT_SIZE |
| #define | BP_MAX_SIZE BP_SLOT_NUM*50 |
| #define | PKT_DUPLICATED 1 |
| #define | PKT_MISORDERED 2 |
Typedefs | |
| typedef struct playout_buff_t | playout_buff |
| typedef struct buffer_pool_t | buffer_pool |
Functions | |
| int | poinit (playout_buff *, buffer_pool *) |
| Inizializza il Buffer di Playout. | |
| int | poadd (playout_buff *, int, uint32_t) |
| Inserisce un elemento nel Buffer di Playout. | |
| int | podel (playout_buff *, int) |
| Rimuove un elemento dal Buffer di Playout. | |
| int | bpinit (buffer_pool *) |
| Inizializza il Buffer Pool. | |
| int | bpkill (buffer_pool *) |
| Funzione per la chiusura della libreria Bufferpool. | |
| int | bpget (buffer_pool *) |
| Restituisce uno slot di memoria libero dal Buffer Pool. | |
| int | bpfree (buffer_pool *, int) |
| Restituisce uno slot alla Free List. | |
| int | bprmv (buffer_pool *, playout_buff *, int) |
| Rimuove uno slot dalla coda del Buffer di Plaout di Rete. | |
| int | bpenlarge (buffer_pool *bp) |
Definition in file bufferpool.h.
1.5.4