📄 dvd.h
字号:
/***************************************************************************** * dvd.h: thread structure of the DVD plugin ***************************************************************************** * Copyright (C) 1999-2001 VideoLAN * $Id: dvd.h,v 1.2 2002/12/06 16:34:04 sam Exp $ * * Author: St閜hane Borel <stef@via.ecp.fr> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. *****************************************************************************//***************************************************************************** * Preamble *****************************************************************************//* Logical block size for DVD-VIDEO */#define DVD_LB_SIZE 2048#define LB2OFF(x) ((off_t)(x) * (off_t)(DVD_LB_SIZE))#define OFF2LB(x) ((x) >> 11)/***************************************************************************** * thread_dvd_data_t: extension of input_thread_t for DVD specificity. *****************************************************************************/typedef struct thread_dvd_data_s{ dvdcss_handle dvdhandle; /* libdvdcss handle */ unsigned int i_audio_nb; unsigned int i_spu_nb; /* Navigation information */ unsigned int i_title; unsigned int i_title_id; unsigned int i_chapter_nb; unsigned int i_chapter; vlc_bool_t b_new_chapter; unsigned int i_angle_nb; unsigned int i_angle; unsigned int i_map_cell; /* cell index in adress map */ unsigned int i_prg_cell; /* cell index in program map */ unsigned int i_angle_cell; /* cell index in the current angle */ unsigned int i_vts_start; /* offset to beginning of vts */ unsigned int i_vts_lb; /* sector in vts */ unsigned int i_last_lb; /* last sector of current cell */ /* Structure that contains all information of the DVD */ struct ifo_s * p_ifo;} thread_dvd_data_t;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -