|
xine-lib
1.2.9
|
#include <stdio.h>#include <string.h>#include <stdlib.h>#include <inttypes.h>#include <xine/buffer.h>#include <xine/xineutils.h>#include <xine/xine_internal.h>#include "bswap.h"Data Structures | |
| struct | video_db_s |
| struct | audio_db_s |
Typedefs | |
| typedef struct video_db_s | video_db_t |
| typedef struct audio_db_s | audio_db_t |
Functions | |
| uint32_t | _x_fourcc_to_buf_video (uint32_t fourcc_int) |
| Returns the BUF_VIDEO_xxx for the given fourcc. More... | |
| const char * | _x_buf_video_name (uint32_t buf_type) |
| Returns video codec name given the buffer type. More... | |
| uint32_t | _x_formattag_to_buf_audio (uint32_t formattag) |
| Returns the BUF_AUDIO_xxx for the given formattag. More... | |
| const char * | _x_buf_audio_name (uint32_t buf_type) |
| Returns audio codec name given the buffer type. More... | |
| static void | code_to_text (char ascii[5], uint32_t code) |
| void | _x_report_video_fourcc (xine_t *xine, const char *module, uint32_t code) |
| void | _x_report_audio_format_tag (xine_t *xine, const char *module, uint32_t code) |
| void | _x_bmiheader_le2me (xine_bmiheader *bih) |
| void | _x_waveformatex_le2me (xine_waveformatex *wavex) |
Variables | |
| static const video_db_t | video_db [] |
| static const audio_db_t | audio_db [] |
| typedef struct audio_db_s audio_db_t |
| typedef struct video_db_s video_db_t |
| void _x_bmiheader_le2me | ( | xine_bmiheader * | bih | ) |
Convert xine_bmiheader struct from little endian
References xine_bmiheader::biBitCount, xine_bmiheader::biClrImportant, xine_bmiheader::biClrUsed, xine_bmiheader::biHeight, xine_bmiheader::biPlanes, xine_bmiheader::biSize, xine_bmiheader::biSizeImage, xine_bmiheader::biWidth, xine_bmiheader::biXPelsPerMeter, xine_bmiheader::biYPelsPerMeter, le2me_16, and le2me_32.
Referenced by asf_read_header(), AVI_init(), and parse_track_entry().
| const char* _x_buf_audio_name | ( | uint32_t | buf_type | ) |
Returns audio codec name given the buffer type.
| buf_type | One of the BUF_AUDIO_xxx values. |
References audio_db, audio_db_s::buf_type, and audio_db_s::name.
Referenced by asf_read_header(), audio_decoder_loop(), and demux_avi_send_headers().
| const char* _x_buf_video_name | ( | uint32_t | buf_type | ) |
Returns video codec name given the buffer type.
| buf_type | One of the BUF_VIDEO_xxx values. |
References video_db_s::buf_type, video_db_s::name, and video_db.
Referenced by asf_read_header(), demux_avi_send_headers(), and video_decoder_loop().
| uint32_t _x_formattag_to_buf_audio | ( | uint32_t | formattag | ) |
Returns the BUF_AUDIO_xxx for the given formattag.
| formattagg | 32-bit format tag value in machine endianness |
References audio_db, audio_db_s::buf_type, and audio_db_s::formattag.
Referenced by asf_read_header(), decode_audio_header(), demux_avi_send_headers(), demux_qt_send_headers(), open_ac3_file(), open_dts_file(), open_nsv_file(), open_ra_file(), open_smjpeg_file(), open_wav_file(), parse_track_entry(), and real_parse_headers().
| uint32_t _x_fourcc_to_buf_video | ( | uint32_t | fourcc_int | ) |
Returns the BUF_VIDEO_xxx for the given fourcc.
| fourcc_int | 32-bit FOURCC value in machine endianness |
example: fourcc_int = *(uint32_t *)fourcc_char;
References video_db_s::buf_type, video_db_s::fourcc, and video_db.
Referenced by asf_read_header(), decode_dshow_header(), decode_video_header(), demux_avi_send_headers(), demux_qt_send_headers(), open_film_file(), open_nsv_file(), open_smjpeg_file(), parse_track_entry(), and real_parse_headers().
| void _x_report_audio_format_tag | ( | xine_t * | xine, |
| const char * | module, | ||
| uint32_t | code | ||
| ) |
References _, code, code_to_text(), XINE_VERBOSITY_LOG, and xprintf.
Referenced by asf_read_header(), decode_audio_header(), demux_avi_send_headers(), demux_qt_send_headers(), open_nsv_file(), open_smjpeg_file(), parse_track_entry(), and real_parse_headers().
| void _x_report_video_fourcc | ( | xine_t * | , |
| const char * | module, | ||
| uint32_t | |||
| ) |
Unknown FourCC reporting functions
References _, code, code_to_text(), XINE_VERBOSITY_LOG, and xprintf.
Referenced by asf_read_header(), decode_dshow_header(), decode_video_header(), demux_avi_send_headers(), demux_qt_send_headers(), open_film_file(), open_nsv_file(), open_smjpeg_file(), parse_track_entry(), and real_parse_headers().
| void _x_waveformatex_le2me | ( | xine_waveformatex * | wavex | ) |
Convert xine_waveformatex struct from little endian
References xine_waveformatex::cbSize, le2me_16, le2me_32, xine_waveformatex::nAvgBytesPerSec, xine_waveformatex::nBlockAlign, xine_waveformatex::nChannels, xine_waveformatex::nSamplesPerSec, xine_waveformatex::wBitsPerSample, and xine_waveformatex::wFormatTag.
Referenced by asf_read_header(), AVI_init(), open_ac3_file(), open_dts_file(), open_wav_file(), parse_track_entry(), and parse_trak_atom().
|
static |
References code.
Referenced by _x_report_audio_format_tag(), and _x_report_video_fourcc().
|
static |
Referenced by _x_buf_audio_name(), and _x_formattag_to_buf_audio().
|
static |
Referenced by _x_buf_video_name(), and _x_fourcc_to_buf_video().
1.8.14