xine-lib 1.2.13-20230125hg15249
|
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stddef.h>
#include <pthread.h>
#include <time.h>
#include <sys/time.h>
#include <xine/os_types.h>
#include <xine/attributes.h>
#include <xine/compat.h>
#include <xine/xmlparser.h>
#include <xine/xine_buffer.h>
#include <xine/configfile.h>
#include <xine/list.h>
#include <xine/array.h>
#include <xine/sorted_array.h>
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | dnode_st |
struct | dlist_t |
struct | xine_mutex_t |
struct | yuv_planes_s |
struct | xine_rats_t |
Macros | |
#define | DLIST_H(l) ((void *)(&(l)->head)) |
#define | DLIST_T(l) ((void *)(&(l)->null)) |
#define | DLIST_IS_EMPTY(l) ((l)->head == DLIST_T(l)) |
#define | DLIST_REMOVE(n) |
#define | DLIST_ADD_HEAD(n, l) |
#define | DLIST_ADD_TAIL(n, l) |
#define | DLIST_INSERT(n, h) |
#define | DLIST_INIT(l) |
#define | MM_ACCEL_MLIB 0x00000001 |
#define | MM_ACCEL_X86_MMX 0x80000000 |
#define | MM_ACCEL_X86_3DNOW 0x40000000 |
#define | MM_ACCEL_X86_MMXEXT 0x20000000 |
#define | MM_ACCEL_X86_SSE 0x10000000 |
#define | MM_ACCEL_X86_SSE2 0x08000000 |
#define | MM_ACCEL_X86_SSE3 0x04000000 |
#define | MM_ACCEL_X86_SSSE3 0x02000000 |
#define | MM_ACCEL_X86_SSE4 0x01000000 |
#define | MM_ACCEL_X86_SSE42 0x00800000 |
#define | MM_ACCEL_X86_AVX 0x00400000 |
#define | MM_ACCEL_PPC_ALTIVEC 0x04000000 |
#define | MM_ACCEL_PPC_CACHE32 0x02000000 |
#define | MM_ACCEL_SPARC_VIS 0x01000000 |
#define | MM_ACCEL_SPARC_VIS2 0x00800000 |
#define | MM_MMX MM_ACCEL_X86_MMX |
#define | MM_3DNOW MM_ACCEL_X86_3DNOW |
#define | MM_MMXEXT MM_ACCEL_X86_MMXEXT |
#define | MM_SSE MM_ACCEL_X86_SSE |
#define | MM_SSE2 MM_ACCEL_X86_SSE2 |
#define | xine_small_memcpy(xsm_to, xsm_from, xsm_len) memcpy (xsm_to, xsm_from, xsm_len) |
#define | xine_container_of(ptr, type, member) ((type *)(void *)((char *)(1 ? (ptr) : &((type *)0)->member) - offsetof(type, member))) |
#define | XINE_MEM_ALIGN 32 |
#define | xine_freep_aligned(xinefreepptr) do {xine_free_aligned (*(xinefreepptr)); *(xinefreepptr) = NULL; } while (0) |
#define | xine_strpbrk(S, ACCEPT) strpbrk((S), (ACCEPT)) |
#define | xine_strsep(STRINGP, DELIM) strsep((STRINGP), (DELIM)) |
#define | xine_setenv(NAME, VAL, XX) setenv((NAME), (VAL), (XX)) |
#define | SCALESHIFT 16 |
#define | SCALEFACTOR (1<<SCALESHIFT) |
#define | CENTERSAMPLE 128 |
#define | COMPUTE_Y(r, g, b) |
#define | COMPUTE_U(r, g, b) |
#define | COMPUTE_V(r, g, b) |
#define | UNPACK_BGR15(packed_pixel, r, g, b) |
#define | UNPACK_BGR16(packed_pixel, r, g, b) |
#define | UNPACK_RGB15(packed_pixel, r, g, b) |
#define | UNPACK_RGB16(packed_pixel, r, g, b) |
#define | EXPECT_TRUE(x) (x) |
#define | EXPECT_FALSE(x) (x) |
#define | _x_assert(exp) |
#define | _x_abort() |
#define | LOG_MODULE __FILE__ |
#define | LOG_MODULE_STRING printf("%s: ", LOG_MODULE ); |
#define | LONG_LOG_MODULE_STRING LOG_MODULE_STRING |
#define | lprintf(...) do {} while(0) |
#define | llprintf(cat, ...) |
#define | xprintf(xine, verbose, ...) |
#define | XINE_PROFILE(function) function |
#define | XINE_PROFILE_ACCUMULATE(function) function |
#define | XINE_FAST_STRING 1 |
#define | XINE_REF_STRING 1 |
#define | XINE_PTS_QUEUE 1 |
#define | XINE_TS 1 |
#define | XINE_RATS 1 |
Typedefs | |
typedef struct dnode_st | dnode_t |
typedef struct yuv_planes_s | yuv_planes_t |
typedef struct rgb2yuy2_s | rgb2yuy2_t |
typedef struct xine_pts_queue_s | xine_pts_queue_t |
Functions | |
int | xine_mutex_init (xine_mutex_t *mutex, const pthread_mutexattr_t *mutexattr, const char *id) |
int | xine_mutex_lock (xine_mutex_t *mutex, const char *who) |
int | xine_mutex_unlock (xine_mutex_t *mutex, const char *who) |
int | xine_mutex_destroy (xine_mutex_t *mutex) |
uint32_t | xine_mm_accel (void) XINE_CONST |
int | xine_cpu_count (void) XINE_CONST |
void | xine_profiler_init (void) |
int | xine_profiler_allocate_slot (const char *label) |
void | xine_profiler_start_count (int id) |
void | xine_profiler_stop_count (int id) |
void | xine_profiler_print_results (void) |
void * | xine_xmalloc (size_t size) XINE_DEPRECATED |
Allocate and clean memory size_t 'size', then return the pointer to the allocated memory. | |
void * | xine_xcalloc (size_t nmemb, size_t size) |
Wrapper around calloc() function. | |
static void | _x_freep (void *ptr) |
static void | _x_freep_wipe_string (char **pp) |
void * | xine_memdup (const void *src, size_t length) |
void * | xine_memdup0 (const void *src, size_t length) |
void * | xine_mallocz_aligned (size_t size) |
void * | xine_malloc_aligned (size_t size) |
void | xine_free_aligned (void *ptr) |
void * | xine_realloc_aligned (void *ptr, size_t size) |
size_t | xine_base64_encode (uint8_t *from, char *to, size_t size) |
size_t | xine_base64_decode (const char *from, uint8_t *to) |
uint32_t | xine_crc32_ieee (uint32_t crc, const uint8_t *data, size_t len) |
uint32_t | xine_crc16_ansi (uint32_t crc, const uint8_t *data, size_t len) |
const char * | xine_get_homedir (void) |
char * | xine_chomp (char *str) |
void | xine_usec_sleep (unsigned usec) |
char * | xine_strcat_realloc (char **dest, const char *append) |
char * | _x_asprintf (const char *format,...) XINE_FORMAT_PRINTF(1 |
char int | xine_open_cloexec (const char *name, int flags) |
int | xine_create_cloexec (const char *name, int flags, mode_t mode) |
int | xine_socket_cloexec (int domain, int type, int protocol) |
void | init_yuv_conversion (void) |
void | init_yuv_planes (yuv_planes_t *yuv_planes, int width, int height) |
void | free_yuv_planes (yuv_planes_t *yuv_planes) |
rgb2yuy2_t * | rgb2yuy2_alloc (int color_matrix, const char *format) |
void | rgb2yuy2_free (rgb2yuy2_t *rgb2yuy2) |
void | rgb2yuy2_slice (rgb2yuy2_t *rgb2yuy2, const uint8_t *in, int ipitch, uint8_t *out, int opitch, int width, int height) |
void | rgb2yuy2_palette (rgb2yuy2_t *rgb2yuy2, const uint8_t *pal, int num_colors, int bits_per_pixel) |
void | rgb2yv12_slice (rgb2yuy2_t *rgb2yuy2, const uint8_t *src, int src_stride, uint8_t *y_dst, int y_pitch, uint8_t *u_dst, int u_pitch, uint8_t *v_dst, int v_pitch, int width, int height) |
void | yv12_to_yv12 (const unsigned char *y_src, int y_src_pitch, unsigned char *y_dst, int y_dst_pitch, const unsigned char *u_src, int u_src_pitch, unsigned char *u_dst, int u_dst_pitch, const unsigned char *v_src, int v_src_pitch, unsigned char *v_dst, int v_dst_pitch, int width, int height) |
void | yuy2_to_yuy2 (const unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch, int width, int height) |
void | _x_nv12_to_yv12 (const uint8_t *y_src, int y_src_pitch, const uint8_t *uv_src, int uv_src_pitch, uint8_t *y_dst, int y_dst_pitch, uint8_t *u_dst, int u_dst_pitch, uint8_t *v_dst, int v_dst_pitch, int width, int height) |
void | _x_yv12_to_nv12 (const uint8_t *y_src, int y_src_pitch, const uint8_t *u_src, int u_src_pitch, const uint8_t *v_src, int v_src_pitch, uint8_t *y_dst, int y_dst_pitch, uint8_t *uv_dst, int uv_dst_pitch, int width, int height) |
void | _x_yuy2_to_nv12 (const uint8_t *src_yuy2_map, int yuy2_pitch, uint8_t *y_dst, int y_dst_pitch, uint8_t *uv_dst, int uv_dst_pitch, int width, int height) |
void | xine_hexdump (const void *buf, int length) |
static XINE_DEPRECATED void | _x_abort_is_deprecated (void) |
char * | xine_get_system_encoding (void) |
const char * | xine_guess_spu_encoding (void) |
int | xine_monotonic_clock (struct timeval *tv, struct timezone *tz) |
void | _x_report_video_fourcc (xine_t *, const char *module, uint32_t) |
void | _x_report_audio_format_tag (xine_t *, const char *module, uint32_t) |
size_t | xine_fast_string_need (size_t max_strlen) |
size_t | xine_fast_string_max (char *fast_string) |
char * | xine_fast_string_init (char *buf, size_t bsize) |
char * | xine_fast_string_set (char *fast_string, const char *text, size_t tsize) |
int | xine_fast_string_cmp (char *fast_string1, char *fast_string2) |
void | xine_fast_string_free (char **fast_string) |
char * | xine_ref_string_ref (const char *s, int len) |
size_t | xine_ref_string_len (const char *s) |
int | xine_ref_string_unref (char **s) |
xine_pts_queue_t * | xine_pts_queue_new (void) |
void | xine_pts_queue_reset (xine_pts_queue_t *queue) |
void | xine_pts_queue_put (xine_pts_queue_t *queue, size_t bytes, int64_t pts) |
int64_t | xine_pts_queue_get (xine_pts_queue_t *queue, size_t bytes) |
void | xine_pts_queue_delete (xine_pts_queue_t **queue) |
int | xine_ts_from_string (struct timespec *ts, const char *string) |
void | xine_ts_add (struct timespec *a, const struct timespec *b) |
void | xine_ts_sub (struct timespec *a, const struct timespec *b) |
int64_t | xine_ts_to_timebase (const struct timespec *ts, uint32_t timebase) |
void | xine_rats_shorten (xine_rats_t *value) |
Variables | |
void *(* | xine_fast_memcpy )(void *to, const void *from, size_t len) |
void(* | yuv444_to_yuy2 )(const yuv_planes_t *yuv_planes, unsigned char *yuy2_map, int pitch) |
void(* | yuv9_to_yv12 )(const unsigned char *y_src, int y_src_pitch, unsigned char *y_dest, int y_dest_pitch, const unsigned char *u_src, int u_src_pitch, unsigned char *u_dest, int u_dest_pitch, const unsigned char *v_src, int v_src_pitch, unsigned char *v_dest, int v_dest_pitch, int width, int height) |
void(* | yuv411_to_yv12 )(const unsigned char *y_src, int y_src_pitch, unsigned char *y_dest, int y_dest_pitch, const unsigned char *u_src, int u_src_pitch, unsigned char *u_dest, int u_dest_pitch, const unsigned char *v_src, int v_src_pitch, unsigned char *v_dest, int v_dest_pitch, int width, int height) |
void(* | yv12_to_yuy2 )(const unsigned char *y_src, int y_src_pitch, const unsigned char *u_src, int u_src_pitch, const unsigned char *v_src, int v_src_pitch, unsigned char *yuy2_map, int yuy2_pitch, int width, int height, int progressive) |
void(* | yuy2_to_yv12 )(const unsigned char *yuy2_map, int yuy2_pitch, unsigned char *y_dst, int y_dst_pitch, unsigned char *u_dst, int u_dst_pitch, unsigned char *v_dst, int v_dst_pitch, int width, int height) |
int | y_r_table [256] |
int | y_g_table [256] |
int | y_b_table [256] |
int | uv_br_table [256] |
int | u_r_table [256] |
int | u_g_table [256] |
int | u_b_table [256] |
int | v_r_table [256] |
int | v_g_table [256] |
int | v_b_table [256] |
#define _x_abort | ( | ) |
#define _x_assert | ( | exp | ) |
Referenced by _alloc_frame_cb(), _bio_new(), _connect(), _connect_data(), _dispose_plugin_class(), _egl_dispose(), _egl_get_instance(), _egl_make_current(), _egl_release_current(), _egl_set_native_window(), _get_dir_common(), _glx_get_instance(), _glx_make_current(), _glx_release_current(), _glx_set_native_window(), _gnutls_handshake(), _module_dispose(), _openssl_handshake(), _x_canonicalise_url(), _x_config_unregister_cb_class_d(), _x_config_unregister_cb_class_p(), _x_decoder_available(), _x_demux_read_send_data(), _x_demux_send_data(), _x_get_audio_decoder(), _x_get_spu_decoder(), _x_get_video_decoder(), _x_input_read_skip(), _x_input_seek_preview(), _x_input_sort_mrls(), _x_io_file_read(), _x_io_file_write(), _x_io_tcp_part_read(), _x_io_tcp_read(), _x_io_tcp_write(), _x_refcounter_inc(), _x_scan_plugins(), _x_va_accel_get_vaapi_surface(), _x_va_frame_duplicate_frame_data(), _x_va_frame_provide_standard_frame_data(), _x_va_frame_update_frame_format(), _x_va_init(), _x_va_profile_from_imgfmt(), _x_va_release_surface(), _x_va_render_surface(), _x_va_surface_displayed(), _x_vo_scale_compute_ideal_size(), _x_vo_scale_redraw_needed(), ao_free_fifo_append(), ao_out_fifo_reref_append(), ao_pulse_open(), audio_fill(), cache_plugin_read(), cache_plugin_read_block(), config_unregister_cb(), convert_overlay(), dec_file_ref(), dec_node_ref(), decode_flac_header(), demux_ac3_send_chunk(), dispose_plugin_list(), do_record(), draw_subtitle(), dvb_class_get_autoplay_list(), dvb_mjdtime(), dvb_parse_si(), dvb_plugin_open(), dxr3_spudec_copy_nav_to_btn(), goom_port_put_buffer(), http_plugin_handshake(), id3v2_parse_tag(), load_channels(), load_epg_data(), lrb_drop(), metronom_handle_video_discontinuity(), mosaico_draw(), open_plugin(), open_wv_file(), pgx64_display_frame(), pvr_plugin_open(), read_bytes(), render_run(), rtp_plugin_open(), segbuf_skip_segment(), show_program_info(), spudec_set_button(), switch_draw(), ticket_release_internal(), ticket_renew(), v4l2_input_setup_video_streaming(), vaapi_dispose_locked(), vdr_metronom_exit(), vo_display_reref_append(), vo_free_append(), wavpack_decode_data(), write_rle(), x11osd_colorkey(), x11osd_create(), x11osd_destroy(), x11osd_drawable_changed(), x11osd_expose(), x11osd_resize(), xine_event_create_listener_thread(), XINE_FORMAT_PRINTF(), xine_pool_alloc_chunk(), xine_pool_delete(), xine_pool_delete_chunk(), xine_pool_get(), xine_pool_new(), xine_pool_put(), xine_ring_buffer_alloc(), xine_ring_buffer_get(), xine_ring_buffer_put(), xine_ring_buffer_release(), and xml_parser_get_node_internal().
#define CENTERSAMPLE 128 |
#define COMPUTE_U | ( | r, | |
g, | |||
b ) |
Referenced by XineOpenGLView::acceptsFirstResponder, bitplane_decode_data(), bitplane_decode_ham(), fade(), and goom_port_put_buffer().
#define COMPUTE_V | ( | r, | |
g, | |||
b ) |
Referenced by XineOpenGLView::acceptsFirstResponder, bitplane_decode_data(), bitplane_decode_ham(), fade(), and goom_port_put_buffer().
#define COMPUTE_Y | ( | r, | |
g, | |||
b ) |
Referenced by XineOpenGLView::acceptsFirstResponder, bitplane_decode_data(), bitplane_decode_ham(), fade(), and goom_port_put_buffer().
#define DLIST_ADD_HEAD | ( | n, | |
l ) |
#define DLIST_ADD_TAIL | ( | n, | |
l ) |
Referenced by ff_free_dr1_frames(), ffsf_delete(), ffsf_new(), xine_list_insert(), xine_list_push_back(), and xine_list_remove().
#define DLIST_H | ( | l | ) | ((void *)(&(l)->head)) |
#define DLIST_INIT | ( | l | ) |
Referenced by _xine_list_reset(), ff_video_open_plugin(), and xine_list_new().
#define DLIST_INSERT | ( | n, | |
h ) |
#define DLIST_IS_EMPTY | ( | l | ) | ((l)->head == DLIST_T(l)) |
Referenced by _xine_list_elem_new(), ff_dispose(), ff_free_dr1_frames(), and ffsf_new().
#define DLIST_REMOVE | ( | n | ) |
Referenced by _xine_list_elem_new(), ff_dispose(), ff_free_dr1_frames(), ffsf_delete(), ffsf_new(), and xine_list_remove().
#define DLIST_T | ( | l | ) | ((void *)(&(l)->null)) |
#define EXPECT_FALSE | ( | x | ) | (x) |
#define EXPECT_TRUE | ( | x | ) | (x) |
#define llprintf | ( | cat, | |
... ) |
Referenced by check_newpts(), demux_film_send_chunk(), demux_ogg_send_chunk(), draw_subtitle(), dxr3_decode_data(), dxr3_dispose(), dxr3_gui_data_exchange(), dxr3_open_plugin(), dxr3_present(), dxr3_set_property(), dxr3_spudec_copy_nav_to_btn(), dxr3_spudec_decode_data(), dxr3_spudec_dispose(), dxr3_spudec_open_plugin(), dxr3_spudec_set_button(), dxr3_vo_open_plugin(), get_width(), open_film_file(), probe_film_file(), resample_rate_adjust(), send_header(), send_ogg_buf(), speex_decode_data(), and update_font_size().
#define LOG_MODULE __FILE__ |
#define LOG_MODULE_STRING printf("%s: ", LOG_MODULE ); |
#define LONG_LOG_MODULE_STRING LOG_MODULE_STRING |
#define lprintf | ( | ... | ) | do {} while(0) |
#define MM_3DNOW MM_ACCEL_X86_3DNOW |
#define MM_ACCEL_MLIB 0x00000001 |
Referenced by mpeg2_idct_init(), mpeg2_mc_init(), xine_mm_accel(), and yuv2rgb_factory_init().
#define MM_ACCEL_PPC_ALTIVEC 0x04000000 |
Referenced by mpeg2_cpu_state_init(), mpeg2_idct_init(), and mpeg2_mc_init().
#define MM_ACCEL_PPC_CACHE32 0x02000000 |
#define MM_ACCEL_SPARC_VIS 0x01000000 |
Referenced by mpeg2_mc_init().
#define MM_ACCEL_SPARC_VIS2 0x00800000 |
#define MM_ACCEL_X86_3DNOW 0x40000000 |
#define MM_ACCEL_X86_AVX 0x00400000 |
#define MM_ACCEL_X86_MMX 0x80000000 |
Referenced by check_values(), eq_open_plugin(), ff_video_open_plugin(), goom_port_put_buffer(), init_postprocess(), init_yuv_conversion(), mpeg2_cpu_state_init(), mpeg2_idct_init(), mpeg2_mc_init(), noise_draw(), noise_open_plugin(), pp_open_plugin(), setup_speedy_calls(), and yuv2rgb_factory_init().
#define MM_ACCEL_X86_MMXEXT 0x20000000 |
Referenced by deinterlace_frame_di_greedyh(), deinterlace_frame_di_tomsmocomp(), ff_video_open_plugin(), init_postprocess(), init_yuv_conversion(), linearblend_get_method(), mpeg2_idct_init(), mpeg2_mc_init(), noise_draw(), noise_open_plugin(), pp_open_plugin(), setup_speedy_calls(), and yuv2rgb_factory_init().
#define MM_ACCEL_X86_SSE 0x10000000 |
#define MM_ACCEL_X86_SSE2 0x08000000 |
Referenced by DeinterlaceGreedy2Frame(), init_yuv_conversion(), and setup_speedy_calls().
#define MM_ACCEL_X86_SSE3 0x04000000 |
#define MM_ACCEL_X86_SSE4 0x01000000 |
#define MM_ACCEL_X86_SSE42 0x00800000 |
#define MM_ACCEL_X86_SSSE3 0x02000000 |
#define MM_MMX MM_ACCEL_X86_MMX |
#define MM_MMXEXT MM_ACCEL_X86_MMXEXT |
#define MM_SSE MM_ACCEL_X86_SSE |
#define MM_SSE2 MM_ACCEL_X86_SSE2 |
#define SCALEFACTOR (1<<SCALESHIFT) |
Referenced by init_yuv_conversion().
#define SCALESHIFT 16 |
#define UNPACK_BGR15 | ( | packed_pixel, | |
r, | |||
g, | |||
b ) |
#define UNPACK_BGR16 | ( | packed_pixel, | |
r, | |||
g, | |||
b ) |
#define UNPACK_RGB15 | ( | packed_pixel, | |
r, | |||
g, | |||
b ) |
#define UNPACK_RGB16 | ( | packed_pixel, | |
r, | |||
g, | |||
b ) |
#define xine_container_of | ( | ptr, | |
type, | |||
member ) ((type *)(void *)((char *)(1 ? (ptr) : &((type *)0)->member) - offsetof(type, member))) |
Referenced by _alloc_frame(), _ctx_from_frame(), _dav1d_decode_data(), _dav1d_discontinuity(), _dav1d_dispose(), _dav1d_flush(), _dav1d_reset(), _module_dispose(), _module_dispose(), _module_dispose(), _module_dispose(), _module_dispose(), _opengl_interop(), _x_va_frame_update_frame_format(), a52dec_decode_data(), a52dec_discontinuity(), a52dec_dispose(), a52dec_reset(), crypto_plugin_dispose(), crypto_plugin_get_blocksize(), crypto_plugin_get_capabilities(), crypto_plugin_get_current_pos(), crypto_plugin_get_length(), crypto_plugin_get_mrl(), crypto_plugin_get_optional_data(), crypto_plugin_open(), crypto_plugin_read(), crypto_plugin_seek(), dts_decode_data(), dts_dispose(), dvaudio_decode_data(), dvaudio_dispose(), dvaudio_reset(), faad_decode_data(), faad_discontinuity(), faad_dispose(), faad_reset(), fb_alloc_frame(), fb_display_frame(), fb_dispose(), fb_frame_dispose(), fb_frame_field(), fb_frame_proc_slice(), fb_get_property(), fb_overlay_blend(), fb_set_property(), fb_update_frame_format(), ff_audio_decode_data(), ff_audio_discontinuity(), ff_audio_dispose(), ff_audio_reset(), gsm610_decode_data(), gsm610_dispose(), lpcm_decode_data(), lpcm_dispose(), lpcm_reset(), mad_decode_data(), mad_discontinuity(), mad_dispose(), mad_reset(), mem_frame_update_frame_format(), mmal_alloc_frame(), mmal_decode_data(), mmal_discontinuity(), mmal_display_frame(), mmal_dispose(), mmal_dispose(), mmal_flush(), mmal_frame_dispose(), mmal_get_property(), mmal_overlay_begin(), mmal_overlay_blend(), mmal_overlay_end(), mmal_reset(), mmal_update_frame_format(), mpc_decode_data(), mpc_dispose(), mpc_reset(), mpeg2dec_decode_data(), mpeg2dec_discontinuity(), mpeg2dec_dispose(), mpeg2dec_flush(), mpeg2dec_reset(), png_decode_data(), png_discontinuity(), png_dispose(), png_flush(), png_reset(), vaapi_alloc_frame(), vaapi_display_frame(), and vaapi_overlay_end().
#define XINE_FAST_STRING 1 |
fast strings are either inside an application supplied buffer, or they are (re)allocated by xine_fast_string_set (). the returned pointer will be at least 8 byte aligned, and can be read like an ordinary C string.
#define xine_freep_aligned | ( | xinefreepptr | ) | do {xine_free_aligned (*(xinefreepptr)); *(xinefreepptr) = NULL; } while (0) |
Referenced by _mem_frame_free_framedata(), aa_update_frame_format(), ao_exit(), caca_update_frame_format(), frame_reallocate(), free_yuv_planes(), mpeg2_close(), noise_dispose(), opengl_update_frame_format(), vdpau_duplicate_frame_data(), vdpau_frame_dispose(), vdpau_update_frame_format(), vo_exit(), xshm_update_frame_format(), xshm_update_frame_format(), yuv2rgb_configure(), and yuv2rgb_factory_dispose().
#define XINE_MEM_ALIGN 32 |
Get/resize/free aligned memory.
Referenced by _x_scan_plugins(), and xine_init().
#define XINE_PTS_QUEUE 1 |
stream parsers do delay data, but often do not care about the frame pts that need to be delayed as well. this may help here.
#define XINE_RATS 1 |
xine rational numbers.
#define XINE_REF_STRING 1 |
#define xine_setenv | ( | NAME, | |
VAL, | |||
XX ) setenv((NAME), (VAL), (XX)) |
Referenced by init_class(), open_plugin(), and open_plugin().
#define xine_small_memcpy | ( | xsm_to, | |
xsm_from, | |||
xsm_len ) memcpy (xsm_to, xsm_from, xsm_len) |
Referenced by _get_demux_strings(), _insert_file(), _insert_node(), _x_rip_plugin_get_instance(), _x_scan_plugins(), config_insert(), config_make_sort_key(), config_register_serialized_entry(), config_translate_key(), demux_ts_buffer_pes(), demux_ts_parse_pat(), demux_ts_parse_pmt(), gnutls_tcp_pull(), http_plugin_basicauth(), load_plugin_list(), sbuf_get_bytes(), str_array_dup(), str_array_ldup(), xine_event_send(), and xine_realpath().
#define xine_strpbrk | ( | S, | |
ACCEPT ) strpbrk((S), (ACCEPT)) |
#define xine_strsep | ( | STRINGP, | |
DELIM ) strsep((STRINGP), (DELIM)) |
Referenced by _cdda_cddb_retrieve(), and _x_demux_check_extension().
#define XINE_TS 1 |
xine timespec magic.
#define xprintf | ( | xine, | |
verbose, | |||
... ) |
Referenced by __attribute__(), __xine_pa_context_subscribe_callback(), __xine_pa_context_success_callback(), __xine_pa_sink_info_callback(), __xine_pa_stream_success_callback(), _alloc_frame_cb(), _alsa_query_dev(), _cdda_cddb_retrieve(), _cdda_cddb_send_command(), _cdda_cddb_socket_read(), _cdda_is_cd_changed(), _cdda_load_cached_cddb_infos(), _cdda_mkdir_safe(), _cdda_save_cached_cddb_infos(), _cfg_cb_clear_report(), _connect_data(), _copy_image(), _cwd(), _decode(), _decode(), _dlsym_iid(), _draw_image(), _egl_log_error(), _emit_authentication_request(), _fill(), _fill_preview(), _ftp_connect(), _ftp_read(), _ftp_seek(), _ftp_size(), _get_dir(), _get_dir_common(), _get_exports(), _get_files(), _get_files(), _get_instance(), _get_instance(), _get_instance(), _get_instance(), _get_instance(), _get_length(), _get_servers(), _glconv_vaegl_init(), _glx_make_current(), _glx_set_lockdisplay(), _gnutls_handshake(), _gnutls_load_certs(), _gnutls_part_read(), _gnutls_read(), _gnutls_write(), _image_decode_data(), _insert_node(), _jpeg_decode_data(), _list(), _meta_info_set_encoding(), _mount(), _ogl2_dump_tex_fmts(), _open(), _open_plugin(), _open_plugin(), _opensles_open(), _opensles_open_plugin(), _openssl_handshake(), _openssl_part_read(), _openssl_read(), _openssl_write(), _parse_url(), _png_decode_data(), _read(), _read_dir(), _retr(), _scp_channel_init(), _scp_fill_preview(), _scp_read(), _seek(), _sftp_get_length(), _sftp_open(), _sftp_read(), _sftp_seek(), _sftp_session_init(), _ssh_connect(), _user_error(), _user_read(), _user_warning(), _vdpau_feature_test(), _write_command(), _x_ao_new_port(), _x_audio_decoder_init(), _x_close_broadcaster(), _x_config_change_opt(), _x_demux_control_start(), _x_demux_start_thread(), _x_dispose_plugins(), _x_find_demux_plugin(), _x_find_demux_plugin_last_probe(), _x_flush_events_queues(), _x_get_audio_decoder(), _x_get_current_frame_data(), _x_get_spu_decoder(), _x_get_video_decoder(), _x_init_broadcaster(), _x_io_tcp_close(), _x_io_tcp_connect_finish(), _x_io_tcp_handshake_connect(), _x_keyframes_add(), _x_keyframes_set(), _x_load_audio_output_plugin(), _x_osd_renderer_init(), _x_post_dispose(), _x_real_codec_open(), _x_report_audio_format_tag(), _x_report_video_fourcc(), _x_set_fine_speed(), _x_tls_handshake(), _x_va_check_status(), _x_va_frame_alloc_frame(), _x_va_frame_duplicate_frame_data(), _x_va_frame_provide_standard_frame_data(), _x_va_init(), _x_va_new(), _x_va_profile_from_imgfmt(), _x_vo_new_port(), a52dec_decode_frame(), aa_get_property(), aa_set_property(), aa_update_frame_format(), add_showing_handle(), alsa_apply_speaker_arrangement(), ao_alsa_ctrl(), ao_alsa_get_property(), ao_alsa_handle_event_thread(), ao_alsa_mixer_init(), ao_alsa_open(), ao_alsa_set_property(), ao_alsa_write(), ao_change_settings(), ao_close(), ao_coreaudio_open(), ao_dbuf_set_max(), ao_directx_open(), ao_directx_set_property(), ao_esd_open(), ao_esd_write(), ao_exit(), ao_file_close(), ao_file_open(), ao_file_write(), ao_fill_gap(), ao_flush(), ao_flush_driver(), ao_force_unref_all(), ao_free_fifo_get(), ao_fusionsound_get_property(), ao_fusionsound_open(), ao_fusionsound_set_property(), ao_fusionsound_write(), ao_jack_close(), ao_jack_open(), ao_jack_open_int(), ao_jack_write(), ao_loop(), ao_none_open(), ao_open(), ao_oss_open(), ao_out_fifo_get(), ao_pulse_delay(), ao_pulse_open(), ao_put_buffer(), ao_resend_fill(), ao_resend_init(), ao_set_property(), ao_sndio_close(), ao_sndio_exit(), ao_sndio_open(), ao_speed_change_cb(), ao_sun_delay(), ao_sun_open(), ao_sun_open_plugin(), ao_ticket_revoked(), ao_unref_obsolete(), ao_update_resample_factor(), asf_parse_packet_compressed_payload(), asf_parse_packet_ecd(), asf_parse_packet_payload(), asf_parse_packet_payload_common(), asf_read_header(), asf_send_audio_header(), asf_send_buffer_defrag(), asf_send_buffer_nodefrag(), asf_send_video_header(), audio_codec_lookup(), audio_decoder_loop(), bitplane_decode_data(), broadcaster_data_write(), caca_get_property(), caca_set_property(), caca_update_frame_format(), cache_plugin_dispose(), calculate_pic_order(), catalog_filename(), cdda_close(), cdda_open(), change_output_format(), check_newpts(), checkXvMCCap(), collect_plugins(), config_dispose(), config_lookup_num(), config_lookup_string(), config_register_bool(), config_register_enum(), config_register_filename(), config_register_num(), config_register_range(), config_register_serialized_entry(), config_update_num(), config_update_string(), config_validate(), configure_renderer(), connect_context(), control_port_cb(), create_ximage(), create_ximage(), create_ximage(), create_ximage(), create_ximage(), CreatePrimary(), CreateSecondary(), crypto_class_get_instance(), crypto_plugin_open(), crypto_plugin_seek(), decode_dshow_header(), decode_segment(), decode_speex_header(), decode_theora_header(), deinterlace_init_plugin(), demux_aac_apply_adif(), demux_aac_apply_adts(), demux_asf_parse_asf_references(), demux_asf_parse_asx_references(), demux_asf_parse_http_references(), demux_asf_seek(), demux_asf_send_chunk(), demux_asf_send_headers(), demux_asf_send_headers_common(), demux_iff_send_chunk(), demux_ivf_send_headers(), demux_loop(), demux_matroska_send_headers(), demux_mpc_send_chunk(), demux_mpeg_block_parse_pack(), demux_mpeg_pes_parse_pack(), demux_mpeg_pes_vdr_seek_0(), demux_mpgaudio_next(), demux_ogg_send_chunk(), demux_qt_load_fragment_index(), demux_qt_send_chunk(), demux_ra_send_chunk(), demux_real_send_chunk(), demux_slave_next(), demux_ts_buffer_pes(), demux_ts_dispose(), demux_ts_dynamic_pmt_clean(), demux_ts_dynamic_pmt_clear(), demux_ts_dynamic_pmt_find(), demux_ts_get_lang_desc(), demux_ts_get_reg_desc(), demux_ts_hexdump(), demux_ts_parse_packet(), demux_ts_parse_pat(), demux_ts_parse_pes_header(), demux_ts_parse_pmt(), demux_ts_scan_pat_pmt(), demux_ts_seek(), directfb_alloc_frame(), directfb_set_property(), do_record(), draw_frames(), draw_subtitle(), draw_subtitles(), dts_decode_frame(), duplicate_frame(), dvaudio_decode_data(), dvb_class_get_autoplay_list(), dvb_event_handler(), dvb_parse_si(), dvb_plugin_open(), dvb_plugin_read(), dvb_plugin_seek(), dvb_set_pidfilter(), dvb_set_sectfilter(), dvbspeed_close(), dvbspeed_get(), dvbspeed_init(), dvbspeed_put(), dvd_handle_events(), dvd_plugin_open(), dvd_plugin_read_block(), dxr3_decode_data(), dxr3_display_frame(), dxr3_dispose(), dxr3_flush(), dxr3_get_property(), dxr3_open_plugin(), dxr3_overlay_end(), dxr3_scr_adjust(), dxr3_scr_get_current(), dxr3_scr_init(), dxr3_scr_set_speed(), dxr3_scr_start(), dxr3_scr_update_priority(), dxr3_set_property(), dxr3_spudec_copy_nav_to_btn(), dxr3_spudec_decode_data(), dxr3_spudec_dispose(), dxr3_spudec_open_plugin(), dxr3_spudec_process_nav(), dxr3_spudec_set_button(), dxr3_update_add_bars(), dxr3_update_enhanced_mode(), dxr3_update_frame_format(), dxr3_update_swap_fields(), dxr3_vo_open_plugin(), ebml_check_header(), ebml_read_elem_data(), ebml_read_elem_id(), ebml_read_elem_len(), ebml_read_float(), ebml_read_master(), ebml_read_uint(), ebml_skip(), event_handler(), event_handler_external(), execute_ref_pic_marking(), external_stream_play(), faad_apply_conf(), faad_apply_frame(), faad_decode_audio(), faad_decode_data(), faad_get_conf(), faad_map_channels(), faad_reopen_dec(), fb_display_frame(), fb_get_property(), fb_open_plugin(), fb_set_property(), ff_aac_mode_parse(), ff_aac_mode_set(), ff_audio_decode(), ff_audio_decode_data(), ff_audio_ensure_buffer_size(), ff_audio_init_codec(), ff_audio_open_codec(), ff_audio_reset_parser(), ff_check_bufsize(), ff_check_colorspace(), ff_dispose(), ff_flush_internal(), ff_free_dr1_frames(), ff_handle_buffer(), ff_handle_header_buffer(), ff_handle_header_buffer(), ff_handle_mpeg12_buffer(), ff_setup_rgb2yuy2(), ff_vc1_find_header(), ff_video_open_plugin(), file_input_class_get_dir(), file_input_get_capabilities(), file_input_open(), file_input_read(), file_input_size(), find_avformat_streams(), flac_error_callback(), flac_get_frame(), fooaudio_decode_data(), get_answer(), get_answer(), get_asf_header(), get_auds_codec_name(), get_buffer(), get_chunk_header(), get_duration(), get_fb_fix_screeninfo(), get_fb_var_screeninfo(), get_format_context(), get_guid(), get_guid_id(), get_header(), get_input_buffer(), get_io_context(), get_master_scr(), get_media_packet(), get_media_packet(), get_vids_codec_name(), gnutls_get_instance(), goom_port_put_buffer(), gsm610_decode_data(), handle_realvideo(), handle_sub_utf8(), handle_vobsub(), hevc_decode_data(), hls_frag_start(), hls_input_get_instance(), hls_input_load_list(), hls_input_open(), hls_input_open_item(), hls_input_read(), hls_input_switch_mrl(), http_plugin_get_optional_data(), http_plugin_handshake(), http_plugin_open(), http_plugin_seek(), http_restart(), id3v22_parse_tag(), id3v23_parse_tag(), id3v24_parse_tag(), id3v2_parse_tag(), image_decode_data(), info_valid(), init_avio_input_plugin(), init_class(), init_class(), init_class(), init_class(), init_class_fb(), init_codec(), init_codec(), init_codec_audio(), init_codec_real(), init_codec_video(), init_codec_xiph(), init_device(), init_input_class(), init_subpicture(), init_video_codec(), input_avformat_get_instance(), input_avio_open(), interpret_slice_header(), interpret_sps(), is_avio_supported_protocol(), jack_callback(), jack_open_device(), lavc_on_display_frame(), lavc_on_update_format(), load_channels(), load_epg_data(), load_syms_linux(), load_syms_linux(), lock_run(), lpcm_decode_data(), macosx_update_frame_format(), mad_decode_data(), mad_dispose(), manager_loop(), media_eject_media(), meta_valid(), metronom_clock_get_option(), metronom_clock_set_option(), metronom_get_option(), metronom_got_audio_samples(), metronom_got_video_frame(), metronom_handle_audio_discontinuity(), metronom_handle_discontinuity(), metronom_handle_vdr_trick_pts(), metronom_handle_video_discontinuity(), metronom_register_scr(), metronom_set_option(), metronom_start_sync_thread(), mmal_update_frame_format(), mms_choose_best_streams(), mms_connect(), mms_read(), mms_tcp_connect(), mmsh_connect_int2(), mmsh_read(), mmsh_tcp_connect(), mode_visual(), mpc_decode_data(), mpd_input_get_instance(), mpd_input_load_manifest(), mpd_input_open(), mpd_input_switch_mrl(), mpd_set_start_time(), nbc_alloc_cb(), nbc_delay_unpause(), nbc_get_cb(), nbc_put_cb(), nbc_stats_add(), net_plugin_read(), network_connect(), network_read_cdrom_toc(), next_frame(), nsf_decode_data(), open_audio_capture_device(), open_demux_avformat_plugin(), open_demux_plugin(), open_dts_file(), open_fb_device(), open_internal(), open_jack_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin_2(), open_plugin_fb(), open_ra_file(), open_radio_capture_device(), open_tta_file(), open_video_capture_device(), opengl2_build_program(), opengl2_check_textures_size(), opengl2_draw(), opengl2_draw_video_bicubic(), opengl2_open_plugin(), opengl2_set_bicubic(), opengl2_set_scale_mode(), opengl2_update_csc_matrix(), opengl2_use_csc(), opengl_frame_proc_slice(), opengl_get_property(), opengl_gui_data_exchange(), opengl_init_class(), opengl_open_plugin(), opengl_set_property(), osd_get_text_size(), osd_render_text(), osd_renderer_load_font(), osd_set_encoding(), overlay_new(), parse_amf(), parse_ancillary_stream(), parse_ancillary_stream(), parse_block(), parse_chapter_atom(), parse_dsmcc_stream(), parse_dsmcc_stream(), parse_ebml_uint(), parse_ecm_stream(), parse_ecm_stream(), parse_edition_entry(), parse_emm_stream(), parse_emm_stream(), parse_frame(), parse_frame_payload(), parse_h222_typeA_stream(), parse_h222_typeA_stream(), parse_h222_typeB_stream(), parse_h222_typeB_stream(), parse_h222_typeC_stream(), parse_h222_typeC_stream(), parse_h222_typeD_stream(), parse_h222_typeD_stream(), parse_h222_typeE_stream(), parse_h222_typeE_stream(), parse_IEC14496_FlexMux_stream(), parse_IEC14496_FlexMux_stream(), parse_IEC14496_SL_packetized_stream(), parse_IEC14496_SL_packetized_stream(), parse_iec_13522_stream(), parse_iec_13522_stream(), parse_moov_atom(), parse_pes_for_pts(), parse_pes_for_pts(), parse_pmt(), parse_private_stream_1(), parse_private_stream_1(), parse_program_stream_directory(), parse_program_stream_directory(), parse_program_stream_map(), parse_program_stream_map(), parse_seek_entry(), parse_segment(), parse_sei(), parse_slice_header(), parse_top_level(), parse_track_entry(), paused_loop(), pgx32_init_driver(), pgx32_update_frame_format(), pgx64_display_frame(), pgx64_init_driver(), pgx64_overlay_key_blend(), pgx64_update_frame_format(), play_internal(), pnm_calc_stream(), pnm_connect(), pnm_get_chunk(), pnm_get_headers(), pnm_get_stream_chunk(), pnm_plugin_seek(), print_cdrom_toc(), pvr_break_rec_page(), pvr_event_handler(), pvr_finish_recording(), pvr_loop(), pvr_play_file(), pvr_plugin_open(), pvr_plugin_read_block(), pvr_rec_file(), qta_init_driver(), qtv_decode_data(), qtv_init_driver(), query_fourccs(), raw_open_plugin(), read_block_data(), read_flv_packet(), read_iff_chunk(), read_line_from_input(), read_metadata(), read_ssa_tag(), real_get_reordered_pts(), real_parse_audio_specific_data(), real_parse_headers(), real_parse_index(), realtime_samplecounter_available(), render_help_check_exts(), render_help_verify_ext(), render_run(), render_setup_fp_yuv(), reportIP(), rgb_decode_data(), rip_plugin_read(), rip_read_file_read_1a(), rip_read_file_read_1b(), rip_read_file_read_2(), rip_read_file_set_2(), rip_read_file_start(), rtsp_connect(), rtsp_get_answers(), rtsp_get_code(), rtsp_session_start(), sbuf_get_bytes(), sdl_display_frame(), sdl_set_property(), search_by_channel(), seek_flv_file(), send_avpacket(), send_command(), send_header(), send_headers_audio(), send_headers_video(), send_input_buffer(), send_output_buffer(), set_extradata(), set_frequency(), setup_buffers(), setup_dga(), setup_dga(), smb_class_get_dir(), smb_plugin_open(), sock_data_write(), speex_decode_data(), spudec_copy_nav_to_overlay(), spudec_decode_data(), spudec_decode_data(), spudec_decode_data(), spudec_decode_data(), spudec_decode_nav(), spudec_do_commands(), spudec_draw_picture(), spudec_process(), spudec_reassembly(), spudec_reset(), spudec_set_button(), start_codec(), stdin_plugin_dispose(), stdin_plugin_open(), stdin_plugin_read(), stdin_plugin_wait(), stk_display_frame(), stk_set_property(), sub_autodetect(), sub_read_file(), sub_read_line_jacobsub(), sub_read_line_microdvd(), sub_read_line_mpl2(), sub_read_line_mpsub(), sub_read_line_rt(), sub_read_line_subrip(), sub_read_line_subrip09(), sub_read_line_vplayer(), switch_channel(), theora_decode_data(), trick_speed_send_event(), tuner_init(), tuner_tune_it(), uncompress_zlib(), update_config_cb(), update_fast_memcpy(), update_osd_font(), update_overlays(), update_src_encoding(), update_tv_resolution(), upmix_mono_port_open(), v4l2_class_get_instance(), v4l2_input_open(), v4l_adjust_realtime_speed(), v4l_class_get_radio_instance(), v4l_class_get_video_instance(), v4l_plugin_dispose(), v4l_plugin_read_block(), vaapi_check_status(), vaapi_display_attribs(), vaapi_display_frame(), vaapi_dispose_locked(), vaapi_init_internal(), vaapi_init_x11(), vaapi_initialize(), vaapi_open_plugin(), vaapi_update_csc(), vcd_class_get_autoplay_list(), vcd_class_get_dir(), vcd_init(), vcd_plugin_open(), vdp_preemption_callback(), vdpau_decoder_init(), vdpau_decoder_render(), vdpau_display_frame(), vdpau_duplicate_frame_data(), vdpau_get_funcs(), vdpau_h264_alter_dispose(), vdpau_h264_alter_frame_delete(), vdpau_h264_alter_frame_new(), vdpau_h264_alter_frame_render(), vdpau_h264_alter_reset(), vdpau_h264_decode_data(), vdpau_open_plugin(), vdpau_output_surf_delete(), vdpau_output_surf_new(), vdpau_overlay_end(), vdpau_process_overlays(), vdpau_provide_standard_frame_data(), vdpau_reinit(), vdpau_set_layer_bug(), vdpau_update_csc_matrix(), vdpau_video_surf_delete(), vdpau_video_surf_new(), vdr_execute_rpc_command(), vdr_metronom_handle_audio_discontinuity(), vdr_metronom_handle_video_discontinuity(), vdr_plugin_dispose(), vdr_plugin_open(), vdr_plugin_open_fifo_mrl(), vdr_plugin_open_socket(), vdr_plugin_open_sockets(), vdr_plugin_read(), vdr_rpc_thread_loop(), vdr_video_draw(), video_codec_lookup(), video_decoder_loop(), video_out_loop(), video_overlay_add_event(), video_overlay_event(), video_overlay_multiple_overlay_blend(), video_overlay_redraw_needed(), vidix_config_playback(), vidix_rgb_callback(), vidix_set_property(), vidix_update_frame_format(), vo_close(), vo_exit(), vo_frame_draw(), vo_free_queue_get(), vo_get_frame(), vo_get_unblock_frame(), vo_open(), vo_set_property(), vo_speed_change_cb(), vo_ticket_revoked(), vo_unref_obsolete(), vorbis_check_bufsize(), vpx_decode_data(), w32a_decode_audio(), w32a_ensure_buffer_size(), w32a_init_audio(), w32v_decode_data(), w32v_init_codec(), w32v_init_ds_dmo_codec(), win32_update_frame_format(), write_frame_sfb(), x11osd_create(), xcbosd_create(), xine_a52_parse_data(), xine_config_save(), xine_config_update_entry(), xine_dispose(), xine_event_create_listener_thread(), xine_event_dispose_queue(), xine_exit(), XINE_FORMAT_PRINTF(), xine_get_param(), xine_get_side_stream(), xine_get_stream_info(), xine_init(), xine_nbc_close(), xine_nbc_event(), xine_nbc_init(), xine_open(), xine_open_audio_driver(), xine_parse_id3v2_tag(), xine_post_init(), xine_probe_fast_memcpy_int(), xine_set_param(), xine_stream_new(), xio_err(), xshm_frame_proc_setup(), xshm_frame_proc_setup(), xshm_get_property(), xshm_get_property(), xshm_open_plugin(), xshm_open_plugin_2(), xshm_overlay_blend(), xshm_overlay_blend(), xshm_set_property(), xshm_set_property(), xv_dispose(), xv_new_color(), xv_new_color(), xv_open_port(), xv_open_port(), xv_prop_init(), xv_prop_init(), xv_prop_update_int(), xv_prop_update_int(), xv_set_property(), xv_set_property(), xxmc_alloc_frame(), xxmc_check_capability(), xxmc_create_context(), xxmc_dispose(), xxmc_dispose_context(), xxmc_do_update_frame(), xxmc_do_update_frame_xv(), xxmc_duplicate_frame_data(), xxmc_find_context(), xxmc_frame_dispose(), xxmc_set_property(), xxmc_setup_subpictures(), xxmc_update_attr(), xxmc_xvmc_alloc_subpicture(), xxmc_xvmc_alloc_surface(), xxmc_xvmc_dump_subpictures(), xxmc_xvmc_dump_surfaces(), xxmc_xvmc_free_subpicture(), xxmc_xvmc_free_surface(), xxmc_xvmc_update_context(), and yuv_decode_data().
typedef struct rgb2yuy2_s rgb2yuy2_t |
typedef struct xine_pts_queue_s xine_pts_queue_t |
typedef struct yuv_planes_s yuv_planes_t |
|
inlinestatic |
char * _x_asprintf | ( | const char * | format, |
... ) |
asprintf wrapper allocate a string large enough to hold the output, and return a pointer to it. This pointer should be passed to free when it is no longer needed. return NULL on error.
|
inlinestatic |
References NULL.
Referenced by _aom_dispose(), _cdda_free_cddb_info(), _dav1d_dispose(), _dispose(), _dispose(), _free_vbri_header(), _ftp_dispose(), _opensles_close(), _video_overlay_free_handle(), _x_alphablend_free(), _x_dispose_plugins(), _x_freep_wipe_string(), _x_input_free_mrls(), _x_meta_info_public_reset(), _x_post_dispose(), _x_rip_plugin_get_instance(), _x_tls_close(), _x_tls_deinit(), _x_va_free(), _xine_free_args(), ao_alsa_exit(), ao_exit(), ao_streams_close(), blend_yuv_grow_extra_data(), blend_yuy2_grow_extra_data(), bluray_plugin_dispose(), caca_update_frame_format(), cache_plugin_dispose(), config_dispose(), config_free_string(), config_register_bool(), config_register_enum(), config_register_num(), config_register_range(), config_register_serialized_entry(), crypto_plugin_dispose(), demux_avformat_dispose(), demux_film_dispose(), demux_fourxm_dispose(), demux_ipmovie_dispose(), demux_matroska_dispose(), demux_mod_dispose(), demux_mpgaudio_dispose(), demux_mve_dispose(), demux_nsf_dispose(), demux_sputext_dispose(), demux_tta_dispose(), demux_wav_dispose(), dispose_ebml_parser(), dispose_plugin_file_list(), dispose_plugin_list(), dispose_ximage(), do_record(), dvaudio_dispose(), dvb_class_dispose(), dvb_plugin_dispose(), dvd_class_dispose(), dvd_input_saved_delete(), dvd_parse_try_open(), dvd_plugin_dispose(), dvd_plugin_free_buffer(), extract_channel_from_string(), faad_dispose(), ff_audio_dispose(), ff_dispose(), fftgraph_dispose(), fftscope_dispose(), file_input_class_dispose(), file_input_class_get_dir(), file_input_dispose(), file_input_open(), free_autoplay_list(), free_channel_list(), free_subtitle_object(), free_xml_node(), free_xml_property(), gnomevfs_plugin_dispose(), gsm610_dispose(), hevc_dispose(), hls_input_dispose(), hls_input_load_list(), http_plugin_get_optional_data(), input_avformat_dispose(), input_avformat_get_instance(), input_avio_dispose(), input_http_init_class(), lexer_finalize_r(), lpcm_dispose(), lpcm_reset(), mpc_dispose(), mpd_input_dispose(), mpd_input_load_manifest(), net_plugin_dispose(), open_plugin(), oscope_dispose(), osd_free_encoding(), osd_free_object(), osd_renderer_close(), osd_renderer_unload_font(), process_ipmovie_chunk(), pvr_plugin_dispose(), read_chapter_comment(), realdec_dispose(), realdec_dispose(), rip_plugin_dispose(), rtp_plugin_dispose(), rtsp_plugin_dispose(), scratch_dispose(), sdpplin_free(), sdpplin_free_stream(), segbuf_decode_object(), segbuf_dispose(), smb_class_dispose(), smb_class_get_dir(), sparse_array_delete(), spudec_dispose(), spudec_dispose(), spudec_dispose(), sputext_class_dispose(), stdin_plugin_open(), stretch_port_close(), tuner_dispose(), tuner_init(), update_region(), upmix_dispose(), upmix_port_open(), v4l_plugin_dispose(), vaapi_dispose_locked(), vcd_filelist_dispose(), video_overlay_add_event(), video_overlay_dispose(), video_overlay_event(), video_overlay_free_handle(), vo_dispose_grab_video_frame(), vo_grab_grab_video_frame(), xine_array_delete(), xine_ring_buffer_delete(), xxmc_dispose_context(), and yuv2rgb_factory_dispose().
|
inlinestatic |
References _x_freep().
Referenced by _dispose(), _ftp_dispose(), _ftp_open(), _login(), _open_plugin(), input_avio_dispose(), and input_avio_open().
void _x_nv12_to_yv12 | ( | const uint8_t * | y_src, |
int | y_src_pitch, | ||
const uint8_t * | uv_src, | ||
int | uv_src_pitch, | ||
uint8_t * | y_dst, | ||
int | y_dst_pitch, | ||
uint8_t * | u_dst, | ||
int | u_dst_pitch, | ||
uint8_t * | v_dst, | ||
int | v_dst_pitch, | ||
int | width, | ||
int | height ) |
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_qt_send_headers(), open_nsv_file(), open_smjpeg_file(), and parse_track_entry().
void _x_report_video_fourcc | ( | xine_t * | xine, |
const char * | module, | ||
uint32_t | code ) |
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_qt_send_headers(), open_film_file(), open_nsv_file(), open_smjpeg_file(), parse_track_entry(), and real_parse_headers().
void _x_yuy2_to_nv12 | ( | const uint8_t * | src_yuy2_map, |
int | yuy2_pitch, | ||
uint8_t * | y_dst, | ||
int | y_dst_pitch, | ||
uint8_t * | uv_dst, | ||
int | uv_dst_pitch, | ||
int | width, | ||
int | height ) |
Referenced by vaapi_software_render_frame().
void _x_yv12_to_nv12 | ( | const uint8_t * | y_src, |
int | y_src_pitch, | ||
const uint8_t * | u_src, | ||
int | u_src_pitch, | ||
const uint8_t * | v_src, | ||
int | v_src_pitch, | ||
uint8_t * | y_dst, | ||
int | y_dst_pitch, | ||
uint8_t * | uv_dst, | ||
int | uv_dst_pitch, | ||
int | width, | ||
int | height ) |
References _copy_plane(), height, width, xine_fast_memcpy, xine_free_aligned(), and xine_malloc_aligned().
Referenced by vaapi_software_render_frame().
void free_yuv_planes | ( | yuv_planes_t * | yuv_planes | ) |
References yuv_planes_s::u, yuv_planes_s::v, xine_freep_aligned, and yuv_planes_s::y.
Referenced by goom_port_close(), and goom_port_put_buffer().
void init_yuv_conversion | ( | void | ) |
References CENTERSAMPLE, MM_ACCEL_X86_MMX, MM_ACCEL_X86_MMXEXT, MM_ACCEL_X86_SSE2, SCALEFACTOR, u_b_table, u_g_table, u_r_table, UB, UG, UR, uv_br_table, v_b_table, v_g_table, v_r_table, VB, VG, VR, xine_mm_accel(), y_b_table, y_g_table, y_r_table, YB, YG, YR, yuv411_to_yv12, yuv411_to_yv12_c(), yuv444_to_yuy2, yuv444_to_yuy2_c(), yuv9_to_yv12, yuv9_to_yv12_c(), yuy2_to_yv12, yuy2_to_yv12_c(), yv12_to_yuy2, and yv12_to_yuy2_c().
Referenced by XineOpenGLView::acceptsFirstResponder, xine_init(), and yuv2frame().
void init_yuv_planes | ( | yuv_planes_t * | yuv_planes, |
int | width, | ||
int | height ) |
References height, yuv_planes_s::row_count, yuv_planes_s::row_width, yuv_planes_s::u, yuv_planes_s::v, width, xine_mallocz_aligned(), and yuv_planes_s::y.
Referenced by bitplane_decode_data(), goom_port_open(), goom_port_put_buffer(), and oscope_port_open().
|
extern |
References rgb2yuy2_s::cm, rgb2yuy2_s::fmt, NULL, rgb2yuy2_s::pfmt, rgb_argb, rgb_bgr, rgb_bgra, rgb_bgra_clut, rgb_rgb, rgb_rgb555be, rgb_rgb555le, rgb_rgb565be, rgb_rgb565le, rgb_rgba, rgb_rgba_clut, rr, rgb2yuy2_s::t0, rgb2yuy2_s::t1, and rgb2yuy2_s::t2.
Referenced by _image_decode_data(), _png_decode_data(), ff_setup_rgb2yuy2(), goom_open_plugin(), image_decode_data(), and rgb_decode_data().
|
extern |
Referenced by _image_decode_data(), _png_decode_data(), ff_dispose(), ff_setup_rgb2yuy2(), goom_dispose(), image_decode_data(), rgb_decode_data(), and rgb_dispose().
|
extern |
References rgb2yuy2_s::fmt, mode(), rgb2yuy2_s::p, rgb2yuy2_s::pfmt, rgb_argb, rgb_bgr, rgb_bgra, rgb_pal1, rgb_pal2, rgb_pal4, rgb_pal8, rgb_rgb, rgb_rgba, rgb2yuy2_s::t0, rgb2yuy2_s::t1, rgb2yuy2_s::t2, and v.
Referenced by ff_convert_frame(), and rgb_decode_data().
|
extern |
|
extern |
References height, rgb2yuy2_slice(), width, xine_free_aligned(), xine_malloc_aligned(), and yuy2_to_yv12.
Referenced by _image_decode_data(), _png_decode_data(), and image_decode_data().
size_t xine_base64_decode | ( | const char * | from, |
uint8_t * | to ) |
Base64 decoder. from: pointer to input string or line formatted / indented, null terminated text. to: pointer to output buffer. ret: length of output in bytes.
Referenced by config_register_serialized_entry(), sdpplin_parse(), and sdpplin_parse_stream().
size_t xine_base64_encode | ( | uint8_t * | from, |
char * | to, | ||
size_t | size ) |
Base64 encoder. from: pointer to binary input. to: pointer to output string buffer. size: byte length of input. ret: length of output string (without \0). Note that both buffers need 4 writable padding bytes.
Referenced by _cdda_cdindex(), config_get_serialized_entry(), http_plugin_basicauth(), and rtsp_basicauth().
char * xine_chomp | ( | char * | str | ) |
int xine_cpu_count | ( | void | ) |
References _cpu_count().
Referenced by _open_plugin(), _open_plugin(), and open_plugin().
uint32_t xine_crc16_ansi | ( | uint32_t | crc, |
const uint8_t * | data, | ||
size_t | len ) |
References rev16, tab_crc16_ansi, and v.
Referenced by xine_a52_parse_data().
uint32_t xine_crc32_ieee | ( | uint32_t | crc, |
const uint8_t * | data, | ||
size_t | len ) |
Checksum calculator.
References rev32, tab_crc32_ieee, and v.
Referenced by demux_ts_parse_pat(), demux_ts_parse_pmt(), and ts_rewrite_packets().
int xine_create_cloexec | ( | const char * | name, |
int | flags, | ||
mode_t | mode ) |
creates a file, ensuring that the descriptor will be closed automatically after a fork/execute.
References _x_set_file_close_on_exec(), mode(), name, and O_CLOEXEC.
Referenced by ao_file_open(), do_record(), open_plugin(), and pvr_break_rec_page().
int xine_fast_string_cmp | ( | char * | fast_string1, |
char * | fast_string2 ) |
fast strcmp (). BTW: XINE_PROTECTED does not link on some systems when doing xine_sarray_new (size, (xine_sarray_comparator_t)xine_fast_string_cmp);.
References _xine_fast_string_mask, and v.
Referenced by _config_fat_entry_cmp(), and _fat_node_file_cmp().
void xine_fast_string_free | ( | char ** | fast_string | ) |
free a fast string if it is not application supplied.
References NULL.
char * xine_fast_string_init | ( | char * | buf, |
size_t | bsize ) |
set up a fast string inside an application supplied buffer.
References NULL, XFST_ALIGN, and XFST_MIN_SIZE.
Referenced by _config_fat_entry_cmp(), _x_scan_plugins(), config_insert(), and load_plugin_list().
size_t xine_fast_string_max | ( | char * | fast_string | ) |
return the actual max strlen.
size_t xine_fast_string_need | ( | size_t | max_strlen | ) |
return the byte size needed for an application supplied buffer.
References XFST_ALIGN.
char * xine_fast_string_set | ( | char * | fast_string, |
const char * | text, | ||
size_t | tsize ) |
set or change the contents of a fast string. fast_text may be NULL, to allocate a new one. you can even edit the string manually, then apply the new size with text == NULL.
References _xine_fast_string_mask, NULL, v, and XFST_ALIGN.
Referenced by _config_fat_entry_cmp(), collect_plugins(), config_insert(), and load_plugin_list().
void xine_free_aligned | ( | void * | ptr | ) |
Referenced by _x_ao_new_port(), _x_yv12_to_nv12(), aa_dispose_frame(), caca_dispose_frame(), dispose_ximage(), ff_audio_dispose(), ff_audio_open_plugin(), fifo_buffer_dispose(), opengl_frame_dispose(), raw_frame_dispose(), raw_update_frame_format(), rgb2yv12_slice(), vdpau_dispose(), vdpau_overlay_end(), vdpau_process_overlays(), xshm_frame_dispose(), xshm_frame_dispose(), xv_frame_dispose(), xv_rem_yuy2_emu(), xv_rem_yuy2_emu(), and yuv2rgb_dispose().
const char * xine_get_homedir | ( | void | ) |
Referenced by _ssh_connect(), _x_scan_plugins(), config_save_cb(), do_record(), file_input_class_get_dir(), and xine_init().
char * xine_get_system_encoding | ( | void | ) |
get encoding of current locale
References _get_first_lang_locale(), _get_lang(), lang_locale_t::encoding, and NULL.
Referenced by _meta_info_set_encoding(), and osd_set_encoding().
const char * xine_guess_spu_encoding | ( | void | ) |
References _get_first_lang_locale(), _get_lang(), and lang_locale_t::spu_encoding.
Referenced by init_spu_decoder_plugin().
void xine_hexdump | ( | const void * | buf, |
int | length ) |
Referenced by atom_scan(), decode_audio_header(), decode_dshow_header(), decode_flac_header(), decode_video_header(), hash(), init_codec(), init_codec(), pnm_get_chunk(), pnm_get_stream_chunk(), real_get_rdt_chunk(), real_parse_mdpr(), realdec_decode_data(), select_mlti_data(), send_header(), and vorbis_decode_data().
void * xine_malloc_aligned | ( | size_t | size | ) |
References NULL, XINE_MEM_ADD, and XINE_MEM_MASK.
Referenced by _x_yv12_to_nv12(), create_ximage(), ff_audio_open_plugin(), mem_frame_update_frame_format(), rgb2yv12_slice(), vdpau_duplicate_frame_data(), vdpau_update_frame_format(), xshm_update_frame_format(), xshm_update_frame_format(), xv_add_yuy2_emu(), xv_add_yuy2_emu(), and yuv2rgb_configure().
void * xine_mallocz_aligned | ( | size_t | size | ) |
References NULL, XINE_MEM_ADD, and XINE_MEM_MASK.
Referenced by _x_ao_new_port(), _x_fifo_buffer_new(), _x_vo_new_port(), aa_update_frame_format(), caca_update_frame_format(), frame_reallocate(), init_yuv_planes(), initNoise(), mpeg2_init(), opengl_update_frame_format(), raw_update_frame_format(), vdpau_overlay_end(), and vdpau_process_overlays().
void * xine_memdup | ( | const void * | src, |
size_t | length ) |
References NULL, and xine_fast_memcpy.
Referenced by rmff_new_mdpr().
void * xine_memdup0 | ( | const void * | src, |
size_t | length ) |
References NULL, and xine_fast_memcpy.
uint32_t xine_mm_accel | ( | void | ) |
References MM_ACCEL_MLIB, and NULL.
Referenced by check_values(), deinterlace_frame_di_greedyh(), deinterlace_frame_di_tomsmocomp(), deinterlace_init_plugin(), DeinterlaceGreedy2Frame(), eq_open_plugin(), ff_video_open_plugin(), goom_port_put_buffer(), init_postprocess(), init_yuv_conversion(), linearblend_get_method(), mpeg2_init(), noise_draw(), noise_open_plugin(), open_plugin(), pp_open_plugin(), update_fast_memcpy(), xine_probe_fast_memcpy_int(), and yuv2rgb_factory_init().
int xine_monotonic_clock | ( | struct timeval * | tv, |
struct timezone * | tz ) |
References lprintf.
Referenced by ao_file_delay(), ao_file_open(), ao_oss_delay(), ao_oss_write(), get_time(), open_plugin(), pvrscr_adjust(), pvrscr_adjust(), pvrscr_get_current(), pvrscr_get_current(), pvrscr_set_pivot(), pvrscr_set_pivot(), pvrscr_start(), pvrscr_start(), rip_plugin_seek(), stretchscr_adjust(), stretchscr_get_current(), stretchscr_set_pivot(), stretchscr_start(), unixscr_adjust(), unixscr_get_current(), unixscr_set_pivot(), unixscr_start(), and v4l2_input_read_block().
int xine_mutex_destroy | ( | xine_mutex_t * | mutex | ) |
References xine_mutex_t::mutex.
int xine_mutex_init | ( | xine_mutex_t * | mutex, |
const pthread_mutexattr_t * | mutexattr, | ||
const char * | id ) |
References xine_mutex_t::id, and xine_mutex_t::mutex.
int xine_mutex_lock | ( | xine_mutex_t * | mutex, |
const char * | who ) |
References xine_mutex_t::id, xine_mutex_t::locked_by, and xine_mutex_t::mutex.
int xine_mutex_unlock | ( | xine_mutex_t * | mutex, |
const char * | who ) |
References xine_mutex_t::id, and xine_mutex_t::mutex.
char int xine_open_cloexec | ( | const char * | name, |
int | flags ) |
opens a file, ensuring that the descriptor will be closed automatically after a fork/execute.
References _x_set_file_close_on_exec(), name, and O_CLOEXEC.
Referenced by ao_oss_open(), ao_sun_open(), ao_sun_open_plugin(), cdda_open(), dvb_plugin_open(), dxr3_decode_data(), dxr3_open_plugin(), dxr3_overlay_end(), dxr3_scr_init(), dxr3_spudec_open_plugin(), dxr3_update_frame_format(), dxr3_vo_open_plugin(), file_input_open(), media_eject_media(), open_fb_device(), open_plugin(), open_radio_capture_device(), open_video_capture_device(), pvr_event_handler(), pvr_play_file(), pvr_plugin_open(), realtime_samplecounter_available(), setup_dga(), stdin_plugin_open(), switch_channel(), tuner_init(), v4l_class_get_radio_instance(), v4l_class_get_video_instance(), vcd_class_get_autoplay_list(), vcd_class_get_dir(), vcd_plugin_open(), and vdr_plugin_open_fifo_mrl().
int xine_profiler_allocate_slot | ( | const char * | label | ) |
References MAX_ID, NULL, xine_profiler_t::p_label, profiler, and profiler_lock.
Referenced by audio_decoder_loop(), video_decoder_loop(), and yuv2rgb_configure().
void xine_profiler_init | ( | void | ) |
References profiler, and profiler_lock.
void xine_profiler_print_results | ( | void | ) |
References MAX_ID, NULL, profiler, rdtsc(), and xine_usec_sleep().
void xine_profiler_start_count | ( | int | id | ) |
References MAX_ID, xine_profiler_t::p_start, profiler, and rdtsc().
Referenced by audio_decoder_loop(), scale_line_11_12(), scale_line_11_24(), scale_line_15_16(), scale_line_1_1(), scale_line_1_2(), scale_line_2_3(), scale_line_3_4(), scale_line_45_53(), scale_line_45_64(), scale_line_5_4(), scale_line_5_8(), scale_line_9_16(), scale_line_gen(), and video_decoder_loop().
void xine_profiler_stop_count | ( | int | id | ) |
References MAX_ID, xine_profiler_t::p_calls, xine_profiler_t::p_start, xine_profiler_t::p_times, profiler, and rdtsc().
Referenced by audio_decoder_loop(), scale_line_11_12(), scale_line_11_24(), scale_line_15_16(), scale_line_1_1(), scale_line_1_2(), scale_line_2_3(), scale_line_3_4(), scale_line_45_53(), scale_line_45_64(), scale_line_5_4(), scale_line_5_8(), scale_line_9_16(), scale_line_gen(), and video_decoder_loop().
void xine_pts_queue_delete | ( | xine_pts_queue_t ** | queue | ) |
int64_t xine_pts_queue_get | ( | xine_pts_queue_t * | queue, |
size_t | bytes ) |
tell what the parser has delivered, and get the filtered pts or 0.
References xine_pts_queue_s::backlog, xine_pts_queue_s::bytes, xine_pts_queue_s::get, xine_pts_queue_s::last_action, xine_pts_queue_s::num, xine_pts_queue_s::pos, xine_pts_queue_s::pts, xine_pts_queue_s::put, xine_pts_queue_s::ring_pos, XPQ_A_GET, XPQ_BACKLOG_MASK, and XPQ_BACKLOG_SIZE.
Referenced by ff_audio_decode_data().
xine_pts_queue_t * xine_pts_queue_new | ( | void | ) |
create a new instance.
Referenced by ff_audio_open_plugin().
void xine_pts_queue_put | ( | xine_pts_queue_t * | queue, |
size_t | bytes, | ||
int64_t | pts ) |
tell what the parser has consumed. pts == 0 if unknown.
References xine_pts_queue_s::backlog, xine_pts_queue_s::get, xine_pts_queue_s::last_action, xine_pts_queue_s::last_pts, xine_pts_queue_s::pos, xine_pts_queue_s::pts, xine_pts_queue_s::put, xine_pts_queue_s::ring_pos, XPQ_A_PUT, XPQ_A_READY, XPQ_A_STALL, and XPQ_BACKLOG_MASK.
Referenced by ff_audio_decode_data().
void xine_pts_queue_reset | ( | xine_pts_queue_t * | queue | ) |
reset after a stream seek.
Referenced by ff_audio_open_codec(), and ff_audio_reset().
void xine_rats_shorten | ( | xine_rats_t * | value | ) |
XINE_RATS >= 1: shorten value.
xine rational numbers, taken from TJtools.
References xine_rats_t::den, and xine_rats_t::num.
Referenced by mpd_set_start_time().
void * xine_realloc_aligned | ( | void * | ptr, |
size_t | size ) |
References NULL, xine_fast_memcpy, XINE_MEM_ADD, and XINE_MEM_MASK.
Referenced by ff_audio_ensure_buffer_size().
size_t xine_ref_string_len | ( | const char * | s | ) |
fast if s is a xine reference counted string.
References _xine_ref_string_head(), and _xine_ref_string_head_t::len.
Referenced by config_get_serialized_entry().
char * xine_ref_string_ref | ( | const char * | s, |
int | len ) |
create or reuse a xine reference counted string, whose contents shall remain unchanged. use len == -1 if not kown.
References _xine_ref_string_head(), _xine_ref_string_head_t::len, _xine_ref_string_head_t::magic, NULL, _xine_ref_string_head_t::refs, and v.
Referenced by _x_scan_plugins(), config_register_key(), and config_register_serialized_entry().
int xine_ref_string_unref | ( | char ** | s | ) |
same as x_freep if s is _not a xine reference counted string.
References _xine_ref_string_head(), NULL, and _xine_ref_string_head_t::refs.
Referenced by _x_dispose_plugins(), and config_reset_value().
int xine_socket_cloexec | ( | int | domain, |
int | type, | ||
int | protocol ) |
creates a socket, ensuring that the descriptor will be closed automatically after a fork/execute.
References _x_set_socket_close_on_exec(), and type.
Referenced by _x_init_broadcaster(), _x_io_tcp_handshake_connect(), host_connect_attempt(), and vdr_plugin_open_socket().
char * xine_strcat_realloc | ( | char ** | dest, |
const char * | append ) |
append to a string, reallocating normally, updates & returns *dest on error, *dest is unchanged & NULL is returned.
void xine_ts_add | ( | struct timespec * | a, |
const struct timespec * | b ) |
XINE_TS >= 1: a += b.
Referenced by mpd_set_frag_index().
int xine_ts_from_string | ( | struct timespec * | ts, |
const char * | s ) |
XINE_TS >= 1: Well. libcurl.curl_getdate () fails on plain "01 January 1970 00:00:04 GMT". shell.date fails on "2020-08-31T23:55:00.000+02:00". here comes yet another "we can do better" attempt: input: ts: the fallback or relative base time. string: the date/time in some halfway common format. output: ts: what we got. return: 0 (OK) or some Exxx error code.
xine timespec magic, taken from TJtools.
References _DC_DIGIT, _DC_DOT, _DC_END, _DC_MINUS, _DC_PLUS, _DC_SPACE, _DC_Tt, _DC_Zz, _DV_HAVE_DATE, _DV_HAVE_JTIME, _DV_HAVE_TIME, _DV_HAVE_ZONE, type, v, and z.
Referenced by mpd_input_load_manifest(), and mpd_set_start_time().
void xine_ts_sub | ( | struct timespec * | a, |
const struct timespec * | b ) |
XINE_TS >= 1: a -= b.
Referenced by mpd_set_frag_index(), and mpd_set_start_time().
int64_t xine_ts_to_timebase | ( | const struct timespec * | ts, |
uint32_t | timebase ) |
XINE_TS >= 1: ts * timebase.
Referenced by mpd_set_frag_index(), and mpd_set_start_time().
void xine_usec_sleep | ( | unsigned | usec | ) |
Referenced by _opensles_write(), _x_spu_decoder_sleep(), ao_dx2_write(), ao_file_delay(), ao_jack_write(), ao_none_write(), audio_decoder_loop(), bitplane_decode_data(), buffer_service(), dvb_parse_si(), dvb_plugin_read(), dvd_plugin_read_block(), dxr3_display_frame(), fifos_wait(), handle_libbluray_event(), metronom_handle_discontinuity(), pvr_plugin_read_block(), spudec_decode_data(), vaapi_x11_wait_event(), vdpau_h264_alter_frame_ready(), vdr_execute_rpc_command(), video_decoder_loop(), wait_secs(), xine_dvd_send_button_update(), xine_exit(), xine_profiler_print_results(), and xxmc_display_frame().
void * xine_xcalloc | ( | size_t | nmemb, |
size_t | size ) |
Wrapper around calloc() function.
nmemb | Number of elements to allocate |
size | Size of each element to allocate |
This is a simple wrapper around calloc(), the only thing it does more than calloc() is outputting an error if the calloc fails (returning NULL).
References __XINE_FUNCTION__, and NULL.
Referenced by open_film_file(), open_mve_file(), open_tta_file(), and parse_vbri_header().
void * xine_xmalloc | ( | size_t | size | ) |
Allocate and clean memory size_t 'size', then return the pointer to the allocated memory.
size | Size of the memory area to allocate. |
The behaviour of this function differs from standard malloc() as xine_xmalloc(0) will not return a NULL pointer, but rather a pointer to a memory area of size 1 byte.
The NULL value is only ever returned in case of an error in malloc(), and is reported to stderr stream.
References __XINE_FUNCTION__, and NULL.
Referenced by fooviz_init_plugin().
|
extern |
References _copy_plane(), height, and width.
Referenced by _x_get_current_frame_data(), crop_frame(), duplicate_frame(), write_frame_sfb(), and yuv_decode_data().
|
extern |
References _copy_plane(), height, and width.
Referenced by _draw_image(), _x_get_current_frame_data(), _x_va_frame_provide_standard_frame_data(), crop_frame(), duplicate_frame(), realdec_decode_data(), send_frames(), vaapi_software_render_frame(), vpx_decode_data(), write_frame_sfb(), and yuv_decode_data().
|
extern |
Referenced by init_yuv_conversion().
|
extern |
Referenced by init_yuv_conversion().
|
extern |
Referenced by init_yuv_conversion().
|
extern |
Referenced by init_yuv_conversion().
|
extern |
Referenced by init_yuv_conversion().
|
extern |
Referenced by init_yuv_conversion().
|
extern |
Referenced by init_yuv_conversion().
|
extern |
Referenced by _aom_decode_data(), _copy_plane(), _copy_plane(), _dav1d_decode_data(), _upload_texture(), _x_demux_send_data(), _x_va_frame_duplicate_frame_data(), _x_yv12_to_nv12(), _xine_buffer_copyin(), ao_coreaudio_render_proc(), ao_coreaudio_write(), ao_resend_store(), asf_send_buffer_defrag(), audio_fill(), bitplane_decode_data(), cache_plugin_read(), collect_data(), copy_chunk(), copy_slice(), DeinterlaceGreedy2Frame_MMX(), DeinterlaceGreedy2Frame_SSE2(), demux_real_send_chunk(), demux_str_send_chunk(), demux_vc1_es_send_headers(), demux_wv_send_chunk(), draw_fftgraph(), dvaudio_decode_data(), dxr3_spudec_decode_data(), dxr3_spudec_update_nav(), eq2_draw(), eq_draw(), fb_display_frame(), ff_audio_decode_data(), ff_convert_frame(), ff_handle_buffer(), ff_handle_header_buffer(), ff_handle_header_buffer(), flac_decode_data(), flac_read_callback(), fooaudio_decode_data(), foovideo_decode_data(), frame_copy_content(), gnutls_tcp_pull(), goom_update(), gsm610_decode_data(), handle_realvideo(), handle_sub_utf8(), handle_vobsub(), hevc_decode_data(), init_codec_real(), init_codec_video(), init_codec_vobsub(), init_codec_xiph(), macosx_display_frame(), mad_decode_data(), mms_read(), mmsh_read(), mpc_decode_data(), mpc_reader_read(), nsf_decode_data(), open_dts_file(), open_plugin(), parse_block(), parse_frame(), post_intercept_video_frame(), pvr_plugin_read_block(), qtv_decode_data(), readin_op(), realdec_decode_data(), rgb_decode_data(), scale_line_1_1(), spudec_decode_data(), spudec_process(), stdin_plugin_read(), test_plugin_read(), unsharp(), update_fast_memcpy(), v4l2_input_dequeue_video_buffer(), v4l_plugin_read_block(), vaapi_overlay_end(), vaapi_ovl_associate(), vdpau_h264_alter_frame_render(), vdpau_mpeg12_decode_data(), vdpau_mpeg4_decode_data(), vdpau_vc1_decode_data(), vdr_execute_rpc_command(), vorbis_decode_data(), vpx_decode_data(), w32a_decode_audio(), w32v_decode_data(), wavpack_decode_data(), win32_display_frame(), write_frame_YUV420P2(), xine_buffer_copyout(), xine_buffer_dup(), xine_buffer_read_bytes(), xine_config_save(), xine_memdup(), xine_memdup0(), xine_probe_fast_memcpy(), xine_realloc_aligned(), xxmc_do_update_frame(), yuv2frame(), yuv2rgb_c_16(), yuv2rgb_c_24_bgr(), yuv2rgb_c_24_rgb(), yuv2rgb_c_32(), yuv2rgb_c_8(), yuv2rgb_c_gray(), yuv2rgb_c_palette(), yuv411_to_yv12_c(), yuv9_to_yv12_c(), yuv_decode_data(), yuy22rgb_c_16(), yuy22rgb_c_24_bgr(), yuy22rgb_c_24_rgb(), yuy22rgb_c_32(), yuy22rgb_c_8(), yuy22rgb_c_gray(), and yuy22rgb_c_palette().
|
extern |
Referenced by init_yuv_conversion().
|
extern |
Referenced by init_yuv_conversion().
|
extern |
Referenced by init_yuv_conversion().
|
extern |
Referenced by ff_convert_frame(), and init_yuv_conversion().
|
extern |
Referenced by bitplane_decode_data(), goom_port_put_buffer(), init_yuv_conversion(), oscope_port_put_buffer(), and yuv2frame().
|
extern |
Referenced by ff_convert_frame(), init_yuv_conversion(), and yuv_decode_data().
|
extern |
|
extern |
Referenced by deinterlace_draw(), init_yuv_conversion(), macosx_display_frame(), and write_frame_sfb().