~siretart/vlc/ubuntu

« back to all changes in this revision

Viewing changes to include/vlc_block.h

  • Committer: Reinhard Tartler
  • Date: 2008-09-26 06:45:40 UTC
  • mto: (21.2.1 vlc-0.9.3)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: siretart@tauware.de-20080926064540-0sd8zwmig33ksmy4
Tags: upstream-ubuntu-0.9.3
ImportĀ upstreamĀ versionĀ 0.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * vlc_block.h: Data blocks management functions
3
3
 *****************************************************************************
4
4
 * Copyright (C) 2003 the VideoLAN team
5
 
 * $Id: a17530ec36e881aa8d5e5e7ebdd1124cc557eda2 $
 
5
 * $Id: 4cca0acd2dc6843cabf0b9bcea3362856ee8b278 $
6
6
 *
7
7
 * Authors: Laurent Aimar <fenrir@via.ecp.fr>
8
8
 *
79
79
/** This block is corrupted and/or there is data loss  */
80
80
#define BLOCK_FLAG_CORRUPTED     0x1000
81
81
 
82
 
#define BLOCK_FLAG_PRIVATE_MASK  0xffff0000
83
 
#define BLOCK_FLAG_PRIVATE_SHIFT 16
 
82
/* These are for input core private usage only */
 
83
#define BLOCK_FLAG_CORE_PRIVATE_MASK  0x00ff0000
 
84
#define BLOCK_FLAG_CORE_PRIVATE_SHIFT 16
 
85
 
 
86
/* These are for module private usage only */
 
87
#define BLOCK_FLAG_PRIVATE_MASK  0xff000000
 
88
#define BLOCK_FLAG_PRIVATE_SHIFT 24
84
89
 
85
90
typedef void (*block_free_t) (block_t *);
86
91