|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AVFormatLibrary
Based on FFMPEG Aug 12 2007. From avformat.h, avio.h
Nested classes/interfaces inherited from interface net.sf.ffmpeg_java.FFMPEGLibrary |
---|
FFMPEGLibrary.AVClass, FFMPEGLibrary.AVRational |
Nested classes/interfaces inherited from interface com.sun.jna.Library |
---|
com.sun.jna.Library.Handler |
Field Summary | |
---|---|
static int |
AVFMT_GENERIC_INDEX
< format does not need / have any timestamps |
static int |
AVFMT_GLOBALHEADER
< format wants AVPicture structure for raw picture data |
static int |
AVFMT_NEEDNUMBER
|
static int |
AVFMT_NOFILE
|
static int |
AVFMT_NOTIMESTAMPS
< format wants global header |
static int |
AVFMT_RAWPICTURE
< show format stream IDs numbers |
static int |
AVFMT_SHOW_IDS
< needs '%d' in filename |
static int |
AVFMTCTX_NOHEADER
|
static int |
AVPROBE_PADDING_SIZE
|
static int |
AVPROBE_SCORE_MAX
|
static int |
AVSEEK_FLAG_ANY
|
static int |
AVSEEK_FLAG_BACKWARD
|
static int |
AVSEEK_FLAG_BYTE
|
static int |
AVSEEK_SIZE
|
static int |
AVSTREAM_PARSE_FULL
|
static int |
AVSTREAM_PARSE_HEADERS
< full parsing and repack |
static int |
AVSTREAM_PARSE_NONE
|
static int |
AVSTREAM_PARSE_TIMESTAMPS
< only parse headers, don't repack |
static int |
FFM_PACKET_SIZE
|
static AVFormatLibrary |
INSTANCE
|
static int |
LIBAVFORMAT_BUILD
|
static java.lang.String |
LIBAVFORMAT_IDENT
|
static java.lang.String |
LIBAVFORMAT_VERSION
|
static int |
LIBAVFORMAT_VERSION_INT
|
static int |
MAX_STREAMS
< signal that no header is present (streams are added dynamically) |
static int |
PKT_FLAG_KEY
|
static int |
URL_EOF
|
static int |
URL_RDONLY
|
static int |
URL_RDWR
|
static int |
URL_WRONLY
|
Fields inherited from interface com.sun.jna.Library |
---|
OPTION_FUNCTION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER |
Method Summary | |
---|---|
int |
av_add_index_entry(AVFormatLibrary.AVStream st,
long pos,
long timestamp,
int size,
int distance,
int flags)
|
AVFormatLibrary.AVFormatContext |
av_alloc_format_context()
|
void |
av_close_input_file(AVFormatLibrary.AVFormatContext s)
|
int |
av_codec_get_id(com.sun.jna.ptr.PointerByReference tags,
int tag)
|
int |
av_codec_get_tag(com.sun.jna.ptr.PointerByReference tags,
int id)
|
void |
av_destruct_packet_nofree(AVFormatLibrary.AVPacket pkt)
|
void |
av_destruct_packet(AVFormatLibrary.AVPacket pkt)
|
int |
av_dup_packet(AVFormatLibrary.AVPacket pkt)
|
int |
av_filename_number_test(java.lang.String filename)
|
int |
av_find_default_stream_index(AVFormatLibrary.AVFormatContext s)
|
AVFormatLibrary.AVInputFormat |
av_find_input_format(java.lang.String short_name)
|
int |
av_find_stream_info(AVFormatLibrary.AVFormatContext ic)
|
void |
av_free_packet(AVFormatLibrary.AVPacket pkt)
|
long |
av_gen_search(AVFormatLibrary.AVFormatContext s,
int stream_index,
long target_ts,
long pos_min,
long pos_max,
long pos_limit,
long ts_min,
long ts_max,
int flags,
com.sun.jna.ptr.LongByReference ts_ret,
com.sun.jna.Pointer read_timestamp)
|
int |
av_get_frame_filename(com.sun.jna.Pointer buf,
int buf_size,
java.lang.String path,
int number)
|
int |
av_get_packet(AVFormatLibrary.ByteIOContext s,
AVFormatLibrary.AVPacket pkt,
int size)
|
long |
av_gettime()
|
int |
av_guess_codec(AVFormatLibrary.AVOutputFormat fmt,
java.lang.String short_name,
java.lang.String filename,
java.lang.String mime_type,
int type)
|
int |
av_guess_image2_codec(java.lang.String filename)
|
void |
av_hex_dump_log(com.sun.jna.Pointer avcl,
int level,
com.sun.jna.Pointer buf,
int size)
|
void |
av_hex_dump(com.sun.jna.Pointer f,
com.sun.jna.Pointer buf,
int size)
|
int |
av_index_search_timestamp(AVFormatLibrary.AVStream st,
long timestamp,
int flags)
|
void |
av_init_packet(AVFormatLibrary.AVPacket pkt)
|
int |
av_interleave_packet_per_dts(AVFormatLibrary.AVFormatContext s,
AVFormatLibrary.AVPacket out,
AVFormatLibrary.AVPacket pkt,
int flush)
|
int |
av_interleaved_write_frame(AVFormatLibrary.AVFormatContext s,
AVFormatLibrary.AVPacket pkt)
|
int |
av_new_packet(AVFormatLibrary.AVPacket pkt,
int size)
|
AVFormatLibrary.AVStream |
av_new_stream(AVFormatLibrary.AVFormatContext s,
int id)
|
int |
av_open_input_file(com.sun.jna.ptr.PointerByReference ic_ptr,
java.lang.String filename,
AVFormatLibrary.AVInputFormat fmt,
int buf_size,
AVFormatLibrary.AVFormatParameters ap)
Open a media file as input. |
int |
av_open_input_stream(com.sun.jna.ptr.PointerByReference ic_ptr,
AVFormatLibrary.ByteIOContext pb,
java.lang.String filename,
AVFormatLibrary.AVInputFormat fmt,
AVFormatLibrary.AVFormatParameters ap)
Allocates all the structures needed to read an input stream. |
void |
av_pkt_dump_log(com.sun.jna.Pointer avcl,
int level,
AVFormatLibrary.AVPacket pkt,
int dump_payload)
|
void |
av_pkt_dump(com.sun.jna.Pointer f,
AVFormatLibrary.AVPacket pkt,
int dump_payload)
|
AVFormatLibrary.AVInputFormat |
av_probe_input_format(AVFormatLibrary.AVProbeData pd,
int is_opened)
|
int |
av_read_frame(AVFormatLibrary.AVFormatContext s,
AVFormatLibrary.AVPacket pkt)
Return the next frame of a stream. |
int |
av_read_packet(AVFormatLibrary.AVFormatContext s,
AVFormatLibrary.AVPacket pkt)
|
int |
av_read_pause(AVFormatLibrary.AVFormatContext s)
Pause a network based stream (e.g. |
int |
av_read_play(AVFormatLibrary.AVFormatContext s)
start playing a network based stream (e.g. |
void |
av_register_all()
|
void |
av_register_input_format(AVFormatLibrary.AVInputFormat format)
|
void |
av_register_output_format(AVFormatLibrary.AVOutputFormat format)
|
int |
av_seek_frame_binary(AVFormatLibrary.AVFormatContext s,
int stream_index,
long target_ts,
int flags)
|
int |
av_seek_frame(AVFormatLibrary.AVFormatContext s,
int stream_index,
long timestamp,
int flags)
Seek to the key frame at timestamp. |
int |
av_set_parameters(AVFormatLibrary.AVFormatContext s,
AVFormatLibrary.AVFormatParameters ap)
|
void |
av_set_pts_info(AVFormatLibrary.AVStream s,
int pts_wrap_bits,
int pts_num,
int pts_den)
|
void |
av_update_cur_dts(AVFormatLibrary.AVFormatContext s,
AVFormatLibrary.AVStream ref_st,
long timestamp)
|
int |
av_write_frame(AVFormatLibrary.AVFormatContext s,
AVFormatLibrary.AVPacket pkt)
|
int |
av_write_header(AVFormatLibrary.AVFormatContext s)
|
int |
av_write_trailer(AVFormatLibrary.AVFormatContext s)
|
int |
avf_sdp_create(com.sun.jna.Pointer ac,
int n_files,
com.sun.jna.Pointer buff,
int size)
|
void |
dump_format(AVFormatLibrary.AVFormatContext ic,
int index,
java.lang.String url,
int is_output)
|
long |
ffm_read_write_index(int fd)
|
void |
ffm_set_write_index(AVFormatLibrary.AVFormatContext s,
long pos,
long file_size)
|
void |
ffm_write_write_index(int fd,
long pos)
|
int |
find_info_tag(com.sun.jna.Pointer arg,
int arg_size,
java.lang.String tag1,
java.lang.String info)
|
int |
get_be16(AVFormatLibrary.ByteIOContext s)
|
int |
get_be24(AVFormatLibrary.ByteIOContext s)
|
int |
get_be32(AVFormatLibrary.ByteIOContext s)
|
long |
get_be64(AVFormatLibrary.ByteIOContext s)
|
int |
get_buffer(AVFormatLibrary.ByteIOContext s,
com.sun.jna.Pointer buf,
int size)
|
int |
get_byte(AVFormatLibrary.ByteIOContext s)
note return 0 if EOF, so you cannot use it if EOF handling is necessary |
com.sun.jna.NativeLong |
get_checksum(AVFormatLibrary.ByteIOContext s)
|
int |
get_le16(AVFormatLibrary.ByteIOContext s)
|
int |
get_le24(AVFormatLibrary.ByteIOContext s)
|
int |
get_le32(AVFormatLibrary.ByteIOContext s)
|
long |
get_le64(AVFormatLibrary.ByteIOContext s)
|
int |
get_partial_buffer(AVFormatLibrary.ByteIOContext s,
com.sun.jna.Pointer buf,
int size)
|
com.sun.jna.Pointer |
get_strz(AVFormatLibrary.ByteIOContext s,
com.sun.jna.Pointer buf,
int maxlen)
|
AVFormatLibrary.AVOutputFormat |
guess_format(java.lang.String short_name,
java.lang.String filename,
java.lang.String mime_type)
|
AVFormatLibrary.AVOutputFormat |
guess_stream_format(java.lang.String short_name,
java.lang.String filename,
java.lang.String mime_type)
|
void |
init_checksum(AVFormatLibrary.ByteIOContext s,
com.sun.jna.Pointer update_checksum,
com.sun.jna.NativeLong checksum)
|
int |
init_put_byte(com.sun.jna.Pointer s,
com.sun.jna.Pointer buffer,
int buffer_size,
int write_flag,
com.sun.jna.Pointer opaque,
com.sun.jna.Pointer read_packet,
com.sun.jna.Pointer write_packet,
com.sun.jna.Pointer seek)
|
int |
match_ext(java.lang.String filename,
java.lang.String extensions)
|
long |
parse_date(java.lang.String datestr,
int duration)
|
int |
parse_frame_rate(com.sun.jna.ptr.IntByReference frame_rate,
com.sun.jna.ptr.IntByReference frame_rate_base,
java.lang.String arg)
Deprecated. |
int |
parse_image_size(com.sun.jna.ptr.IntByReference width_ptr,
com.sun.jna.ptr.IntByReference height_ptr,
java.lang.String str)
Deprecated. |
void |
put_be16(AVFormatLibrary.ByteIOContext s,
int val)
|
void |
put_be24(AVFormatLibrary.ByteIOContext s,
int val)
|
void |
put_be32(AVFormatLibrary.ByteIOContext s,
int val)
|
void |
put_be64(AVFormatLibrary.ByteIOContext s,
long val)
|
void |
put_buffer(AVFormatLibrary.ByteIOContext s,
com.sun.jna.Pointer buf,
int size)
|
void |
put_byte(AVFormatLibrary.ByteIOContext s,
int b)
|
void |
put_flush_packet(AVFormatLibrary.ByteIOContext s)
|
void |
put_le16(AVFormatLibrary.ByteIOContext s,
int val)
|
void |
put_le24(AVFormatLibrary.ByteIOContext s,
int val)
|
void |
put_le32(AVFormatLibrary.ByteIOContext s,
int val)
|
void |
put_le64(AVFormatLibrary.ByteIOContext s,
long val)
|
void |
put_strz(AVFormatLibrary.ByteIOContext s,
java.lang.String buf)
|
void |
put_tag(AVFormatLibrary.ByteIOContext s,
java.lang.String tag)
|
int |
register_protocol(AVFormatLibrary.URLProtocol protocol)
|
int |
resolve_host(com.sun.jna.Pointer sin_addr,
java.lang.String hostname)
|
java.lang.String |
small_strptime(java.lang.String p,
java.lang.String fmt,
com.sun.jna.Pointer dt)
|
int |
udp_get_file_handle(AVFormatLibrary.URLContext h)
|
int |
udp_get_local_port(AVFormatLibrary.URLContext h)
|
int |
udp_set_remote_url(AVFormatLibrary.URLContext h,
java.lang.String uri)
|
int |
url_close_buf(AVFormatLibrary.ByteIOContext s)
return the written or read size |
int |
url_close_dyn_buf(AVFormatLibrary.ByteIOContext s,
com.sun.jna.ptr.PointerByReference pbuffer)
Return the written size and a pointer to the buffer. |
int |
url_close(AVFormatLibrary.URLContext h)
|
int |
url_exist(java.lang.String filename)
|
int |
url_fclose(AVFormatLibrary.ByteIOContext s)
|
int |
url_fdopen(AVFormatLibrary.ByteIOContext s,
com.sun.jna.Pointer h)
|
int |
url_feof(AVFormatLibrary.ByteIOContext s)
|
int |
url_ferror(AVFormatLibrary.ByteIOContext s)
|
int |
url_fget_max_packet_size(com.sun.jna.Pointer s)
Return the maximum packet size associated to packetized buffered file handle. |
int |
url_fgetc(AVFormatLibrary.ByteIOContext s)
|
com.sun.jna.Pointer |
url_fgets(AVFormatLibrary.ByteIOContext s,
com.sun.jna.Pointer buf,
int buf_size)
note unlike fgets, the EOL character is not returned and a whole line is parsed. |
AVFormatLibrary.URLContext |
url_fileno(AVFormatLibrary.ByteIOContext s)
|
long |
url_filesize(AVFormatLibrary.URLContext h)
|
int |
url_fopen(AVFormatLibrary.ByteIOContext s,
java.lang.String filename,
int flags)
note when opened as read/write, the buffers are only used for reading |
long |
url_fseek(AVFormatLibrary.ByteIOContext s,
long offset,
int whence)
|
long |
url_fsize(AVFormatLibrary.ByteIOContext s)
|
void |
url_fskip(AVFormatLibrary.ByteIOContext s,
long offset)
|
long |
url_ftell(AVFormatLibrary.ByteIOContext s)
|
void |
url_get_filename(AVFormatLibrary.URLContext h,
com.sun.jna.Pointer buf,
int buf_size)
|
int |
url_get_max_packet_size(AVFormatLibrary.URLContext h)
|
int |
url_open_buf(AVFormatLibrary.ByteIOContext s,
com.sun.jna.Pointer buf,
int buf_size,
int flags)
|
int |
url_open_dyn_buf(AVFormatLibrary.ByteIOContext s)
Open a write only memory stream. |
int |
url_open_dyn_packet_buf(AVFormatLibrary.ByteIOContext s,
int max_packet_size)
Open a write only packetized memory stream with a maximum packet size of 'max_packet_size'. |
int |
url_open(com.sun.jna.ptr.PointerByReference h,
java.lang.String filename,
int flags)
|
int |
url_poll(AVFormatLibrary.URLPollEntry poll_table,
int n,
int timeout)
|
int |
url_read(AVFormatLibrary.URLContext h,
com.sun.jna.Pointer buf,
int size)
|
long |
url_seek(AVFormatLibrary.URLContext h,
long pos,
int whence)
|
void |
url_set_interrupt_cb(com.sun.jna.Pointer interrupt_cb)
|
int |
url_setbufsize(AVFormatLibrary.ByteIOContext s,
int buf_size)
warning must be called before any I/O |
void |
url_split(com.sun.jna.Pointer proto,
int proto_size,
com.sun.jna.Pointer authorization,
int authorization_size,
com.sun.jna.Pointer hostname,
int hostname_size,
com.sun.jna.ptr.IntByReference port_ptr,
com.sun.jna.Pointer path,
int path_size,
java.lang.String url)
|
int |
url_write(AVFormatLibrary.URLContext h,
com.sun.jna.Pointer buf,
int size)
|
Field Detail |
---|
static final AVFormatLibrary INSTANCE
static final int LIBAVFORMAT_VERSION_INT
static final java.lang.String LIBAVFORMAT_VERSION
static final int LIBAVFORMAT_BUILD
static final java.lang.String LIBAVFORMAT_IDENT
static final int PKT_FLAG_KEY
static final int AVPROBE_SCORE_MAX
static final int AVPROBE_PADDING_SIZE
static final int AVFMT_NOFILE
static final int AVFMT_NEEDNUMBER
static final int AVFMT_SHOW_IDS
static final int AVFMT_RAWPICTURE
static final int AVFMT_GLOBALHEADER
static final int AVFMT_NOTIMESTAMPS
static final int AVFMT_GENERIC_INDEX
static final int AVSTREAM_PARSE_NONE
static final int AVSTREAM_PARSE_FULL
static final int AVSTREAM_PARSE_HEADERS
static final int AVSTREAM_PARSE_TIMESTAMPS
static final int AVFMTCTX_NOHEADER
static final int MAX_STREAMS
static final int AVSEEK_FLAG_BACKWARD
static final int AVSEEK_FLAG_BYTE
static final int AVSEEK_FLAG_ANY
static final int FFM_PACKET_SIZE
static final int URL_RDONLY
static final int URL_WRONLY
static final int URL_RDWR
static final int AVSEEK_SIZE
static final int URL_EOF
Method Detail |
---|
void av_destruct_packet_nofree(AVFormatLibrary.AVPacket pkt)
void av_destruct_packet(AVFormatLibrary.AVPacket pkt)
void av_init_packet(AVFormatLibrary.AVPacket pkt)
int av_new_packet(AVFormatLibrary.AVPacket pkt, int size)
int av_get_packet(AVFormatLibrary.ByteIOContext s, AVFormatLibrary.AVPacket pkt, int size)
int av_dup_packet(AVFormatLibrary.AVPacket pkt)
void av_free_packet(AVFormatLibrary.AVPacket pkt)
int av_guess_image2_codec(java.lang.String filename)
void av_register_input_format(AVFormatLibrary.AVInputFormat format)
void av_register_output_format(AVFormatLibrary.AVOutputFormat format)
AVFormatLibrary.AVOutputFormat guess_stream_format(java.lang.String short_name, java.lang.String filename, java.lang.String mime_type)
AVFormatLibrary.AVOutputFormat guess_format(java.lang.String short_name, java.lang.String filename, java.lang.String mime_type)
int av_guess_codec(AVFormatLibrary.AVOutputFormat fmt, java.lang.String short_name, java.lang.String filename, java.lang.String mime_type, int type)
void av_hex_dump(com.sun.jna.Pointer f, com.sun.jna.Pointer buf, int size)
void av_hex_dump_log(com.sun.jna.Pointer avcl, int level, com.sun.jna.Pointer buf, int size)
void av_pkt_dump(com.sun.jna.Pointer f, AVFormatLibrary.AVPacket pkt, int dump_payload)
void av_pkt_dump_log(com.sun.jna.Pointer avcl, int level, AVFormatLibrary.AVPacket pkt, int dump_payload)
void av_register_all()
int av_codec_get_id(com.sun.jna.ptr.PointerByReference tags, int tag)
int av_codec_get_tag(com.sun.jna.ptr.PointerByReference tags, int id)
AVFormatLibrary.AVInputFormat av_find_input_format(java.lang.String short_name)
AVFormatLibrary.AVInputFormat av_probe_input_format(AVFormatLibrary.AVProbeData pd, int is_opened)
int av_open_input_stream(com.sun.jna.ptr.PointerByReference ic_ptr, AVFormatLibrary.ByteIOContext pb, java.lang.String filename, AVFormatLibrary.AVInputFormat fmt, AVFormatLibrary.AVFormatParameters ap)
int av_open_input_file(com.sun.jna.ptr.PointerByReference ic_ptr, java.lang.String filename, AVFormatLibrary.AVInputFormat fmt, int buf_size, AVFormatLibrary.AVFormatParameters ap)
ic_ptr
- the opened media file handle is put herefilename
- filename to open.fmt
- if non NULL, force the file format to usebuf_size
- optional buffer size (zero if default is OK)ap
- additional parameters needed when opening the file (NULL if default)
AVFormatLibrary.AVFormatContext av_alloc_format_context()
int av_find_stream_info(AVFormatLibrary.AVFormatContext ic)
int av_read_packet(AVFormatLibrary.AVFormatContext s, AVFormatLibrary.AVPacket pkt)
int av_read_frame(AVFormatLibrary.AVFormatContext s, AVFormatLibrary.AVPacket pkt)
int av_seek_frame(AVFormatLibrary.AVFormatContext s, int stream_index, long timestamp, int flags)
stream_index
- If stream_index is (-1), a default
stream is selected, and timestamp is automatically converted
from AV_TIME_BASE units to the stream specific time_base.timestamp
- timestamp in AVStream.time_base units
or if there is no stream specified then in AV_TIME_BASE unitsflags
- flags which select direction and seeking mode
int av_read_play(AVFormatLibrary.AVFormatContext s)
int av_read_pause(AVFormatLibrary.AVFormatContext s)
void av_close_input_file(AVFormatLibrary.AVFormatContext s)
AVFormatLibrary.AVStream av_new_stream(AVFormatLibrary.AVFormatContext s, int id)
void av_set_pts_info(AVFormatLibrary.AVStream s, int pts_wrap_bits, int pts_num, int pts_den)
int av_find_default_stream_index(AVFormatLibrary.AVFormatContext s)
int av_index_search_timestamp(AVFormatLibrary.AVStream st, long timestamp, int flags)
int av_add_index_entry(AVFormatLibrary.AVStream st, long pos, long timestamp, int size, int distance, int flags)
int av_seek_frame_binary(AVFormatLibrary.AVFormatContext s, int stream_index, long target_ts, int flags)
void av_update_cur_dts(AVFormatLibrary.AVFormatContext s, AVFormatLibrary.AVStream ref_st, long timestamp)
long av_gen_search(AVFormatLibrary.AVFormatContext s, int stream_index, long target_ts, long pos_min, long pos_max, long pos_limit, long ts_min, long ts_max, int flags, com.sun.jna.ptr.LongByReference ts_ret, com.sun.jna.Pointer read_timestamp)
int av_set_parameters(AVFormatLibrary.AVFormatContext s, AVFormatLibrary.AVFormatParameters ap)
int av_write_header(AVFormatLibrary.AVFormatContext s)
int av_write_frame(AVFormatLibrary.AVFormatContext s, AVFormatLibrary.AVPacket pkt)
int av_interleaved_write_frame(AVFormatLibrary.AVFormatContext s, AVFormatLibrary.AVPacket pkt)
int av_interleave_packet_per_dts(AVFormatLibrary.AVFormatContext s, AVFormatLibrary.AVPacket out, AVFormatLibrary.AVPacket pkt, int flush)
int av_write_trailer(AVFormatLibrary.AVFormatContext s)
void dump_format(AVFormatLibrary.AVFormatContext ic, int index, java.lang.String url, int is_output)
int parse_image_size(com.sun.jna.ptr.IntByReference width_ptr, com.sun.jna.ptr.IntByReference height_ptr, java.lang.String str)
int parse_frame_rate(com.sun.jna.ptr.IntByReference frame_rate, com.sun.jna.ptr.IntByReference frame_rate_base, java.lang.String arg)
long parse_date(java.lang.String datestr, int duration)
long av_gettime()
long ffm_read_write_index(int fd)
void ffm_write_write_index(int fd, long pos)
void ffm_set_write_index(AVFormatLibrary.AVFormatContext s, long pos, long file_size)
int find_info_tag(com.sun.jna.Pointer arg, int arg_size, java.lang.String tag1, java.lang.String info)
int av_get_frame_filename(com.sun.jna.Pointer buf, int buf_size, java.lang.String path, int number)
int av_filename_number_test(java.lang.String filename)
int avf_sdp_create(com.sun.jna.Pointer ac, int n_files, com.sun.jna.Pointer buff, int size)
java.lang.String small_strptime(java.lang.String p, java.lang.String fmt, com.sun.jna.Pointer dt)
int resolve_host(com.sun.jna.Pointer sin_addr, java.lang.String hostname)
void url_split(com.sun.jna.Pointer proto, int proto_size, com.sun.jna.Pointer authorization, int authorization_size, com.sun.jna.Pointer hostname, int hostname_size, com.sun.jna.ptr.IntByReference port_ptr, com.sun.jna.Pointer path, int path_size, java.lang.String url)
int match_ext(java.lang.String filename, java.lang.String extensions)
int url_open(com.sun.jna.ptr.PointerByReference h, java.lang.String filename, int flags)
int url_read(AVFormatLibrary.URLContext h, com.sun.jna.Pointer buf, int size)
int url_write(AVFormatLibrary.URLContext h, com.sun.jna.Pointer buf, int size)
long url_seek(AVFormatLibrary.URLContext h, long pos, int whence)
int url_close(AVFormatLibrary.URLContext h)
int url_exist(java.lang.String filename)
long url_filesize(AVFormatLibrary.URLContext h)
int url_get_max_packet_size(AVFormatLibrary.URLContext h)
void url_get_filename(AVFormatLibrary.URLContext h, com.sun.jna.Pointer buf, int buf_size)
void url_set_interrupt_cb(com.sun.jna.Pointer interrupt_cb)
int url_poll(AVFormatLibrary.URLPollEntry poll_table, int n, int timeout)
int register_protocol(AVFormatLibrary.URLProtocol protocol)
int init_put_byte(com.sun.jna.Pointer s, com.sun.jna.Pointer buffer, int buffer_size, int write_flag, com.sun.jna.Pointer opaque, com.sun.jna.Pointer read_packet, com.sun.jna.Pointer write_packet, com.sun.jna.Pointer seek)
void put_byte(AVFormatLibrary.ByteIOContext s, int b)
void put_buffer(AVFormatLibrary.ByteIOContext s, com.sun.jna.Pointer buf, int size)
void put_le64(AVFormatLibrary.ByteIOContext s, long val)
void put_be64(AVFormatLibrary.ByteIOContext s, long val)
void put_le32(AVFormatLibrary.ByteIOContext s, int val)
void put_be32(AVFormatLibrary.ByteIOContext s, int val)
void put_le24(AVFormatLibrary.ByteIOContext s, int val)
void put_be24(AVFormatLibrary.ByteIOContext s, int val)
void put_le16(AVFormatLibrary.ByteIOContext s, int val)
void put_be16(AVFormatLibrary.ByteIOContext s, int val)
void put_tag(AVFormatLibrary.ByteIOContext s, java.lang.String tag)
void put_strz(AVFormatLibrary.ByteIOContext s, java.lang.String buf)
long url_fseek(AVFormatLibrary.ByteIOContext s, long offset, int whence)
void url_fskip(AVFormatLibrary.ByteIOContext s, long offset)
long url_ftell(AVFormatLibrary.ByteIOContext s)
long url_fsize(AVFormatLibrary.ByteIOContext s)
int url_feof(AVFormatLibrary.ByteIOContext s)
int url_ferror(AVFormatLibrary.ByteIOContext s)
int url_fgetc(AVFormatLibrary.ByteIOContext s)
com.sun.jna.Pointer url_fgets(AVFormatLibrary.ByteIOContext s, com.sun.jna.Pointer buf, int buf_size)
void put_flush_packet(AVFormatLibrary.ByteIOContext s)
int get_buffer(AVFormatLibrary.ByteIOContext s, com.sun.jna.Pointer buf, int size)
int get_partial_buffer(AVFormatLibrary.ByteIOContext s, com.sun.jna.Pointer buf, int size)
int get_byte(AVFormatLibrary.ByteIOContext s)
int get_le24(AVFormatLibrary.ByteIOContext s)
int get_le32(AVFormatLibrary.ByteIOContext s)
long get_le64(AVFormatLibrary.ByteIOContext s)
int get_le16(AVFormatLibrary.ByteIOContext s)
com.sun.jna.Pointer get_strz(AVFormatLibrary.ByteIOContext s, com.sun.jna.Pointer buf, int maxlen)
int get_be16(AVFormatLibrary.ByteIOContext s)
int get_be24(AVFormatLibrary.ByteIOContext s)
int get_be32(AVFormatLibrary.ByteIOContext s)
long get_be64(AVFormatLibrary.ByteIOContext s)
int url_fdopen(AVFormatLibrary.ByteIOContext s, com.sun.jna.Pointer h)
int url_setbufsize(AVFormatLibrary.ByteIOContext s, int buf_size)
int url_fopen(AVFormatLibrary.ByteIOContext s, java.lang.String filename, int flags)
int url_fclose(AVFormatLibrary.ByteIOContext s)
AVFormatLibrary.URLContext url_fileno(AVFormatLibrary.ByteIOContext s)
int url_fget_max_packet_size(com.sun.jna.Pointer s)
s
- buffered file handle
int url_open_buf(AVFormatLibrary.ByteIOContext s, com.sun.jna.Pointer buf, int buf_size, int flags)
int url_close_buf(AVFormatLibrary.ByteIOContext s)
int url_open_dyn_buf(AVFormatLibrary.ByteIOContext s)
s
- new IO context
int url_open_dyn_packet_buf(AVFormatLibrary.ByteIOContext s, int max_packet_size)
s
- new IO contextmax_packet_size
- maximum packet size (must be > 0)
int url_close_dyn_buf(AVFormatLibrary.ByteIOContext s, com.sun.jna.ptr.PointerByReference pbuffer)
s
- IO contextpbuffer
- to a byte buffer
com.sun.jna.NativeLong get_checksum(AVFormatLibrary.ByteIOContext s)
void init_checksum(AVFormatLibrary.ByteIOContext s, com.sun.jna.Pointer update_checksum, com.sun.jna.NativeLong checksum)
int udp_set_remote_url(AVFormatLibrary.URLContext h, java.lang.String uri)
int udp_get_local_port(AVFormatLibrary.URLContext h)
int udp_get_file_handle(AVFormatLibrary.URLContext h)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |