mirror of
https://github.com/bdnugget/Magic-Vision.git
synced 2026-11-07 09:17:36 +00:00
4506 lines
184 KiB
XML
4506 lines
184 KiB
XML
<?xml version="1.0"?>
|
|
<doc>
|
|
<assembly>
|
|
"AForge.Video.FFMPEG"
|
|
</assembly>
|
|
<members>
|
|
<member name="M:libffmpeg.sws_convertPalette8ToPacked24(System.Byte!System.Runtime.CompilerServices.IsConst*,System.Byte*,System.Int32!System.Runtime.CompilerServices.IsLong,System.Byte!System.Runtime.CompilerServices.IsConst*)">
|
|
Converts an 8bit paletted frame into a frame with a color depth of 24 bits.
|
|
|
|
With the palette format "ABCD", the destination frame ends up with the format "ABC".
|
|
|
|
@param src source frame buffer
|
|
@param dst destination frame buffer
|
|
@param num_pixels number of pixels to convert
|
|
@param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_convertPalette8ToPacked32(System.Byte!System.Runtime.CompilerServices.IsConst*,System.Byte*,System.Int32!System.Runtime.CompilerServices.IsLong,System.Byte!System.Runtime.CompilerServices.IsConst*)">
|
|
Converts an 8bit paletted frame into a frame with a color depth of 32-bits.
|
|
|
|
The output frame will have the same packed format as the palette.
|
|
|
|
@param src source frame buffer
|
|
@param dst destination frame buffer
|
|
@param num_pixels number of pixels to convert
|
|
@param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_printVec(libffmpeg.SwsVector*)">
|
|
@deprecated Use sws_printVec2() instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_cloneVec(libffmpeg.SwsVector*)">
|
|
Allocates and returns a clone of the vector a, that is a vector
|
|
with the same coefficients as a.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_normalizeVec(libffmpeg.SwsVector*,System.Double)">
|
|
Scales all the coefficients of a so that their sum equals height.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_scaleVec(libffmpeg.SwsVector*,System.Double)">
|
|
Scales all the coefficients of a by the scalar value.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_getIdentityVec">
|
|
Allocates and returns a vector with just one coefficient, with
|
|
value 1.0.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_getConstVec(System.Double,System.Int32)">
|
|
Allocates and returns a vector with length coefficients, all
|
|
with the same value c.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_getGaussianVec(System.Double,System.Double)">
|
|
Returns a normalized Gaussian curve used to filter stuff
|
|
quality=3 is high quality, lower is lower quality.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_allocVec(System.Int32)">
|
|
Allocates and returns an uninitialized vector with length coefficients.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_getColorspaceDetails(libffmpeg.SwsContext*,System.Int32**,System.Int32*,System.Int32**,System.Int32*,System.Int32*,System.Int32*,System.Int32*)">
|
|
@return -1 if not supported
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_setColorspaceDetails(libffmpeg.SwsContext*,System.Int32!System.Runtime.CompilerServices.IsConst*,System.Int32,System.Int32!System.Runtime.CompilerServices.IsConst*,System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
@param inv_table the yuv2rgb coefficients, normally ff_yuv2rgb_coeffs[x]
|
|
@param fullRange if 1 then the luma range is 0..255 if 0 it is 16..235
|
|
@return -1 if not supported
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_scale_ordered(libffmpeg.SwsContext*,System.Byte!System.Runtime.CompilerServices.IsConst*!System.Runtime.CompilerServices.IsConst*,System.Int32*,System.Int32,System.Int32,System.Byte**,System.Int32*)">
|
|
@deprecated Use sws_scale() instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_scale(libffmpeg.SwsContext*,System.Byte!System.Runtime.CompilerServices.IsConst*!System.Runtime.CompilerServices.IsConst*,System.Int32!System.Runtime.CompilerServices.IsConst*,System.Int32,System.Int32,System.Byte*!System.Runtime.CompilerServices.IsConst*,System.Int32!System.Runtime.CompilerServices.IsConst*)">
|
|
Scales the image slice in srcSlice and puts the resulting scaled
|
|
slice in the image in dst. A slice is a sequence of consecutive
|
|
rows in an image.
|
|
|
|
Slices have to be provided in sequential order, either in
|
|
top-bottom or bottom-top order. If slices are provided in
|
|
non-sequential order the behavior of the function is undefined.
|
|
|
|
@param context the scaling context previously created with
|
|
sws_getContext()
|
|
@param srcSlice the array containing the pointers to the planes of
|
|
the source slice
|
|
@param srcStride the array containing the strides for each plane of
|
|
the source image
|
|
@param srcSliceY the position in the source image of the slice to
|
|
process, that is the number (counted starting from
|
|
zero) in the image of the first row of the slice
|
|
@param srcSliceH the height of the source slice, that is the number
|
|
of rows in the slice
|
|
@param dst the array containing the pointers to the planes of
|
|
the destination image
|
|
@param dstStride the array containing the strides for each plane of
|
|
the destination image
|
|
@return the height of the output slice
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_freeContext(libffmpeg.SwsContext*)">
|
|
Frees the swscaler context swsContext.
|
|
If swsContext is NULL, then does nothing.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_init_context(libffmpeg.SwsContext*,libffmpeg.SwsFilter*,libffmpeg.SwsFilter*)">
|
|
Initializes the swscaler context sws_context.
|
|
|
|
@return zero or positive value on success, a negative value on
|
|
error
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.SwsContext">
|
|
Allocates an empty SwsContext. This must be filled and passed to
|
|
sws_init_context(). For filling see AVOptions, options.c and
|
|
sws_setColorspaceDetails().
|
|
|
|
|
|
Allocates and returns a SwsContext. You need it to perform
|
|
scaling/conversion operations using sws_scale().
|
|
|
|
@param srcW the width of the source image
|
|
@param srcH the height of the source image
|
|
@param srcFormat the source image format
|
|
@param dstW the width of the destination image
|
|
@param dstH the height of the destination image
|
|
@param dstFormat the destination image format
|
|
@param flags specify which algorithm and options to use for rescaling
|
|
@return a pointer to an allocated context, or NULL in case of error
|
|
@note this function is to be removed after a saner alternative is
|
|
written
|
|
|
|
|
|
Checks if context can be reused, otherwise reallocates a new
|
|
one.
|
|
|
|
If context is NULL, just calls sws_getContext() to get a new
|
|
context. Otherwise, checks if the parameters are the ones already
|
|
saved in context. If that is the case, returns the current
|
|
context. Otherwise, frees context and gets a new context with
|
|
the new parameters.
|
|
|
|
Be warned that srcFilter and dstFilter are not checked, they
|
|
are assumed to remain the same.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_isSupportedOutput(libffmpeg.PixelFormat)">
|
|
Returns a positive value if pix_fmt is a supported output format, 0
|
|
otherwise.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.sws_isSupportedInput(libffmpeg.PixelFormat)">
|
|
Returns a positive value if pix_fmt is a supported input format, 0
|
|
otherwise.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.swscale_license">
|
|
Returns the libswscale license.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.swscale_configuration">
|
|
Returns the libswscale build-time configuration.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.swscale_version">
|
|
@file
|
|
@brief
|
|
external api for the swscale stuff
|
|
|
|
Those FF_API_* defines are not part of public API.
|
|
They may change, break or disappear at any time.
|
|
|
|
Returns the LIBSWSCALE_VERSION_INT constant.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_match_ext(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Return a positive value if the given filename has one of the given
|
|
extensions, 0 otherwise.
|
|
|
|
@param extensions a comma-separated list of filename extensions
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_sdp_create(libffmpeg.AVFormatContext**,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32)">
|
|
Generate an SDP for an RTP session.
|
|
|
|
@param ac array of AVFormatContexts describing the RTP streams. If the
|
|
array is composed by only one context, such context can contain
|
|
multiple AVStreams (one AVStream per RTP stream). Otherwise,
|
|
all the contexts in the array (an AVCodecContext per RTP stream)
|
|
must contain only one AVStream.
|
|
@param n_files number of AVCodecContexts contained in ac
|
|
@param buf buffer where the SDP will be stored (must be allocated by
|
|
the caller)
|
|
@param size the size of the buffer
|
|
@return 0 if OK, AVERROR_xxx on error
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_filename_number_test(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Check whether filename actually is a numbered sequence generator.
|
|
|
|
@param filename possible numbered sequence string
|
|
@return 1 if a valid numbered sequence string, 0 otherwise
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_frame_filename(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.Int32)">
|
|
Return in 'buf' the path with '%d' replaced by a number.
|
|
|
|
Also handles the '%0nd' format where 'n' is the total number
|
|
of digits and '%%'.
|
|
|
|
@param buf destination buffer
|
|
@param buf_size destination buffer size
|
|
@param path numbered sequence string
|
|
@param number frame number
|
|
@return 0 if OK, -1 on format error
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.find_info_tag(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
@deprecated use av_find_info_tag in libavutil instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_gettime">
|
|
Get the current time in microseconds.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.parse_date(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.Int32)">
|
|
Parse datestr and return a corresponding number of microseconds.
|
|
|
|
@param datestr String representing a date or a duration.
|
|
See av_parse_time() for the syntax of the provided string.
|
|
@deprecated in favor of av_parse_time()
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.parse_frame_rate(System.Int32*,System.Int32*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Convert framerate from a string to a fraction.
|
|
@deprecated Use av_parse_video_frame_rate instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.parse_image_size(System.Int32*,System.Int32*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Parse width and height out of string str.
|
|
@deprecated Use av_parse_video_frame_size instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_write_trailer(libffmpeg.AVFormatContext*)">
|
|
Write the stream trailer to an output media file and free the
|
|
file private data.
|
|
|
|
May only be called after a successful call to av_write_header.
|
|
|
|
@param s media file handle
|
|
@return 0 if OK, AVERROR_xxx on error
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_write_header(libffmpeg.AVFormatContext*)">
|
|
Allocate the stream private data and write the stream header to an
|
|
output media file.
|
|
@note: this sets stream time-bases, if possible to stream->codec->time_base
|
|
but for some formats it might also be some other time base
|
|
|
|
@param s media file handle
|
|
@return 0 if OK, AVERROR_xxx on error
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_url_split(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32,System.Int32*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Split a URL string into components.
|
|
|
|
The pointers to buffers for storing individual components may be null,
|
|
in order to ignore that component. Buffers for components not found are
|
|
set to empty strings. If the port is not found, it is set to a negative
|
|
value.
|
|
|
|
@param proto the buffer for the protocol
|
|
@param proto_size the size of the proto buffer
|
|
@param authorization the buffer for the authorization
|
|
@param authorization_size the size of the authorization buffer
|
|
@param hostname the buffer for the host name
|
|
@param hostname_size the size of the hostname buffer
|
|
@param port_ptr a pointer to store the port number in
|
|
@param path the buffer for the path
|
|
@param path_size the size of the path buffer
|
|
@param url the URL to split
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_set_parameters(libffmpeg.AVFormatContext*,libffmpeg.AVFormatParameters*)">
|
|
media file output
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_gen_search(libffmpeg.AVFormatContext*,System.Int32,System.Int64,System.Int64,System.Int64,System.Int64,System.Int64,System.Int64,System.Int32,System.Int64*,=FUNC:System.Int64(libffmpeg.AVFormatContext*,System.Int32,System.Int64*,System.Int64))">
|
|
Perform a binary search using read_timestamp().
|
|
This is not supposed to be called directly by a user application,
|
|
but by demuxers.
|
|
@param target_ts target timestamp in the time base of the given stream
|
|
@param stream_index stream number
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_update_cur_dts(libffmpeg.AVFormatContext*,libffmpeg.AVStream*,System.Int64)">
|
|
Update cur_dts of all streams based on the given timestamp and AVStream.
|
|
|
|
Stream ref_st unchanged, others set cur_dts in their native time base.
|
|
Only needed for timestamp wrapping or if (dts not set and pts!=dts).
|
|
@param timestamp new dts expressed in time_base of param ref_st
|
|
@param ref_st reference stream giving time_base of param timestamp
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_seek_frame_binary(libffmpeg.AVFormatContext*,System.Int32,System.Int64,System.Int32)">
|
|
Perform a binary search using av_index_search_timestamp() and
|
|
AVInputFormat.read_timestamp().
|
|
This is not supposed to be called directly by a user application,
|
|
but by demuxers.
|
|
@param target_ts target timestamp in the time base of the given stream
|
|
@param stream_index stream number
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_add_index_entry(libffmpeg.AVStream*,System.Int64,System.Int64,System.Int32,System.Int32,System.Int32)">
|
|
Add an index entry into a sorted list. Update the entry if the list
|
|
already contains it.
|
|
|
|
@param timestamp timestamp in the time base of the given stream
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_new_stream(libffmpeg.AVFormatContext*,System.Int32)">
|
|
Add a new stream to a media file.
|
|
|
|
Can only be called in the read_header() function. If the flag
|
|
AVFMTCTX_NOHEADER is in the format context, then new streams
|
|
can be added in read_packet too.
|
|
|
|
@param s media file handle
|
|
@param id file-format-dependent stream ID
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avformat_free_context(libffmpeg.AVFormatContext*)">
|
|
Free an AVFormatContext and all its streams.
|
|
@param s context to free
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_close_input_file(libffmpeg.AVFormatContext*)">
|
|
Close a media file (but not its codecs).
|
|
|
|
@param s media file handle
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_close_input_stream(libffmpeg.AVFormatContext*)">
|
|
Free a AVFormatContext allocated by av_open_input_stream.
|
|
@param s context to free
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_read_pause(libffmpeg.AVFormatContext*)">
|
|
Pause a network-based stream (e.g. RTSP stream).
|
|
|
|
Use av_read_play() to resume it.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_read_play(libffmpeg.AVFormatContext*)">
|
|
Start playing a network-based stream (e.g. RTSP stream) at the
|
|
current position.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_seek_frame(libffmpeg.AVFormatContext*,System.Int32,System.Int64,System.Int32)">
|
|
Seek to the keyframe at timestamp.
|
|
'timestamp' in 'stream_index'.
|
|
@param 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.
|
|
@param timestamp Timestamp in AVStream.time_base units
|
|
or, if no stream is specified, in AV_TIME_BASE units.
|
|
@param flags flags which select direction and seeking mode
|
|
@return >= 0 on success
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_read_packet(libffmpeg.AVFormatContext*,libffmpeg.AVPacket*)">
|
|
Read a transport packet from a media file.
|
|
|
|
This function is obsolete and should never be used.
|
|
Use av_read_frame() instead.
|
|
|
|
@param s media file handle
|
|
@param pkt is filled
|
|
@return 0 if OK, AVERROR_xxx on error
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_find_best_stream(libffmpeg.AVFormatContext*,libffmpeg.AVMediaType,System.Int32,System.Int32,libffmpeg.AVCodec**,System.Int32)">
|
|
Find the "best" stream in the file.
|
|
The best stream is determined according to various heuristics as the most
|
|
likely to be what the user expects.
|
|
If the decoder parameter is non-NULL, av_find_best_stream will find the
|
|
default decoder for the stream's codec; streams for which no decoder can
|
|
be found are ignored.
|
|
|
|
@param ic media file handle
|
|
@param type stream type: video, audio, subtitles, etc.
|
|
@param wanted_stream_nb user-requested stream number,
|
|
or -1 for automatic selection
|
|
@param related_stream try to find a stream related (eg. in the same
|
|
program) to this one, or -1 if none
|
|
@param decoder_ret if non-NULL, returns the decoder for the
|
|
selected stream
|
|
@param flags flags; none are currently defined
|
|
@return the non-negative stream number in case of success,
|
|
AVERROR_STREAM_NOT_FOUND if no stream with the requested type
|
|
could be found,
|
|
AVERROR_DECODER_NOT_FOUND if streams were found but no decoder
|
|
@note If av_find_best_stream returns successfully and decoder_ret is not
|
|
NULL, then *decoder_ret is guaranteed to be set to a valid AVCodec.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_find_stream_info(libffmpeg.AVFormatContext*)">
|
|
Read packets of a media file to get stream information. This
|
|
is useful for file formats with no headers such as MPEG. This
|
|
function also computes the real framerate in case of MPEG-2 repeat
|
|
frame mode.
|
|
The logical file position is not changed by this function;
|
|
examined packets may be buffered for later processing.
|
|
|
|
@param ic media file handle
|
|
@return >=0 if OK, AVERROR_xxx on error
|
|
@todo Let the user decide somehow what information is needed so that
|
|
we do not waste time getting stuff the user does not need.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avformat_alloc_context">
|
|
Allocate an AVFormatContext.
|
|
avformat_free_context() can be used to free the context and everything
|
|
allocated by the framework within it.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_alloc_format_context">
|
|
@deprecated Use avformat_alloc_context() instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_open_input_file(libffmpeg.AVFormatContext**,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,libffmpeg.AVInputFormat*,System.Int32,libffmpeg.AVFormatParameters*)">
|
|
Open a media file as input. The codecs are not opened. Only the file
|
|
header (if present) is read.
|
|
|
|
@param ic_ptr The opened media file handle is put here.
|
|
@param filename filename to open
|
|
@param fmt If non-NULL, force the file format to use.
|
|
@param buf_size optional buffer size (zero if default is OK)
|
|
@param ap Additional parameters needed when opening the file
|
|
(NULL if default).
|
|
@return 0 if OK, AVERROR_xxx otherwise
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_open_input_stream(libffmpeg.AVFormatContext**,libffmpeg.AVIOContext*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,libffmpeg.AVInputFormat*,libffmpeg.AVFormatParameters*)">
|
|
Allocate all the structures needed to read an input stream.
|
|
This does not open the needed codecs for decoding the stream[s].
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_probe_input_buffer(libffmpeg.AVIOContext*,libffmpeg.AVInputFormat**,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.Void*,System.UInt32,System.UInt32)">
|
|
Probe a bytestream to determine the input format. Each time a probe returns
|
|
with a score that is too low, the probe buffer size is increased and another
|
|
attempt is made. When the maximum probe size is reached, the input format
|
|
with the highest score is returned.
|
|
|
|
@param pb the bytestream to probe
|
|
@param fmt the input format is put here
|
|
@param filename the filename of the stream
|
|
@param logctx the log context
|
|
@param offset the offset within the bytestream to probe from
|
|
@param max_probe_size the maximum probe buffer size (zero for default)
|
|
@return 0 in case of success, a negative value corresponding to an
|
|
AVERROR code otherwise
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_probe_input_format3(libffmpeg.AVProbeData*,System.Int32,System.Int32*)">
|
|
Guess the file format.
|
|
|
|
@param is_opened Whether the file is already opened; determines whether
|
|
demuxers with or without AVFMT_NOFILE are probed.
|
|
@param score_ret The score of the best detection.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_probe_input_format(libffmpeg.AVProbeData*,System.Int32)">
|
|
Guess the file format.
|
|
|
|
@param is_opened Whether the file is already opened; determines whether
|
|
demuxers with or without AVFMT_NOFILE are probed.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_find_input_format(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Find AVInputFormat based on the short name of the input format.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_codec_get_tag(libffmpeg.AVCodecTag!System.Runtime.CompilerServices.IsConst*!System.Runtime.CompilerServices.IsConst*,libffmpeg.CodecID)">
|
|
Get the codec tag for the given codec id id.
|
|
If no codec tag is found returns 0.
|
|
|
|
@param tags list of supported codec_id-codec_tag pairs, as stored
|
|
in AVInputFormat.codec_tag and AVOutputFormat.codec_tag
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_register_all">
|
|
Initialize libavformat and register all the muxers, demuxers and
|
|
protocols. If you do not call this function, then you can select
|
|
exactly which formats you want to support.
|
|
|
|
@see av_register_input_format()
|
|
@see av_register_output_format()
|
|
@see av_register_protocol()
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_pkt_dump_log2(System.Void*,System.Int32,libffmpeg.AVPacket*,System.Int32,libffmpeg.AVStream*)">
|
|
Send a nice dump of a packet to the log.
|
|
|
|
@param avcl A pointer to an arbitrary struct of which the first field is a
|
|
pointer to an AVClass struct.
|
|
@param level The importance level of the message, lower values signifying
|
|
higher importance.
|
|
@param pkt packet to dump
|
|
@param dump_payload True if the payload must be displayed, too.
|
|
@param st AVStream that the packet belongs to
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_pkt_dump2(libffmpeg._iobuf*,libffmpeg.AVPacket*,System.Int32,libffmpeg.AVStream*)">
|
|
Send a nice dump of a packet to the specified file stream.
|
|
|
|
@param f The file stream pointer where the dump should be sent to.
|
|
@param pkt packet to dump
|
|
@param dump_payload True if the payload must be displayed, too.
|
|
@param st AVStream that the packet belongs to
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_hex_dump_log(System.Void*,System.Int32,System.Byte*,System.Int32)">
|
|
Send a nice hexadecimal dump of a buffer to the log.
|
|
|
|
@param avcl A pointer to an arbitrary struct of which the first field is a
|
|
pointer to an AVClass struct.
|
|
@param level The importance level of the message, lower values signifying
|
|
higher importance.
|
|
@param buf buffer
|
|
@param size buffer size
|
|
|
|
@see av_hex_dump, av_pkt_dump2, av_pkt_dump_log2
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_hex_dump(libffmpeg._iobuf*,System.Byte*,System.Int32)">
|
|
Send a nice hexadecimal dump of a buffer to the specified file stream.
|
|
|
|
@param f The file stream pointer where the dump should be sent to.
|
|
@param buf buffer
|
|
@param size buffer size
|
|
|
|
@see av_hex_dump_log, av_pkt_dump2, av_pkt_dump_log2
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_guess_format(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Return the output format in the list of registered output formats
|
|
which best matches the provided parameters, or return NULL if
|
|
there is no match.
|
|
|
|
@param short_name if non-NULL checks if short_name matches with the
|
|
names of the registered formats
|
|
@param filename if non-NULL checks if filename terminates with the
|
|
extensions of the registered formats
|
|
@param mime_type if non-NULL checks if mime_type matches with the
|
|
MIME type of the registered formats
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.guess_format(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
@deprecated Use av_guess_format() instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_oformat_next(libffmpeg.AVOutputFormat*)">
|
|
If f is NULL, returns the first registered output format,
|
|
if f is non-NULL, returns the next registered output format after f
|
|
or NULL if f is the last one.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_iformat_next(libffmpeg.AVInputFormat*)">
|
|
If f is NULL, returns the first registered input format,
|
|
if f is non-NULL, returns the next registered input format after f
|
|
or NULL if f is the last one.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVFormatContext.start_time_realtime">
|
|
Start time of the stream in real world time, in microseconds
|
|
since the unix epoch (00:00 1st January 1970). That is, pts=0
|
|
in the stream was captured at this real world time.
|
|
- encoding: Set by user.
|
|
- decoding: Unused.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVFormatContext.raw_packet_buffer_remaining_size">
|
|
Remaining size available for raw_packet_buffer, in bytes.
|
|
NOT PART OF PUBLIC API
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVFormatContext.debug">
|
|
Flags to enable debugging.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVFormatContext.max_picture_buffer">
|
|
Maximum amount of memory in bytes to use for buffering frames
|
|
obtained from realtime capture devices.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVFormatContext.max_index_size">
|
|
Maximum amount of memory in bytes to use for the index of each stream.
|
|
If the index exceeds this size, entries will be discarded as
|
|
needed to maintain a smaller size. This can lead to slower or less
|
|
accurate seeking (depends on demuxer).
|
|
Demuxers for which a full in-memory index is mandatory will ignore
|
|
this.
|
|
muxing : unused
|
|
demuxing: set by user
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVFormatContext.max_analyze_duration">
|
|
Maximum time (in AV_TIME_BASE units) during which the input should
|
|
be analyzed in av_find_stream_info().
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVFormatContext.probesize">
|
|
decoding: size of data to probe; encoding: unused.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVFormatContext.loop_output">
|
|
number of times to loop output in formats that support it
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVFormatContext.bit_rate">
|
|
Decoding: total stream bitrate in bit/s, 0 if not
|
|
available. Never set it directly if the file_size and the
|
|
duration are known as FFmpeg can compute it automatically.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVFormatContext.file_size">
|
|
decoding: total file size, 0 if unknown
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVFormatContext.duration">
|
|
Decoding: duration of the stream, in AV_TIME_BASE fractional
|
|
seconds. Only set this value if you know none of the individual stream
|
|
durations and also dont set any of them. This is deduced from the
|
|
AVStream values if not set.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVFormatContext.start_time">
|
|
Decoding: position of the first frame of the component, in
|
|
AV_TIME_BASE fractional seconds. NEVER set this value directly:
|
|
It is deduced from the AVStream values.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVFormatContext">
|
|
Format I/O context.
|
|
New fields can be added to the end with minor version bumps.
|
|
Removal, reordering and changes to existing fields require a major
|
|
version bump.
|
|
sizeof(AVFormatContext) must not be used outside libav*.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVProgram">
|
|
New fields can be added to the end with minor version bumps.
|
|
Removal, reordering and changes to existing fields require a major
|
|
version bump.
|
|
sizeof(AVProgram) must not be used outside libav*.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVStream.request_probe">
|
|
flag to indicate that probing is requested
|
|
NOT PART OF PUBLIC API
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVStream.codec_info_nb_frames">
|
|
Number of frames that have been demuxed during av_find_stream_info()
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVStream.avg_frame_rate">
|
|
Average framerate
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVPacketList">
|
|
last packet in packet_buffer for this stream when muxing.
|
|
used internally, NOT PART OF PUBLIC API, dont read or write from outside of libav*
|
|
|
|
|
|
This buffer is only needed when packets were already buffered but
|
|
not decoded, for example to get the codec parameters in MPEG
|
|
streams.
|
|
|
|
|
|
Raw packets from the demuxer, prior to parsing and decoding.
|
|
This buffer is used for buffering packets until the codec can
|
|
be identified, as parsing cannot be done without knowing the
|
|
codec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVStream.probe_packets">
|
|
Number of packets to buffer for codec probing
|
|
NOT PART OF PUBLIC API
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVStream.reference_dts">
|
|
Timestamp corresponding to the last dts sync point.
|
|
|
|
Initialized when AVCodecParserContext.dts_sync_point >= 0 and
|
|
a DTS is received from the underlying container. Otherwise set to
|
|
AV_NOPTS_VALUE by default.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVStream.sample_aspect_ratio">
|
|
sample aspect ratio (0 if unknown)
|
|
- encoding: Set by user.
|
|
- decoding: Set by libavformat.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVStream.duration">
|
|
Decoding: duration of the stream, in stream time base.
|
|
If a source file does not specify a duration, but does specify
|
|
a bitrate, this value will be estimated from bitrate and file size.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVStream.start_time">
|
|
Decoding: pts of the first frame of the stream, in stream time base.
|
|
Only set this if you are absolutely 100% sure that the value you set
|
|
it to really is the pts of the first frame.
|
|
This may be undefined (AV_NOPTS_VALUE).
|
|
@note The ASF header does NOT contain a correct start_time the ASF
|
|
demuxer must NOT set this.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVStream.quality">
|
|
Quality, as it has been removed from AVCodecContext and put in AVVideoFrame.
|
|
MN: dunno if that is the right place for it
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVStream.time_base">
|
|
This is the fundamental unit of time (in seconds) in terms
|
|
of which frame timestamps are represented. For fixed-fps content,
|
|
time base should be 1/framerate and timestamp increments should be 1.
|
|
decoding: set by libavformat
|
|
encoding: set by libavformat in av_write_header
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVFrac">
|
|
encoding: pts generation when outputting stream
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVStream.r_frame_rate">
|
|
Real base framerate of the stream.
|
|
This is the lowest framerate with which all timestamps can be
|
|
represented accurately (it is the least common multiple of all
|
|
framerates in the stream). Note, this value is just a guess!
|
|
For example, if the time base is 1/90000 and all frames have either
|
|
approximately 3600 or 1800 timer ticks, then r_frame_rate will be 50/1.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVStream">
|
|
Track should be used during playback by default.
|
|
Useful for subtitle track that should be displayed
|
|
even when user did not explicitly ask for subtitles.
|
|
|
|
Stream structure.
|
|
New fields can be added to the end with minor version bumps.
|
|
Removal, reordering and changes to existing fields require a major
|
|
version bump.
|
|
sizeof(AVStream) must not be used outside libav*.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.read_pause">
|
|
Pause playing - only meaningful if using a network-based format
|
|
(RTSP).
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.read_play">
|
|
Start/resume playing - only meaningful if using a network-based format
|
|
(RTSP).
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.value">
|
|
General purpose read-only value that the format can use.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.extensions">
|
|
If extensions are defined, then no probe is done. You should
|
|
usually not use extension format guessing because it is not
|
|
reliable enough
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.flags">
|
|
Can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.read_timestamp">
|
|
Gets the next timestamp in stream[stream_index].time_base units.
|
|
@return the timestamp or AV_NOPTS_VALUE if an error occurred
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.read_seek">
|
|
Seek to a given timestamp relative to the frames in
|
|
stream component stream_index.
|
|
@param stream_index Must not be -1.
|
|
@param flags Selects which direction should be preferred if no exact
|
|
match is available.
|
|
@return >= 0 on success (but not necessarily the new offset)
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.read_close">
|
|
Close the stream. The AVFormatContext and AVStreams are not
|
|
freed by this function
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.read_header">
|
|
Read the format header and initialize the AVFormatContext
|
|
structure. Return 0 if OK. 'ap' if non-NULL contains
|
|
additional parameters. Only used in raw format right
|
|
now. 'av_new_stream' should be called to create new streams.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.read_probe">
|
|
Tell if a given file has a chance of being parsed as this format.
|
|
The buffer provided is guaranteed to be AVPROBE_PADDING_SIZE bytes
|
|
big so you do not have to check for that unless you need more.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.priv_data_size">
|
|
Size of private data so that it can be allocated in the wrapper.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.long_name">
|
|
Descriptive name for the format, meant to be more human-readable
|
|
than name. You should use the NULL_IF_CONFIG_SMALL() macro
|
|
to define it.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVInputFormat.name">
|
|
A comma separated list of short names for the format. New names
|
|
may be appended with a minor bump.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVCodecTag">
|
|
List of supported codec_id-codec_tag pairs, ordered by "better
|
|
choice first". The arrays are all terminated by CODEC_ID_NONE.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVOutputFormat.set_parameters">
|
|
Currently only used to set pixel format if not YUV420P.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVOutputFormat.flags">
|
|
can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER, AVFMT_RAWPICTURE,
|
|
AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS,
|
|
AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVOutputFormat.priv_data_size">
|
|
size of private data so that it can be allocated in the wrapper
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVOutputFormat.long_name">
|
|
Descriptive name for the format, meant to be more human-readable
|
|
than name. You should use the NULL_IF_CONFIG_SMALL() macro
|
|
to define it.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVProbeData">
|
|
This structure contains the data a format has to probe a file.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_append_packet(libffmpeg.AVIOContext*,libffmpeg.AVPacket*,System.Int32)">
|
|
Read data and append it to the current content of the AVPacket.
|
|
If pkt->size is 0 this is identical to av_get_packet.
|
|
Note that this uses av_grow_packet and thus involves a realloc
|
|
which is inefficient. Thus this function should only be used
|
|
when there is no reasonable way to know (an upper bound of)
|
|
the final size.
|
|
|
|
@param pkt packet
|
|
@param size amount of data to read
|
|
@return >0 (read size) if OK, AVERROR_xxx otherwise, previous data
|
|
will not be lost even if an error occurs.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_packet(libffmpeg.AVIOContext*,libffmpeg.AVPacket*,System.Int32)">
|
|
Allocate and read the payload of a packet and initialize its
|
|
fields with default values.
|
|
|
|
@param pkt packet
|
|
@param size desired payload size
|
|
@return >0 (read size) if OK, AVERROR_xxx otherwise
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_metadata_free(libffmpeg.AVMetadata**)">
|
|
Free all the memory allocated for an AVMetadata struct.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_metadata_copy(libffmpeg.AVMetadata**,libffmpeg.AVMetadata*,System.Int32)">
|
|
Copy metadata from one AVMetadata struct into another.
|
|
@param dst pointer to a pointer to a AVMetadata struct. If *dst is NULL,
|
|
this function will allocate a struct for you and put it in *dst
|
|
@param src pointer to source AVMetadata struct
|
|
@param flags flags to use when setting metadata in *dst
|
|
@note metadata is read using the AV_METADATA_IGNORE_SUFFIX flag
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_metadata_conv(libffmpeg.AVFormatContext*,libffmpeg.AVMetadataConv!System.Runtime.CompilerServices.IsConst*,libffmpeg.AVMetadataConv!System.Runtime.CompilerServices.IsConst*)">
|
|
This function is provided for compatibility reason and currently does nothing.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_metadata_get(libffmpeg.AVMetadata*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,libffmpeg.AVMetadataTag!System.Runtime.CompilerServices.IsConst*,System.Int32)">
|
|
Get a metadata element with matching key.
|
|
|
|
@param prev Set to the previous matching element to find the next.
|
|
If set to NULL the first matching element is returned.
|
|
@param flags Allows case as well as suffix-insensitive comparisons.
|
|
@return Found tag or NULL, changing key or value leads to undefined behavior.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_seek_time(libffmpeg.AVIOContext*,System.Int32,System.Int64,System.Int32)">
|
|
Seek to a given timestamp relative to some component stream.
|
|
Only meaningful if using a network streaming protocol (e.g. MMS.).
|
|
@param stream_index The stream index that the timestamp is relative to.
|
|
If stream_index is (-1) the timestamp should be in AV_TIME_BASE
|
|
units from the beginning of the presentation.
|
|
If a stream_index >= 0 is used and the protocol does not support
|
|
seeking based on component streams, the call will fail with ENOTSUP.
|
|
@param timestamp timestamp in AVStream.time_base units
|
|
or if there is no stream specified then in AV_TIME_BASE units.
|
|
@param flags Optional combination of AVSEEK_FLAG_BACKWARD, AVSEEK_FLAG_BYTE
|
|
and AVSEEK_FLAG_ANY. The protocol may silently ignore
|
|
AVSEEK_FLAG_BACKWARD and AVSEEK_FLAG_ANY, but AVSEEK_FLAG_BYTE will
|
|
fail with ENOTSUP if used and not supported.
|
|
@return >= 0 on success
|
|
@see AVInputFormat::read_seek
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_pause(libffmpeg.AVIOContext*,System.Int32)">
|
|
Pause and resume playing - only meaningful if using a network streaming
|
|
protocol (e.g. MMS).
|
|
@param pause 1 for pause, 0 for resume
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_enum_protocols(System.Void**,System.Int32)">
|
|
Iterate through names of available protocols.
|
|
@note it is recommanded to use av_protocol_next() instead of this
|
|
|
|
@param opaque A private pointer representing current protocol.
|
|
It must be a pointer to NULL on first iteration and will
|
|
be updated by successive calls to avio_enum_protocols.
|
|
@param output If set to 1, iterate over output protocols,
|
|
otherwise over input protocols.
|
|
|
|
@return A static string containing the name of current protocol or NULL
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_close_dyn_buf(libffmpeg.AVIOContext*,System.Byte**)">
|
|
Return the written size and a pointer to the buffer. The buffer
|
|
must be freed with av_free().
|
|
Padding of FF_INPUT_BUFFER_PADDING_SIZE is added to the buffer.
|
|
|
|
@param s IO context
|
|
@param pbuffer pointer to a byte buffer
|
|
@return the length of the byte buffer
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_open_dyn_buf(libffmpeg.AVIOContext**)">
|
|
Open a write only memory stream.
|
|
|
|
@param s new IO context
|
|
@return zero if no error.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_open(libffmpeg.AVIOContext**,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.Int32)">
|
|
@defgroup open_modes URL open modes
|
|
The flags argument to avio_open must be one of the following
|
|
constants, optionally ORed with other flags.
|
|
@{
|
|
|
|
@}
|
|
|
|
Use non-blocking mode.
|
|
If this flag is set, operations on the context will return
|
|
AVERROR(EAGAIN) if they can not be performed immediately.
|
|
If this flag is not set, operations on the context will never return
|
|
AVERROR(EAGAIN).
|
|
Note that this flag does not affect the opening/connecting of the
|
|
context. Connecting a protocol will always block if necessary (e.g. on
|
|
network protocols) but never hang (e.g. on busy devices).
|
|
Warning: non-blocking protocols is work-in-progress; this flag may be
|
|
silently ignored.
|
|
|
|
Create and initialize a AVIOContext for accessing the
|
|
resource indicated by url.
|
|
@note When the resource indicated by url has been opened in
|
|
read+write mode, the AVIOContext can be used only for writing.
|
|
|
|
@param s Used to return the pointer to the created AVIOContext.
|
|
In case of failure the pointed to value is set to NULL.
|
|
@param flags flags which control how the resource indicated by url
|
|
is to be opened
|
|
@return 0 in case of success, a negative value corresponding to an
|
|
AVERROR code in case of failure
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.url_resetbuf(libffmpeg.AVIOContext*,System.Int32)">
|
|
Reset the buffer for reading or writing.
|
|
* @note Will drop any data currently in the buffer without transmitting it.
|
|
* @param flags URL_RDONLY to set up the buffer for reading, or URL_WRONLY
|
|
* to set up the buffer for writing.
|
|
</member>
|
|
<member name="M:libffmpeg.avio_r8(libffmpeg.AVIOContext*)">
|
|
@defgroup avio_read Functions for reading from AVIOContext.
|
|
@{
|
|
|
|
@note return 0 if EOF, so you cannot use it if EOF handling is
|
|
necessary
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_read(libffmpeg.AVIOContext*,System.Byte*,System.Int32)">
|
|
Read size bytes from AVIOContext into buf.
|
|
@return number of bytes read or AVERROR
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_printf(libffmpeg.AVIOContext*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,BTEllipsis)">
|
|
@warning currently size is limited
|
|
</member>
|
|
<member name="M:libffmpeg.url_feof(libffmpeg.AVIOContext*)">
|
|
feof() equivalent for AVIOContext.
|
|
@return non zero if and only if end of file
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_size(libffmpeg.AVIOContext*)">
|
|
Get the filesize.
|
|
@return filesize or AVERROR
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_tell(libffmpeg.AVIOContext*)">
|
|
ftell() equivalent for AVIOContext.
|
|
@return position or AVERROR.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_skip(libffmpeg.AVIOContext*,System.Int64)">
|
|
Skip given number of bytes forward
|
|
@return new position or AVERROR.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_put_str16le(libffmpeg.AVIOContext*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Convert an UTF-8 string to UTF-16LE and write it.
|
|
@return number of bytes written.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_put_str(libffmpeg.AVIOContext*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Write a NULL-terminated string.
|
|
@return number of bytes written.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_alloc_context(System.Byte*,System.Int32,System.Int32,System.Void*,=FUNC:System.Int32(System.Void*,System.Byte*,System.Int32),=FUNC:System.Int32(System.Void*,System.Byte*,System.Int32),=FUNC:System.Int64(System.Void*,System.Int64,System.Int32))">
|
|
Allocate and initialize an AVIOContext for buffered I/O. It must be later
|
|
freed with av_free().
|
|
|
|
@param buffer Memory block for input/output operations via AVIOContext.
|
|
@param buffer_size The buffer size is very important for performance.
|
|
For protocols with fixed blocksize it should be set to this blocksize.
|
|
For others a typical size is a cache page, e.g. 4kb.
|
|
@param write_flag Set to 1 if the buffer should be writable, 0 otherwise.
|
|
@param opaque An opaque pointer to user-specific data.
|
|
@param read_packet A function for refilling the buffer, may be NULL.
|
|
@param write_packet A function for writing the buffer contents, may be NULL.
|
|
@param seek A function for seeking to specified byte position, may be NULL.
|
|
|
|
@return Allocated AVIOContext or NULL on failure.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_register_protocol(libffmpeg.URLProtocol*)">
|
|
@deprecated Use av_register_protocol2() instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.register_protocol(libffmpeg.URLProtocol*)">
|
|
@deprecated Use av_register_protocol() instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_set_interrupt_cb(=FUNC:System.Int32(System.Void))">
|
|
The callback is called in blocking functions to test regulary if
|
|
asynchronous interruption is needed. AVERROR_EXIT is returned
|
|
in this case by the interrupted function. 'NULL' means no interrupt
|
|
callback is given.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avio_check(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.Int32)">
|
|
Return AVIO_* access flags corresponding to the access permissions
|
|
of the resource in url, or a negative value corresponding to an
|
|
AVERROR code in case of failure. The returned access flags are
|
|
masked by the value in flags.
|
|
|
|
@note This function is intrinsically unsafe, in the sense that the
|
|
checked resource may change its existence or permission status from
|
|
one call to another. Thus you should not trust the returned value,
|
|
unless you are sure that no other processes are accessing the
|
|
checked resource.
|
|
|
|
@note This function is slightly broken until next major bump
|
|
because of AVIO_RDONLY == 0. Don't use it until then.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.url_exist(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Return a non-zero value if the resource indicated by url
|
|
exists, 0 otherwise.
|
|
@deprecated Use avio_check instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.url_close_buf(libffmpeg.AVIOContext*)">
|
|
return the written or read size
|
|
</member>
|
|
<member name="M:libffmpeg.url_fget_max_packet_size(libffmpeg.AVIOContext*)">
|
|
@deprecated use AVIOContext.max_packet_size directly.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.url_is_streamed(libffmpeg.AVIOContext*)">
|
|
@deprecated Use AVIOContext.seekable field directly.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.get_strz(libffmpeg.AVIOContext*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32)">
|
|
@deprecated use avio_get_str instead
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.url_fgets(libffmpeg.AVIOContext*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32)">
|
|
@note unlike fgets, the EOL character is not returned and a whole
|
|
line is parsed. return NULL if first char read was EOF
|
|
</member>
|
|
<member name="M:libffmpeg.url_ferror(libffmpeg.AVIOContext*)">
|
|
@}
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.url_fopen(libffmpeg.AVIOContext**,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.Int32)">
|
|
@defgroup old_url_f_funcs Old url_f* functions
|
|
@deprecated use the avio_ -prefixed functions instead.
|
|
@{
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_url_read_fpause(libffmpeg.AVIOContext*,System.Int32)">
|
|
@}
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.get_buffer(libffmpeg.AVIOContext*,System.Byte*,System.Int32)">
|
|
@defgroup old_avio_funcs Old put_/get_*() functions
|
|
@deprecated use the avio_ -prefixed functions instead.
|
|
@{
|
|
|
|
</member>
|
|
<member name="D:libffmpeg.ByteIOContext">
|
|
@}
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_register_protocol2(libffmpeg.URLProtocol*,System.Int32)">
|
|
Register the URLProtocol protocol.
|
|
|
|
@param size the size of the URLProtocol struct referenced
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_protocol_next(libffmpeg.URLProtocol*)">
|
|
returns the next registered protocol after the given protocol (the first if
|
|
NULL is given), or NULL if protocol is the last one.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.url_open_protocol(libffmpeg.URLContext**,libffmpeg.URLProtocol*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.Int32)">
|
|
@defgroup old_url_funcs Old url_* functions
|
|
@deprecated use the buffered API based on AVIOContext instead
|
|
@{
|
|
|
|
</member>
|
|
<member name="D:libffmpeg.URLInterruptCB">
|
|
@defgroup open_modes URL open modes
|
|
The flags argument to url_open and cosins must be one of the following
|
|
constants, optionally ORed with other flags.
|
|
@{
|
|
|
|
@}
|
|
|
|
Use non-blocking mode.
|
|
If this flag is set, operations on the context will return
|
|
AVERROR(EAGAIN) if they can not be performed immediately.
|
|
If this flag is not set, operations on the context will never return
|
|
AVERROR(EAGAIN).
|
|
Note that this flag does not affect the opening/connecting of the
|
|
context. Connecting a protocol will always block if necessary (e.g. on
|
|
network protocols) but never hang (e.g. on busy devices).
|
|
Warning: non-blocking protocols is work-in-progress; this flag may be
|
|
silently ignored.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.URLProtocol">
|
|
@deprecated This struct is to be made private. Use the higher-level
|
|
AVIOContext-based API instead.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.URLContext">
|
|
URL Context.
|
|
New fields can be added to the end with minor version bumps.
|
|
Removal, reordering and changes to existing fields require a major
|
|
version bump.
|
|
sizeof(URLContext) must not be used outside libav*.
|
|
@deprecated This struct will be made private
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_lockmgr_register(=FUNC:System.Int32(System.Void**,libffmpeg.AVLockOp))">
|
|
Register a user provided lock manager supporting the operations
|
|
specified by AVLockOp. mutex points to a (void *) where the
|
|
lockmgr should store/get a pointer to a user allocated mutex. It's
|
|
NULL upon AV_LOCK_CREATE and != NULL for all other ops.
|
|
|
|
@param cb User defined callback. Note: FFmpeg may invoke calls to this
|
|
callback during the call to av_lockmgr_register().
|
|
Thus, the application must be prepared to handle that.
|
|
If cb is set to NULL the lockmgr will be unregistered.
|
|
Also note that during unregistration the previously registered
|
|
lockmgr callback may also be invoked.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVLockOp">
|
|
Lock operation used by lockmgr
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_hwaccel_next(libffmpeg.AVHWAccel*)">
|
|
If hwaccel is NULL, returns the first registered hardware accelerator,
|
|
if hwaccel is non-NULL, returns the next registered hardware accelerator
|
|
after hwaccel, or NULL if hwaccel is the last one.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_register_hwaccel(libffmpeg.AVHWAccel*)">
|
|
Register the hardware accelerator hwaccel.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_log_ask_for_sample(System.Void*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Log a generic warning message asking for a sample. This function is
|
|
intended to be used internally by FFmpeg (libavcodec, libavformat, etc.)
|
|
only, and would normally not be used by applications.
|
|
@param[in] avc a pointer to an arbitrary struct of which the first field is
|
|
a pointer to an AVClass struct
|
|
@param[in] msg string containing an optional message, or NULL if no message
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_log_missing_feature(System.Void*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.Int32)">
|
|
Logs a generic warning message about a missing feature. This function is
|
|
intended to be used internally by FFmpeg (libavcodec, libavformat, etc.)
|
|
only, and would normally not be used by applications.
|
|
@param[in] avc a pointer to an arbitrary struct of which the first field is
|
|
a pointer to an AVClass struct
|
|
@param[in] feature string containing the name of the missing feature
|
|
@param[in] want_sample indicates if samples are wanted which exhibit this feature.
|
|
If want_sample is non-zero, additional verbage will be added to the log
|
|
message which tells the user how to report samples to the development
|
|
mailing list.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_parse_video_frame_rate(libffmpeg.AVRational*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Parse str and store the detected values in *frame_rate.
|
|
|
|
@deprecated Deprecated in favor of av_parse_video_rate().
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_parse_video_frame_size(System.Int32*,System.Int32*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Parse str and put in width_ptr and height_ptr the detected values.
|
|
|
|
@deprecated Deprecated in favor of av_parse_video_size().
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_xiphlacing(System.Byte*,System.UInt32)">
|
|
Encode extradata length to a buffer. Used by xiph codecs.
|
|
|
|
@param s buffer to write to; must be at least (v/255+1) bytes long
|
|
@param v size of extradata in bytes
|
|
@return number of bytes written to the buffer.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_picture_pad(libffmpeg.AVPicture*,libffmpeg.AVPicture!System.Runtime.CompilerServices.IsConst*,System.Int32,System.Int32,libffmpeg.PixelFormat,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32*)">
|
|
Pad image.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_picture_crop(libffmpeg.AVPicture*,libffmpeg.AVPicture!System.Runtime.CompilerServices.IsConst*,libffmpeg.PixelFormat,System.Int32,System.Int32)">
|
|
Crop image top and left side.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_picture_copy(libffmpeg.AVPicture*,libffmpeg.AVPicture!System.Runtime.CompilerServices.IsConst*,libffmpeg.PixelFormat,System.Int32,System.Int32)">
|
|
Copy image src to dst. Wraps av_picture_data_copy() above.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_picture_data_copy(System.Byte**,System.Int32*,System.Byte**,System.Int32*,libffmpeg.PixelFormat,System.Int32,System.Int32)">
|
|
@deprecated Deprecated in favor of av_image_copy().
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_fast_malloc(System.Void*,System.UInt32*,System.UInt32)">
|
|
Allocate a buffer, reusing the given one if large enough.
|
|
|
|
Contrary to av_fast_realloc the current buffer contents might not be
|
|
preserved and on error the old buffer is freed, thus no special
|
|
handling to avoid memleaks is necessary.
|
|
|
|
@param ptr pointer to pointer to already allocated buffer, overwritten with pointer to new buffer
|
|
@param size size of the buffer *ptr points to
|
|
@param min_size minimum size of *ptr buffer after returning, *ptr will be NULL and
|
|
*size 0 if an error occurred.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_fast_realloc(System.Void*,System.UInt32*,System.UInt32)">
|
|
Reallocate the given block if it is not large enough, otherwise do nothing.
|
|
|
|
@see av_realloc
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecParserContext.last_pos">
|
|
Previous frame byte position.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecParserContext.pos">
|
|
Byte position of currently parsed frame in stream.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecParserContext.cur_frame_pos">
|
|
Position of the packet in file.
|
|
|
|
Analogous to cur_frame_pts/dts
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecParserContext.pts_dts_delta">
|
|
Presentation delay of current frame in units of AVCodecContext.time_base.
|
|
|
|
Set to INT_MIN when dts_sync_point unused. Otherwise, it must
|
|
contain valid non-negative timestamp delta (presentation time of a frame
|
|
must not lie in the past).
|
|
|
|
This delay represents the difference between decoding and presentation
|
|
time of the frame.
|
|
|
|
For example, this corresponds to H.264 dpb_output_delay.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecParserContext.dts_ref_dts_delta">
|
|
Offset of the current timestamp against last timestamp sync point in
|
|
units of AVCodecContext.time_base.
|
|
|
|
Set to INT_MIN when dts_sync_point unused. Otherwise, it must
|
|
contain a valid timestamp offset.
|
|
|
|
Note that the timestamp of sync point has usually a nonzero
|
|
dts_ref_dts_delta, which refers to the previous sync point. Offset of
|
|
the next frame after timestamp sync point will be usually 1.
|
|
|
|
For example, this corresponds to H.264 cpb_removal_delay.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecParserContext.convergence_duration">
|
|
Time difference in stream time base units from the pts of this
|
|
packet to the point at which the output from the decoder has converged
|
|
independent from the availability of previous frames. That is, the
|
|
frames are virtually identical no matter if decoding started from
|
|
the very first frame or from this keyframe.
|
|
Is AV_NOPTS_VALUE if unknown.
|
|
This field is not the display duration of the current frame.
|
|
This field has no meaning if the packet does not have AV_PKT_FLAG_KEY
|
|
set.
|
|
|
|
The purpose of this field is to allow seeking in streams that have no
|
|
keyframes in the conventional sense. It corresponds to the
|
|
recovery point SEI in H.264 and match_time_delta in NUT. It is also
|
|
essential for some types of subtitle streams to ensure that all
|
|
subtitles are correctly displayed after seeking.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecParserContext.offset">
|
|
Set if the parser has a valid file offset
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecParserContext.repeat_pict">
|
|
This field is used for proper frame duration computation in lavf.
|
|
It signals, how much longer the frame duration of the current frame
|
|
is compared to normal frame duration.
|
|
|
|
frame_duration = (1 + repeat_pict) * time_base
|
|
|
|
It is used by codecs like H.264 to display telecined material.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_bits_per_sample_format(libffmpeg.AVSampleFormat)">
|
|
@deprecated Use av_get_bits_per_sample_fmt() instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_bits_per_sample(libffmpeg.CodecID)">
|
|
Return codec bits per sample.
|
|
|
|
@param[in] codec_id the codec
|
|
@return Number of bits per sample or zero if unknown for the given codec.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_pict_type_char(System.Int32)">
|
|
Return a single letter to describe the given picture type pict_type.
|
|
|
|
@param[in] pict_type the picture type
|
|
@return A single character representing the picture type.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_flush_buffers(libffmpeg.AVCodecContext*)">
|
|
Flush buffers, should be called when seeking or when switching to a different stream.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_register_all">
|
|
Register all the codecs, parsers and bitstream filters which were enabled at
|
|
configuration time. If you do not call this function you can select exactly
|
|
which formats you want to support, by using the individual registration
|
|
functions.
|
|
|
|
@see avcodec_register
|
|
@see av_register_codec_parser
|
|
@see av_register_bitstream_filter
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_encode_video(libffmpeg.AVCodecContext*,System.Byte*,System.Int32,libffmpeg.AVFrame!System.Runtime.CompilerServices.IsConst*)">
|
|
Encode a video frame from pict into buf.
|
|
The input picture should be
|
|
stored using a specific format, namely avctx.pix_fmt.
|
|
|
|
@param avctx the codec context
|
|
@param[out] buf the output buffer for the bitstream of encoded frame
|
|
@param[in] buf_size the size of the output buffer in bytes
|
|
@param[in] pict the input picture to encode
|
|
@return On error a negative value is returned, on success zero or the number
|
|
of bytes used from the output buffer.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_encode_audio(libffmpeg.AVCodecContext*,System.Byte*,System.Int32,System.Int16!System.Runtime.CompilerServices.IsConst*)">
|
|
Encode an audio frame from samples into buf.
|
|
|
|
@note The output buffer should be at least FF_MIN_BUFFER_SIZE bytes large.
|
|
However, for PCM audio the user will know how much space is needed
|
|
because it depends on the value passed in buf_size as described
|
|
below. In that case a lower value can be used.
|
|
|
|
@param avctx the codec context
|
|
@param[out] buf the output buffer
|
|
@param[in] buf_size the output buffer size
|
|
@param[in] samples the input buffer containing the samples
|
|
The number of samples read from this buffer is frame_size*channels,
|
|
both of which are defined in avctx.
|
|
For PCM audio the number of samples read from samples is equal to
|
|
buf_size * input_sample_size / output_sample_size.
|
|
@return On error a negative value is returned, on success zero or the number
|
|
of bytes used to encode the data read from the input buffer.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avsubtitle_free(libffmpeg.AVSubtitle*)">
|
|
Frees all allocated data in the given subtitle struct.
|
|
|
|
@param sub AVSubtitle to free.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_decode_subtitle2(libffmpeg.AVCodecContext*,libffmpeg.AVSubtitle*,System.Int32*,libffmpeg.AVPacket*)">
|
|
* Decode a subtitle message.
|
|
* Return a negative value on error, otherwise return the number of bytes used.
|
|
* If no subtitle could be decompressed, got_sub_ptr is zero.
|
|
* Otherwise, the subtitle is stored in *sub.
|
|
* Note that CODEC_CAP_DR1 is not available for subtitle codecs. This is for
|
|
* simplicity, because the performance difference is expect to be negligible
|
|
* and reusing a get_buffer written for video codecs would probably perform badly
|
|
* due to a potentially very different allocation pattern.
|
|
*
|
|
* @param avctx the codec context
|
|
* @param[out] sub The AVSubtitle in which the decoded subtitle will be stored, must be
|
|
freed with avsubtitle_free if *got_sub_ptr is set.
|
|
* @param[in,out] got_sub_ptr Zero if no subtitle could be decompressed, otherwise, it is nonzero.
|
|
* @param[in] avpkt The input AVPacket containing the input buffer.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_decode_video(libffmpeg.AVCodecContext*,libffmpeg.AVFrame*,System.Int32*,System.Byte!System.Runtime.CompilerServices.IsConst*,System.Int32)">
|
|
Decode a video frame from buf into picture.
|
|
Wrapper function which calls avcodec_decode_video2.
|
|
|
|
@deprecated Use avcodec_decode_video2 instead.
|
|
@param avctx the codec context
|
|
@param[out] picture The AVFrame in which the decoded video frame will be stored.
|
|
@param[in] buf the input buffer
|
|
@param[in] buf_size the size of the input buffer in bytes
|
|
@param[in,out] got_picture_ptr Zero if no frame could be decompressed, otherwise, it is nonzero.
|
|
@return On error a negative value is returned, otherwise the number of bytes
|
|
used or zero if no frame could be decompressed.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_decode_audio3(libffmpeg.AVCodecContext*,System.Int16*,System.Int32*,libffmpeg.AVPacket*)">
|
|
Decode the audio frame of size avpkt->size from avpkt->data into samples.
|
|
Some decoders may support multiple frames in a single AVPacket, such
|
|
decoders would then just decode the first frame. In this case,
|
|
avcodec_decode_audio3 has to be called again with an AVPacket that contains
|
|
the remaining data in order to decode the second frame etc.
|
|
If no frame
|
|
could be outputted, frame_size_ptr is zero. Otherwise, it is the
|
|
decompressed frame size in bytes.
|
|
|
|
@warning You must set frame_size_ptr to the allocated size of the
|
|
output buffer before calling avcodec_decode_audio3().
|
|
|
|
@warning The input buffer must be FF_INPUT_BUFFER_PADDING_SIZE larger than
|
|
the actual read bytes because some optimized bitstream readers read 32 or 64
|
|
bits at once and could read over the end.
|
|
|
|
@warning The end of the input buffer avpkt->data should be set to 0 to ensure that
|
|
no overreading happens for damaged MPEG streams.
|
|
|
|
@note You might have to align the input buffer avpkt->data and output buffer
|
|
samples. The alignment requirements depend on the CPU: On some CPUs it isn't
|
|
necessary at all, on others it won't work at all if not aligned and on others
|
|
it will work but it will have an impact on performance.
|
|
|
|
In practice, avpkt->data should have 4 byte alignment at minimum and
|
|
samples should be 16 byte aligned unless the CPU doesn't need it
|
|
(AltiVec and SSE do).
|
|
|
|
@param avctx the codec context
|
|
@param[out] samples the output buffer, sample type in avctx->sample_fmt
|
|
@param[in,out] frame_size_ptr the output buffer size in bytes
|
|
@param[in] avpkt The input AVPacket containing the input buffer.
|
|
You can create such packet with av_init_packet() and by then setting
|
|
data and size, some decoders might in addition need other fields.
|
|
All decoders are designed to use the least fields possible though.
|
|
@return On error a negative value is returned, otherwise the number of bytes
|
|
used or zero if no frame data was decompressed (used) from the input AVPacket.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_decode_audio2(libffmpeg.AVCodecContext*,System.Int16*,System.Int32*,System.Byte!System.Runtime.CompilerServices.IsConst*,System.Int32)">
|
|
Decode an audio frame from buf into samples.
|
|
Wrapper function which calls avcodec_decode_audio3.
|
|
|
|
@deprecated Use avcodec_decode_audio3 instead.
|
|
@param avctx the codec context
|
|
@param[out] samples the output buffer
|
|
@param[in,out] frame_size_ptr the output buffer size in bytes
|
|
@param[in] buf the input buffer
|
|
@param[in] buf_size the input buffer size in bytes
|
|
@return On error a negative value is returned, otherwise the number of bytes
|
|
used or zero if no frame could be decompressed.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_thread_init(libffmpeg.AVCodecContext*,System.Int32)">
|
|
@deprecated Set s->thread_count before calling avcodec_open() instead of calling this.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_check_dimensions(System.Void*,System.UInt32,System.UInt32)">
|
|
@deprecated Deprecated in favor of av_check_image_size().
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_align_dimensions2(libffmpeg.AVCodecContext*,System.Int32*,System.Int32*,System.Int32*)">
|
|
Modify width and height values so that they will result in a memory
|
|
buffer that is acceptable for the codec if you also ensure that all
|
|
line sizes are a multiple of the respective linesize_align[i].
|
|
|
|
May only be used if a codec with CODEC_CAP_DR1 has been opened.
|
|
If CODEC_FLAG_EMU_EDGE is not set, the dimensions must have been increased
|
|
according to avcodec_get_edge_width() before.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_align_dimensions(libffmpeg.AVCodecContext*,System.Int32*,System.Int32*)">
|
|
Modify width and height values so that they will result in a memory
|
|
buffer that is acceptable for the codec if you do not use any horizontal
|
|
padding.
|
|
|
|
May only be used if a codec with CODEC_CAP_DR1 has been opened.
|
|
If CODEC_FLAG_EMU_EDGE is not set, the dimensions must have been increased
|
|
according to avcodec_get_edge_width() before.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_get_edge_width">
|
|
Return the amount of padding in pixels which the get_buffer callback must
|
|
provide around the edge of the image for codecs which do not have the
|
|
CODEC_FLAG_EMU_EDGE flag.
|
|
|
|
@return Required padding in pixels.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_alloc_frame">
|
|
Allocate an AVFrame and set its fields to default values. The resulting
|
|
struct can be deallocated by simply calling av_free().
|
|
|
|
@return An AVFrame filled with default values or NULL on failure.
|
|
@see avcodec_get_frame_defaults
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_get_frame_defaults(libffmpeg.AVFrame*)">
|
|
Set the fields of the given AVFrame to default values.
|
|
|
|
@param pic The AVFrame of which the fields should be set to default values.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_copy_context(libffmpeg.AVCodecContext*,libffmpeg.AVCodecContext!System.Runtime.CompilerServices.IsConst*)">
|
|
Copy the settings of the source AVCodecContext into the destination
|
|
AVCodecContext. The resulting destination codec context will be
|
|
unopened, i.e. you are required to call avcodec_open() before you
|
|
can use this AVCodecContext to decode/encode video/audio data.
|
|
|
|
@param dest target codec context, should be initialized with
|
|
avcodec_alloc_context(), but otherwise uninitialized
|
|
@param src source codec context
|
|
@return AVERROR() on error (e.g. memory allocation error), 0 on success
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_alloc_context3(libffmpeg.AVCodec*)">
|
|
THIS FUNCTION IS NOT YET PART OF THE PUBLIC API!
|
|
* we WILL change its arguments and name a few times!
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_alloc_context2(libffmpeg.AVMediaType)">
|
|
THIS FUNCTION IS NOT YET PART OF THE PUBLIC API!
|
|
* we WILL change its arguments and name a few times!
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_alloc_context">
|
|
Allocate an AVCodecContext and set its fields to default values. The
|
|
resulting struct can be deallocated by simply calling av_free().
|
|
|
|
@return An AVCodecContext filled with default values or NULL on failure.
|
|
@see avcodec_get_context_defaults
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_get_context_defaults3(libffmpeg.AVCodecContext*,libffmpeg.AVCodec*)">
|
|
THIS FUNCTION IS NOT YET PART OF THE PUBLIC API!
|
|
* we WILL change its arguments and name a few times!
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_get_context_defaults2(libffmpeg.AVCodecContext*,libffmpeg.AVMediaType)">
|
|
THIS FUNCTION IS NOT YET PART OF THE PUBLIC API!
|
|
* we WILL change its arguments and name a few times!
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_get_context_defaults(libffmpeg.AVCodecContext*)">
|
|
Set the fields of the given AVCodecContext to default values.
|
|
|
|
@param s The AVCodecContext of which the fields should be set to default values.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_profile_name(libffmpeg.AVCodec!System.Runtime.CompilerServices.IsConst*,System.Int32)">
|
|
Return a name for the specified profile, if available.
|
|
|
|
@param codec the codec that is searched for the given profile
|
|
@param profile the profile value for which a name is requested
|
|
@return A name for the profile if found, NULL otherwise.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_find_decoder_by_name(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Find a registered decoder with the specified name.
|
|
|
|
@param name name of the requested decoder
|
|
@return A decoder if one was found, NULL otherwise.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_find_decoder(libffmpeg.CodecID)">
|
|
Find a registered decoder with a matching codec ID.
|
|
|
|
@param id CodecID of the requested decoder
|
|
@return A decoder if one was found, NULL otherwise.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_find_encoder_by_name(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Find a registered encoder with the specified name.
|
|
|
|
@param name name of the requested encoder
|
|
@return An encoder if one was found, NULL otherwise.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_find_encoder(libffmpeg.CodecID)">
|
|
Find a registered encoder with a matching codec ID.
|
|
|
|
@param id CodecID of the requested encoder
|
|
@return An encoder if one was found, NULL otherwise.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_register(libffmpeg.AVCodec*)">
|
|
Register the codec codec and initialize libavcodec.
|
|
|
|
@see avcodec_init(), avcodec_register_all()
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.register_avcodec(libffmpeg.AVCodec*)">
|
|
@deprecated Deprecated in favor of avcodec_register().
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_init">
|
|
Initialize libavcodec.
|
|
If called more than once, does nothing.
|
|
|
|
@warning This function must be called before any other libavcodec
|
|
function.
|
|
|
|
@warning This function is not thread-safe.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_license">
|
|
Return the libavcodec license.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_configuration">
|
|
Return the libavcodec build-time configuration.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_version">
|
|
Return the LIBAVCODEC_VERSION_INT constant.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_codec_next(libffmpeg.AVCodec*)">
|
|
If c is NULL, returns the first registered codec,
|
|
if c is non-NULL, returns the next registered codec after c,
|
|
or NULL if c is the last one.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.img_get_alpha_info(libffmpeg.AVPicture!System.Runtime.CompilerServices.IsConst*,libffmpeg.PixelFormat,System.Int32,System.Int32)">
|
|
Tell if an image really has transparent alpha values.
|
|
@return ored mask of FF_ALPHA_xxx constants
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_pix_fmt_string(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32,libffmpeg.PixelFormat)">
|
|
@deprecated Use av_get_pix_fmt_string() instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_get_pix_fmt_loss(libffmpeg.PixelFormat,libffmpeg.PixelFormat,System.Int32)">
|
|
Compute what kind of losses will occur when converting from one specific
|
|
pixel format to another.
|
|
When converting from one pixel format to another, information loss may occur.
|
|
For example, when converting from RGB24 to GRAY, the color information will
|
|
be lost. Similarly, other losses occur when converting from some formats to
|
|
other formats. These losses can involve loss of chroma, but also loss of
|
|
resolution, loss of color depth, loss due to the color space conversion, loss
|
|
of the alpha bits or loss due to color quantization.
|
|
avcodec_get_fix_fmt_loss() informs you about the various types of losses
|
|
which will occur when converting from one pixel format to another.
|
|
|
|
@param[in] dst_pix_fmt destination pixel format
|
|
@param[in] src_pix_fmt source pixel format
|
|
@param[in] has_alpha Whether the source pixel format alpha channel is used.
|
|
@return Combination of flags informing you what kind of losses will occur.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_codec_tag_string(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.UInt32,System.UInt32)">
|
|
Put a string representing the codec tag codec_tag in buf.
|
|
|
|
@param buf_size size in bytes of buf
|
|
@return the length of the string that would have been generated if
|
|
enough space had been available, excluding the trailing null
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_pix_fmt_to_codec_tag(libffmpeg.PixelFormat)">
|
|
Return a value representing the fourCC code associated to the
|
|
pixel format pix_fmt, or 0 if no associated fourCC code can be
|
|
found.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avcodec_get_pix_fmt_name(libffmpeg.PixelFormat)">
|
|
Return the short name for a pixel format.
|
|
|
|
\see av_get_pix_fmt(), av_get_pix_fmt_string().
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avpicture_get_size(libffmpeg.PixelFormat,System.Int32,System.Int32)">
|
|
Calculate the size in bytes that a picture of the given width and height
|
|
would occupy if stored in the given picture format.
|
|
Note that this returns the size of a compact representation as generated
|
|
by avpicture_layout(), which can be smaller than the size required for e.g.
|
|
avpicture_fill().
|
|
|
|
@param pix_fmt the given picture format
|
|
@param width the width of the image
|
|
@param height the height of the image
|
|
@return Image data size in bytes or -1 on error (e.g. too large dimensions).
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avpicture_layout(libffmpeg.AVPicture!System.Runtime.CompilerServices.IsConst*,libffmpeg.PixelFormat,System.Int32,System.Int32,System.Byte*,System.Int32)">
|
|
Copy pixel data from an AVPicture into a buffer.
|
|
The data is stored compactly, without any gaps for alignment or padding
|
|
which may be applied by avpicture_fill().
|
|
|
|
\see avpicture_get_size()
|
|
|
|
@param[in] src AVPicture containing image data
|
|
@param[in] pix_fmt The format in which the picture data is stored.
|
|
@param[in] width the width of the image in pixels.
|
|
@param[in] height the height of the image in pixels.
|
|
@param[out] dest A buffer into which picture data will be copied.
|
|
@param[in] dest_size The size of 'dest'.
|
|
@return The number of bytes written to dest, or a negative value (error code) on error.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avpicture_fill(libffmpeg.AVPicture*,System.Byte*,libffmpeg.PixelFormat,System.Int32,System.Int32)">
|
|
Fill in the AVPicture fields.
|
|
The fields of the given AVPicture are filled in by using the 'ptr' address
|
|
which points to the image data buffer. Depending on the specified picture
|
|
format, one or multiple image data pointers and line sizes will be set.
|
|
If a planar format is specified, several pointers will be set pointing to
|
|
the different picture planes and the line sizes of the different planes
|
|
will be stored in the lines_sizes array.
|
|
Call with ptr == NULL to get the required size for the ptr buffer.
|
|
|
|
To allocate the buffer and fill in the AVPicture fields in one call,
|
|
use avpicture_alloc().
|
|
|
|
@param picture AVPicture whose fields are to be filled in
|
|
@param ptr Buffer which will contain or contains the actual image data
|
|
@param pix_fmt The format in which the picture data is stored.
|
|
@param width the width of the image in pixels
|
|
@param height the height of the image in pixels
|
|
@return size of the image data in bytes
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avpicture_free(libffmpeg.AVPicture*)">
|
|
Free a picture previously allocated by avpicture_alloc().
|
|
The data buffer used by the AVPicture is freed, but the AVPicture structure
|
|
itself is not.
|
|
|
|
@param picture the AVPicture to be freed
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avpicture_alloc(libffmpeg.AVPicture*,libffmpeg.PixelFormat,System.Int32,System.Int32)">
|
|
Allocate memory for a picture. Call avpicture_free() to free it.
|
|
|
|
\see avpicture_fill()
|
|
|
|
@param picture the picture to be filled in
|
|
@param pix_fmt the format of the picture
|
|
@param width the width of the picture
|
|
@param height the height of the picture
|
|
@return zero if successful, a negative value if not
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_resample_compensate(libffmpeg.AVResampleContext*,System.Int32,System.Int32)">
|
|
Compensate samplerate/timestamp drift. The compensation is done by changing
|
|
the resampler parameters, so no audible clicks or similar distortions occur
|
|
@param compensation_distance distance in output samples over which the compensation should be performed
|
|
@param sample_delta number of output samples which should be output less
|
|
|
|
example: av_resample_compensate(c, 10, 500)
|
|
here instead of 510 samples only 500 samples would be output
|
|
|
|
note, due to rounding the actual compensation might be slightly different,
|
|
especially if the compensation_distance is large and the in_rate used during init is small
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_resample(libffmpeg.AVResampleContext*,System.Int16*,System.Int16*,System.Int32*,System.Int32,System.Int32,System.Int32)">
|
|
Resample an array of samples using a previously configured context.
|
|
@param src an array of unconsumed samples
|
|
@param consumed the number of samples of src which have been consumed are returned here
|
|
@param src_size the number of unconsumed samples available
|
|
@param dst_size the amount of space in samples available in dst
|
|
@param update_ctx If this is 0 then the context will not be modified, that way several channels can be resampled with the same context.
|
|
@return the number of samples written in dst or -1 if an error occurred
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVResampleContext">
|
|
* Initialize an audio resampler.
|
|
* Note, if either rate is not an integer then simply scale both rates up so they are.
|
|
* @param filter_length length of each FIR filter in the filterbank relative to the cutoff freq
|
|
* @param log2_phase_count log2 of the number of entries in the polyphase filterbank
|
|
* @param linear If 1 then the used FIR filter will be linearly interpolated
|
|
between the 2 closest, if 0 the closest will be used
|
|
* @param cutoff cutoff frequency, 1.0 corresponds to half the output sampling rate
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.audio_resample_close(libffmpeg.ReSampleContext*)">
|
|
Free resample context.
|
|
|
|
@param s a non-NULL pointer to a resample context previously
|
|
created with av_audio_resample_init()
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_audio_resample_init(System.Int32,System.Int32,System.Int32,System.Int32,libffmpeg.AVSampleFormat,libffmpeg.AVSampleFormat,System.Int32,System.Int32,System.Int32,System.Double)">
|
|
* Initialize audio resampling context.
|
|
*
|
|
* @param output_channels number of output channels
|
|
* @param input_channels number of input channels
|
|
* @param output_rate output sample rate
|
|
* @param input_rate input sample rate
|
|
* @param sample_fmt_out requested output sample format
|
|
* @param sample_fmt_in input sample format
|
|
* @param filter_length length of each FIR filter in the filterbank relative to the cutoff frequency
|
|
* @param log2_phase_count log2 of the number of entries in the polyphase filterbank
|
|
* @param linear if 1 then the used FIR filter will be linearly interpolated
|
|
between the 2 closest, if 0 the closest will be used
|
|
* @param cutoff cutoff frequency, 1.0 corresponds to half the output sampling rate
|
|
* @return allocated ReSampleContext, NULL if error occured
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.audio_resample_init(System.Int32,System.Int32,System.Int32,System.Int32)">
|
|
@deprecated Use av_audio_resample_init() instead.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_packet_get_side_data(libffmpeg.AVPacket*,libffmpeg.AVPacketSideDataType,System.Int32*)">
|
|
Get side information from packet.
|
|
|
|
@param pkt packet
|
|
@param type desired side information type
|
|
@param size pointer for side information size to store (optional)
|
|
@return pointer to data if present or NULL otherwise
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_packet_new_side_data(libffmpeg.AVPacket*,libffmpeg.AVPacketSideDataType,System.Int32)">
|
|
Allocate new information of a packet.
|
|
|
|
@param pkt packet
|
|
@param type side information type
|
|
@param size side information size
|
|
@return pointer to fresh allocated data or NULL otherwise
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_free_packet(libffmpeg.AVPacket*)">
|
|
Free a packet.
|
|
|
|
@param pkt packet to free
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_dup_packet(libffmpeg.AVPacket*)">
|
|
@warning This is a hack - the packet memory allocation stuff is broken. The
|
|
packet is allocated if it was not really allocated.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_grow_packet(libffmpeg.AVPacket*,System.Int32)">
|
|
Increase packet size, correctly zeroing padding
|
|
|
|
@param pkt packet
|
|
@param grow_by number of bytes by which to increase the size of the packet
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_shrink_packet(libffmpeg.AVPacket*,System.Int32)">
|
|
Reduce packet size, correctly zeroing padding
|
|
|
|
@param pkt packet
|
|
@param size new size
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_new_packet(libffmpeg.AVPacket*,System.Int32)">
|
|
Allocate the payload of a packet and initialize its fields with
|
|
default values.
|
|
|
|
@param pkt packet
|
|
@param size wanted payload size
|
|
@return 0 if OK, AVERROR_xxx otherwise
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_init_packet(libffmpeg.AVPacket*)">
|
|
Initialize optional fields of a packet with default values.
|
|
|
|
@param pkt packet
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_destruct_packet(libffmpeg.AVPacket*)">
|
|
Default packet destructor.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_destruct_packet_nofree(libffmpeg.AVPacket*)">
|
|
@deprecated use NULL instead
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVSubtitleRect.ass">
|
|
0 terminated ASS/SSA compatible event line.
|
|
The pressentation of this is unaffected by the other values in this
|
|
struct.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVSubtitleRect.pict">
|
|
data+linesize for the bitmap of this subtitle.
|
|
can be set for text/ass as well once they where rendered
|
|
|
|
</member>
|
|
<member name="F:SUBTITLE_ASS">
|
|
Formatted text, the ass field must be set by the decoder and is
|
|
authoritative. pict and text fields may contain approximations.
|
|
|
|
</member>
|
|
<member name="F:SUBTITLE_TEXT">
|
|
Plain text, the text field must be set by the decoder and is
|
|
authoritative. ass and pict fields may contain approximations.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVPicture">
|
|
four components are given, that's all.
|
|
the last component is alpha
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVHWAccel.priv_data_size">
|
|
Size of HW accelerator private data.
|
|
|
|
Private data is allocated with av_mallocz() before
|
|
AVCodecContext.get_buffer() and deallocated after
|
|
AVCodecContext.release_buffer().
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVHWAccel.end_frame">
|
|
Called at the end of each frame or field picture.
|
|
|
|
The whole picture is parsed at this point and can now be sent
|
|
to the hardware accelerator. This function is mandatory.
|
|
|
|
@param avctx the codec context
|
|
@return zero if successful, a negative value otherwise
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVHWAccel.decode_slice">
|
|
Callback for each slice.
|
|
|
|
Meaningful slice information (codec specific) is guaranteed to
|
|
be parsed at this point. This function is mandatory.
|
|
|
|
@param avctx the codec context
|
|
@param buf the slice data buffer base
|
|
@param buf_size the size of the slice in bytes
|
|
@return zero if successful, a negative value otherwise
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVHWAccel.start_frame">
|
|
Called at the beginning of each frame or field picture.
|
|
|
|
Meaningful frame information (codec specific) is guaranteed to
|
|
be parsed at this point. This function is mandatory.
|
|
|
|
Note that buf can be NULL along with buf_size set to 0.
|
|
Otherwise, this means the whole frame is available at this point.
|
|
|
|
@param avctx the codec context
|
|
@param buf the frame data buffer base
|
|
@param buf_size the size of the frame in bytes
|
|
@return zero if successful, a negative value otherwise
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVHWAccel.capabilities">
|
|
Hardware accelerated codec capabilities.
|
|
see FF_HWACCEL_CODEC_CAP_*
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVMediaType">
|
|
Type of codec implemented by the hardware accelerator.
|
|
|
|
See AVMEDIA_TYPE_xxx
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVHWAccel.name">
|
|
Name of the hardware accelerated codec.
|
|
The name is globally unique among encoders and among decoders (but an
|
|
encoder and a decoder can share the same name).
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodec.update_thread_context">
|
|
Copy necessary context variables from a previous thread context to the current one.
|
|
If not defined, the next thread will start automatically; otherwise, the codec
|
|
must call ff_thread_finish_setup().
|
|
|
|
dst and src will (rarely) point to the same context, in which case memcpy should be skipped.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodec.init_thread_copy">
|
|
@defgroup framethreading Frame-level threading support functions.
|
|
@{
|
|
|
|
If defined, called on thread contexts when they are created.
|
|
If the codec allocates writable tables in init(), re-allocate them here.
|
|
priv_data will be set to a copy of the original.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodec.long_name">
|
|
Descriptive name for the codec, meant to be more human readable than name.
|
|
You should use the NULL_IF_CONFIG_SMALL() macro to define it.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodec.flush">
|
|
Flush buffers.
|
|
Will be called when seeking
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodec.capabilities">
|
|
Codec capabilities.
|
|
see CODEC_CAP_*
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodec.name">
|
|
Name of the codec implementation.
|
|
The name is globally unique among encoders and among decoders (but an
|
|
encoder and a decoder can share the same name).
|
|
This is the primary way to find a codec from the user perspective.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVCodec">
|
|
AVCodec.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVProfile">
|
|
AVProfile.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.pts_correction_num_faulty_pts">
|
|
Current statistics for PTS correction.
|
|
- decoding: maintained and used by libavcodec, not intended to be used by user apps
|
|
- encoding: unused
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVAudioServiceType">
|
|
Type of service that the audio stream conveys.
|
|
- encoding: Set by user.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.vbv_delay">
|
|
VBV delay coded in the last frame (in periods of a 27 MHz clock).
|
|
Used for compliant TS muxing.
|
|
- encoding: Set by libavcodec.
|
|
- decoding: unused.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.thread_safe_callbacks">
|
|
Set by the client if its custom get_buffer() callback can be called
|
|
from another thread, which allows faster multithreaded decoding.
|
|
draw_horiz_band() will be called from other threads regardless of this setting.
|
|
Ignored if the default get_buffer() is used.
|
|
- encoding: Set by user.
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.active_thread_type">
|
|
Which multithreading methods are in use by the codec.
|
|
- encoding: Set by libavcodec.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.thread_type">
|
|
Which multithreading methods to use.
|
|
Use of FF_THREAD_FRAME will increase decoding delay by one frame per thread,
|
|
so clients which cannot provide future frames should not use it.
|
|
|
|
- encoding: Set by user, otherwise the default is used.
|
|
- decoding: Set by user, otherwise the default is used.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.is_copy">
|
|
Whether this is a copy of the context which had init() called on it.
|
|
This is used by multithreading - shared tables and picture pointers
|
|
should be freed from the original context only.
|
|
- encoding: Set by libavcodec.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.pkt">
|
|
Current packet as passed into the decoder, to avoid having
|
|
to pass the packet into every function. Currently only valid
|
|
inside lavc and get/release_buffer callbacks.
|
|
- decoding: set by avcodec_decode_*, read by get_buffer() for setting pkt_pts
|
|
- encoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.subtitle_header">
|
|
Header containing style information for text subtitles.
|
|
For SUBTITLE_ASS subtitle type, it should contain the whole ASS
|
|
[Script Info] and [V4+ Styles] section, plus the [Events] line and
|
|
the Format line following. It shouldn't include any Dialogue line.
|
|
- encoding: Set/allocated/freed by user (before avcodec_open())
|
|
- decoding: Set/allocated/freed by libavcodec (by avcodec_open())
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.slices">
|
|
Number of slices.
|
|
Indicates number of picture subdivisions. Used for parallelized
|
|
decoding.
|
|
- encoding: Set by user
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.lpc_passes">
|
|
Number of passes to use for Cholesky factorization during LPC analysis
|
|
- encoding: Set by user
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.crf_max">
|
|
Constant rate factor maximum
|
|
With CRF encoding mode and VBV restrictions enabled, prevents quality from being worse
|
|
than crf_max, even if doing so would violate VBV restrictions.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.rc_lookahead">
|
|
RC lookahead
|
|
Number of frames for frametype and ratecontrol lookahead
|
|
- encoding: Set by user
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.psy_trellis">
|
|
PSY trellis
|
|
Strength of psychovisual optimization
|
|
- encoding: Set by user
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.psy_rd">
|
|
PSY RD
|
|
Strength of psychovisual optimization
|
|
- encoding: Set by user
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.aq_strength">
|
|
AQ strength
|
|
Reduces blocking and blurring in flat and textured areas.
|
|
- encoding: Set by user
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.aq_mode">
|
|
AQ mode
|
|
0: Disabled
|
|
1: Variance AQ (complexity mask)
|
|
2: Auto-variance AQ (experimental)
|
|
- encoding: Set by user
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.weighted_p_pred">
|
|
explicit P-frame weighted prediction analysis method
|
|
0: off
|
|
1: fast blind weighting (one reference duplicate with -1 offset)
|
|
2: smart weighting (full fade detection analysis)
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVColorRange">
|
|
MPEG vs JPEG YUV range.
|
|
- encoding: Set by user
|
|
- decoding: Set by libavcodec
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVColorSpace">
|
|
YUV colorspace type.
|
|
- encoding: Set by user
|
|
- decoding: Set by libavcodec
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVColorTransferCharacteristic">
|
|
Color Transfer Characteristic.
|
|
- encoding: Set by user
|
|
- decoding: Set by libavcodec
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVColorPrimaries">
|
|
Chromaticity coordinates of the source primaries.
|
|
- encoding: Set by user
|
|
- decoding: Set by libavcodec
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.hwaccel_context">
|
|
Hardware accelerator context.
|
|
For some hardware accelerators, a global context needs to be
|
|
provided by the user. In that case, this holds display-dependent
|
|
data FFmpeg cannot instantiate itself. Please refer to the
|
|
FFmpeg HW accelerator documentation to know how to fill this
|
|
is. e.g. for VA API, this is a struct vaapi_context.
|
|
- encoding: unused
|
|
- decoding: Set by user
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.ticks_per_frame">
|
|
For some codecs, the time base is closer to the field rate than the frame rate.
|
|
Most notably, H.264 and MPEG-2 specify time_base as half of frame duration
|
|
if no telecine is used ...
|
|
|
|
Set to time_base ticks per frame. Default 1, e.g., H.264/MPEG-2 set it to 2.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVHWAccel">
|
|
Hardware accelerator in use
|
|
- encoding: unused.
|
|
- decoding: Set by libavcodec
|
|
|
|
|
|
AVHWAccel.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.request_channel_layout">
|
|
Request decoder to use this channel layout if it can (0 for default)
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.channel_layout">
|
|
Audio channel layout.
|
|
- encoding: set by user.
|
|
- decoding: set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.bits_per_raw_sample">
|
|
Bits per sample/pixel of internal libavcodec pixel/sample format.
|
|
This field is applicable only when sample_fmt is AV_SAMPLE_FMT_S32.
|
|
- encoding: set by user.
|
|
- decoding: set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.reordered_opaque">
|
|
opaque 64bit number (generally a PTS) that will be reordered and
|
|
output in AVFrame.reordered_opaque
|
|
@deprecated in favor of pkt_pts
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.drc_scale">
|
|
Percentage of dynamic range compression to be applied by the decoder.
|
|
The default value is 1.0, corresponding to full compression.
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.request_channels">
|
|
Decoder should decode to this many channels if it can (0 for default)
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
@deprecated Deprecated in favor of request_channel_layout.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.timecode_frame_start">
|
|
GOP timecode frame start number, in non drop frame format
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.max_partition_order">
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.min_partition_order">
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.prediction_order_method">
|
|
search method for selecting prediction order
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.max_prediction_order">
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.min_prediction_order">
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.lpc_coeff_precision">
|
|
LPC coefficient precision - used by FLAC encoder
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.use_lpc">
|
|
Sets whether to use LPC mode - used by FLAC encoder.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
@deprecated Deprecated in favor of lpc_type and lpc_passes.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.compression_level">
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.b_sensitivity">
|
|
Adjusts sensitivity of b_frame_strategy 1.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.mv0_threshold">
|
|
|
|
Note: Value depends upon the compare function used for fullpel ME.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.scenechange_factor">
|
|
Multiplied by qscale for each frame and added to scene_change_score.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.cutoff">
|
|
Audio cutoff bandwidth (0 means "automatic")
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.directpred">
|
|
direct MV prediction mode - 0 (none), 1 (spatial), 2 (temporal), 3 (auto)
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.partitions">
|
|
macroblock subpartition sizes to consider - p8x8, p4x4, b8x8, i8x8, i4x4
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.deblockbeta">
|
|
in-loop deblocking filter beta parameter
|
|
beta is in the range -6...6
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.deblockalpha">
|
|
in-loop deblocking filter alphac0 parameter
|
|
alpha is in the range -6...6
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.complexityblur">
|
|
Reduce fluctuations in qp (before curve compression).
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.trellis">
|
|
trellis RD quantization
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.bframebias">
|
|
Influences how often B-frames are used.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.chromaoffset">
|
|
chroma qp offset from luma
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.refs">
|
|
number of reference frames
|
|
- encoding: Set by user.
|
|
- decoding: Set by lavc.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.keyint_min">
|
|
minimum GOP size
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.cqp">
|
|
constant quantization parameter rate control method
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.crf">
|
|
constant rate factor - quality-based VBR - values ~correspond to qps
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.brd_scale">
|
|
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.bidir_refine">
|
|
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVDiscard">
|
|
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
|
|
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
|
|
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.me_penalty_compensation">
|
|
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.mb_lmax">
|
|
maximum MB lagrange multipler
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.mb_lmin">
|
|
minimum MB lagrange multipler
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.border_masking">
|
|
Border processing masking, raises the quantizer for mbs on the borders
|
|
of the picture.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.frame_skip_cmp">
|
|
frame skip comparison function
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.frame_skip_exp">
|
|
frame skip exponent
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.frame_skip_factor">
|
|
frame skip factor
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.frame_skip_threshold">
|
|
frame skip threshold
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.coded_width">
|
|
Bitstream width / height, may be different from width/height if lowres
|
|
or other things are used.
|
|
- encoding: unused
|
|
- decoding: Set by user before init if known. Codec should override / dynamically change if needed.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.lowres">
|
|
low resolution decoding, 1-> 1/2 size, 2->1/4 size
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.level">
|
|
level
|
|
- encoding: Set by user.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.profile">
|
|
profile
|
|
- encoding: Set by user.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.skip_bottom">
|
|
Number of macroblock rows at the bottom which are skipped.
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.skip_top">
|
|
Number of macroblock rows at the top which are skipped.
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.nsse_weight">
|
|
noise vs. sse weight for the nsse comparsion function
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.intra_dc_precision">
|
|
precision of the intra DC coefficient - 8
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.mb_threshold">
|
|
Macroblock threshold below which the user specified macroblock types will be used.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.me_threshold">
|
|
Motion estimation threshold below which no motion estimation is
|
|
performed, but instead the user specified motion vectors are used.
|
|
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.thread_opaque">
|
|
thread opaque
|
|
Can be used by execute() to store some per AVCodecContext stuff.
|
|
- encoding: set by execute()
|
|
- decoding: set by execute()
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.execute">
|
|
The codec may call this to execute several independent things.
|
|
It will return only after finishing all tasks.
|
|
The user may replace this with some multithreaded implementation,
|
|
the default implementation will execute the parts serially.
|
|
@param count the number of things to execute
|
|
- encoding: Set by libavcodec, user can override.
|
|
- decoding: Set by libavcodec, user can override.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.thread_count">
|
|
thread count
|
|
is used to decide how many independent tasks should be passed to execute()
|
|
- encoding: Set by user.
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.quantizer_noise_shaping">
|
|
quantizer noise shaping
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.antialias_algo">
|
|
MP3 antialias algorithm, see FF_AA_* below.
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.error_rate">
|
|
Simulates errors in the bitstream to test error concealment.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.flags2">
|
|
CODEC_FLAG2_*
|
|
- encoding: Set by user.
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.inter_threshold">
|
|
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.rc_initial_buffer_occupancy">
|
|
Number of bits which should be loaded into the rc buffer before decoding starts.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.reget_buffer">
|
|
Called at the beginning of a frame to get cr buffer for it.
|
|
Buffer type (size, hints) must be the same. libavcodec won't check it.
|
|
libavcodec will pass previous buffer in pic, function should return
|
|
same buffer or new buffer with old frame "painted" into it.
|
|
If pic.data[0] == NULL must behave like get_buffer().
|
|
if CODEC_CAP_DR1 is not set then reget_buffer() must call
|
|
avcodec_default_reget_buffer() instead of providing buffers allocated by
|
|
some other means.
|
|
- encoding: unused
|
|
- decoding: Set by libavcodec, user can override.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.noise_reduction">
|
|
noise reduction strength
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVPaletteControl">
|
|
palette control structure
|
|
- encoding: ??? (no palette-enabled encoder yet)
|
|
- decoding: Set by user.
|
|
|
|
|
|
AVPaletteControl
|
|
This structure defines a method for communicating palette changes
|
|
between and demuxer and a decoder.
|
|
|
|
@deprecated Use AVPacket to send palette changes instead.
|
|
This is totally broken.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.lmax">
|
|
maximum Lagrange multipler
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.lmin">
|
|
minimum Lagrange multipler
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.scenechange_threshold">
|
|
scene change detection threshold
|
|
0 is default, larger means fewer detected scene changes.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.inter_matrix">
|
|
custom inter quantization matrix
|
|
- encoding: Set by user, can be NULL.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.intra_matrix">
|
|
custom intra quantization matrix
|
|
- encoding: Set by user, can be NULL.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.mb_decision">
|
|
macroblock decision mode
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.xvmc_acceleration">
|
|
XVideo Motion Acceleration
|
|
- encoding: forbidden
|
|
- decoding: set by decoder
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.slice_flags">
|
|
slice flags
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.context_model">
|
|
context model
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.coder_type">
|
|
coder type
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.global_quality">
|
|
Global quality for codecs which cannot change it per frame.
|
|
This should be proportional to MPEG-1/2/4 qscale.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.internal_buffer">
|
|
internal_buffers
|
|
Don't touch, used by libavcodec default_get_buffer().
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.internal_buffer_count">
|
|
internal_buffer count
|
|
Don't touch, used by libavcodec default_get_buffer().
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.color_table_id">
|
|
color table ID
|
|
- encoding: unused
|
|
- decoding: Which clrtable should be used for 8bit RGB images.
|
|
Tables have to be stored somewhere. FIXME
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.inter_quant_bias">
|
|
inter quantizer bias
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.intra_quant_bias">
|
|
intra quantizer bias
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.me_range">
|
|
maximum motion estimation search range in subpel units
|
|
If 0 then no limit.
|
|
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.dtg_active_format">
|
|
DTG active format information (additional aspect ratio
|
|
information only used in DVB MPEG-2 transport streams)
|
|
0 if not set.
|
|
|
|
- encoding: unused
|
|
- decoding: Set by decoder.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.me_subpel_quality">
|
|
subpel ME quality
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.me_pre_cmp">
|
|
motion estimation prepass comparison function
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.pre_me">
|
|
prepass for motion estimation
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.last_predictor_count">
|
|
amount of previous MV predictors (2a+1 x 2a+1 square)
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.ildct_cmp">
|
|
interlaced DCT comparison function
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.mb_cmp">
|
|
macroblock comparison function (not supported yet)
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.me_sub_cmp">
|
|
subpixel motion estimation comparison function
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.me_cmp">
|
|
motion estimation comparison function
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.mb_qmax">
|
|
maximum MB quantizer
|
|
- encoding: unused
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.mb_qmin">
|
|
minimum MB quantizer
|
|
- encoding: unused
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.debug_mv">
|
|
debug
|
|
- encoding: Set by user.
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.debug">
|
|
debug
|
|
- encoding: Set by user.
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.coded_frame">
|
|
the picture in the bitstream
|
|
- encoding: Set by libavcodec.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.sample_aspect_ratio">
|
|
sample aspect ratio (0 if unknown)
|
|
That is the width of a pixel divided by the height of the pixel.
|
|
Numerator and denominator must be relatively prime and smaller than 256 for some video standards.
|
|
- encoding: Set by user.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.prediction_method">
|
|
prediction method (needed for huffyuv)
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.bits_per_coded_sample">
|
|
bits per sample/pixel from the demuxer (needed for huffyuv).
|
|
- encoding: Set by libavcodec.
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.dsp_mask">
|
|
dsp_mask could be add used to disable unwanted CPU features
|
|
CPU features (i.e. MMX, SSE. ...)
|
|
|
|
With the FORCE flag you may instead enable given CPU features.
|
|
(Dangerous: Usable in case of misdetection, improper usage however will
|
|
result into program crash.)
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.error_concealment">
|
|
error concealment flags
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.slice_offset">
|
|
slice offsets in the frame in bytes
|
|
- encoding: Set/allocated by libavcodec.
|
|
- decoding: Set/allocated by user (or NULL).
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.slice_count">
|
|
slice count
|
|
- encoding: Set by libavcodec.
|
|
- decoding: Set by user (or 0).
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.idct_algo">
|
|
IDCT algorithm, see FF_IDCT_* below.
|
|
- encoding: Set by user.
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.dark_masking">
|
|
darkness masking (0-> disabled)
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.p_masking">
|
|
p block masking (0-> disabled)
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.spatial_cplx_masking">
|
|
spatial complexity masking (0-> disabled)
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.temporal_cplx_masking">
|
|
temporary complexity masking (0-> disabled)
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.lumi_masking">
|
|
luminance masking (0-> disabled)
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.dct_algo">
|
|
DCT algorithm, see FF_DCT_* below
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.rc_initial_cplx">
|
|
initial complexity for pass1 ratecontrol
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.i_quant_offset">
|
|
qscale offset between P and I-frames
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.rc_buffer_size">
|
|
decoder bitstream buffer size
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.rc_min_rate">
|
|
minimum bitrate
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.rc_max_rate">
|
|
maximum bitrate
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.rc_eq">
|
|
rate control equation
|
|
- encoding: Set by user
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.rc_override">
|
|
ratecontrol override, see RcOverride
|
|
- encoding: Allocated/set/freed by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.rc_qsquish">
|
|
ratecontrol qmin qmax limiting method
|
|
0-> clipping, 1-> use a nice continous function to limit qscale wthin qmin/qmax.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.stats_in">
|
|
pass2 encoding statistics input buffer
|
|
Concatenated stuff from stats_out of pass1 should be placed here.
|
|
- encoding: Allocated/set/freed by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.stats_out">
|
|
pass1 encoding statistics output buffer
|
|
- encoding: Set by libavcodec.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.mpeg_quant">
|
|
0-> h263 quant 1-> mpeg quant
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.block_align">
|
|
number of bytes per packet if constant and known or 0
|
|
Used by some WAV based audio codecs.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.has_b_frames">
|
|
Size of the frame reordering buffer in the decoder.
|
|
For MPEG-2 it is 1 IPB or 0 low delay IP.
|
|
- encoding: Set by libavcodec.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.release_buffer">
|
|
Called to release buffers which were allocated with get_buffer.
|
|
A released buffer can be reused in get_buffer().
|
|
pic.data[*] must be set to NULL.
|
|
May be called from a different thread if frame multithreading is used,
|
|
but not by more than one thread at once, so does not need to be reentrant.
|
|
- encoding: unused
|
|
- decoding: Set by libavcodec, user can override.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.get_buffer">
|
|
Called at the beginning of each frame to get a buffer for it.
|
|
If pic.reference is set then the frame will be read later by libavcodec.
|
|
avcodec_align_dimensions2() should be used to find the required width and
|
|
height, as they normally need to be rounded up to the next multiple of 16.
|
|
if CODEC_CAP_DR1 is not set then get_buffer() must call
|
|
avcodec_default_get_buffer() instead of providing buffers allocated by
|
|
some other means.
|
|
If frame multithreading is used and thread_safe_callbacks is set,
|
|
it may be called from a different thread, but not from more than one at once.
|
|
Does not need to be reentrant.
|
|
- encoding: unused
|
|
- decoding: Set by libavcodec, user can override.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.error_recognition">
|
|
Error recognization; higher values will detect more errors but may
|
|
misdetect some more or less valid parts as errors.
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.b_quant_offset">
|
|
qscale offset between IP and B-frames
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.strict_std_compliance">
|
|
strictly follow the standard (MPEG4, ...).
|
|
- encoding: Set by user.
|
|
- decoding: Set by user.
|
|
Setting this to STRICT or higher means the encoder and decoder will
|
|
generally do stupid things, whereas setting it to unofficial or lower
|
|
will mean the encoder might produce output that is not supported by all
|
|
spec-compliant decoders. Decoders don't differentiate between normal,
|
|
unofficial and experimental (that is, they always try to decode things
|
|
when they can) unless they are explicitly asked to behave stupidly
|
|
(=strictly conform to the specs)
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.chroma_elim_threshold">
|
|
chroma single coeff elimination threshold
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.luma_elim_threshold">
|
|
luma single coefficient elimination threshold
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.workaround_bugs">
|
|
Work around bugs in encoders which sometimes cannot be detected automatically.
|
|
- encoding: Set by user
|
|
- decoding: Set by user
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.opaque">
|
|
Private data of the user, can be used to carry app specific stuff.
|
|
- encoding: Set by user.
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.frame_bits">
|
|
number of bits used for the previously encoded frame
|
|
- encoding: Set by libavcodec.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.hurry_up">
|
|
hurry up amount
|
|
- encoding: unused
|
|
- decoding: Set by user. 1-> Skip B-frames, 2-> Skip IDCT/dequant too, 5-> Skip everything except header
|
|
@deprecated Deprecated in favor of skip_idct and skip_frame.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.rc_strategy">
|
|
obsolete FIXME remove
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.max_b_frames">
|
|
maximum number of B-frames between non-B-frames
|
|
Note: The output will be delayed by max_b_frames+1 relative to the input.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.max_qdiff">
|
|
maximum quantizer difference between frames
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.qmax">
|
|
maximum quantizer
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.qmin">
|
|
minimum quantizer
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.delay">
|
|
Number of frames the decoded output will be delayed relative to
|
|
the encoded input.
|
|
- encoding: Set by libavcodec.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.frame_size">
|
|
Samples per packet, initialized when calling 'init'.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.draw_horiz_band">
|
|
If non NULL, 'draw_horiz_band' is called by the libavcodec
|
|
decoder to draw a horizontal band. It improves cache usage. Not
|
|
all codecs can do that. You must check the codec capabilities
|
|
beforehand.
|
|
When multithreading is used, it may be called from multiple threads
|
|
at the same time; threads might draw different parts of the same AVFrame,
|
|
or multiple AVFrames, and there is no guarantee that slices will be drawn
|
|
in order.
|
|
The function is also used by hardware acceleration APIs.
|
|
It is called at least once during frame decoding to pass
|
|
the data needed for hardware render.
|
|
In that mode instead of pixel data, AVFrame points to
|
|
a structure specific to the acceleration API. The application
|
|
reads the structure and can change some fields to indicate progress
|
|
or mark state.
|
|
- encoding: unused
|
|
- decoding: Set by user.
|
|
@param height the height of the slice
|
|
@param y the y position of the slice
|
|
@param type 1->top field, 2->bottom field, 3->frame
|
|
@param offset offset into the AVFrame.data from which the slice should be read
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.rate_emu">
|
|
Frame rate emulation. If not zero, the lower layer (i.e. format handler)
|
|
has to read frames at native frame rate.
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.PixelFormat">
|
|
Pixel format, see PIX_FMT_xxx.
|
|
May be set by the demuxer if known from headers.
|
|
May be overriden by the decoder if it knows better.
|
|
- encoding: Set by user.
|
|
- decoding: Set by user if known, overridden by libavcodec if known
|
|
|
|
|
|
callback to negotiate the pixelFormat
|
|
@param fmt is the list of formats which are supported by the codec,
|
|
it is terminated by -1 as 0 is a valid format, the formats are ordered by quality.
|
|
The first is always the native one.
|
|
@return the chosen format
|
|
- encoding: unused
|
|
- decoding: Set by user, if not set the native format will be chosen.
|
|
|
|
|
|
Supported pixel format.
|
|
|
|
Only hardware accelerated formats are supported here.
|
|
|
|
|
|
Return the pixel format corresponding to the name name.
|
|
|
|
If there is no pixel format with name name, then look for a
|
|
pixel format with the name corresponding to the native endian
|
|
format of name.
|
|
For example in a little-endian system, first look for "gray16",
|
|
then for "gray16le".
|
|
|
|
Finally if no pixel format has been found, return PIX_FMT_NONE.
|
|
|
|
@deprecated Deprecated in favor of av_get_pix_fmt().
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.gop_size">
|
|
the number of pictures in a group of pictures, or 0 for intra_only
|
|
- encoding: Set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.width">
|
|
picture width / height.
|
|
- encoding: MUST be set by user.
|
|
- decoding: Set by libavcodec.
|
|
Note: For compatibility it is possible to set this instead of
|
|
coded_width/height before decoding.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.time_base">
|
|
This is the fundamental unit of time (in seconds) in terms
|
|
of which frame timestamps are represented. For fixed-fps content,
|
|
timebase should be 1/framerate and timestamp increments should be
|
|
identically 1.
|
|
- encoding: MUST be set by user.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.extradata">
|
|
some codecs need / can use extradata like Huffman tables.
|
|
mjpeg: Huffman tables
|
|
rv10: additional flags
|
|
mpeg4: global headers (they can be in the bitstream or here)
|
|
The allocated memory should be FF_INPUT_BUFFER_PADDING_SIZE bytes larger
|
|
than extradata_size to avoid prolems if it is read with the bitstream reader.
|
|
The bytewise contents of extradata must not depend on the architecture or CPU endianness.
|
|
- encoding: Set/allocated/freed by libavcodec.
|
|
- decoding: Set/allocated/freed by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.me_method">
|
|
Motion estimation algorithm used for video coding.
|
|
1 (zero), 2 (full), 3 (log), 4 (phods), 5 (epzs), 6 (x1), 7 (hex),
|
|
8 (umh), 9 (iter), 10 (tesa) [7, 8, 10 are x264 specific, 9 is snow specific]
|
|
- encoding: MUST be set by user.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.sub_id">
|
|
Some codecs need additional format info. It is stored here.
|
|
If any muxer uses this then ALL demuxers/parsers AND encoders for the
|
|
specific codec MUST set it correctly otherwise stream copy breaks.
|
|
In general use of this field by muxers is not recommanded.
|
|
- encoding: Set by libavcodec.
|
|
- decoding: Set by libavcodec. (FIXME: Is this OK?)
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.flags">
|
|
CODEC_FLAG_*.
|
|
- encoding: Set by user.
|
|
- decoding: Set by user.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.bit_rate_tolerance">
|
|
number of bits the bitstream is allowed to diverge from the reference.
|
|
the reference can be CBR (for CBR pass1) or VBR (for pass2)
|
|
- encoding: Set by user; unused for constant quantizer encoding.
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.bit_rate">
|
|
the average bitrate
|
|
- encoding: Set by user; unused for constant quantizer encoding.
|
|
- decoding: Set by libavcodec. 0 or some bitrate if this info is available in the stream.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVCodecContext.av_class">
|
|
information on struct for av_log
|
|
- set by avcodec_alloc_context
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVCodecContext">
|
|
main external API structure.
|
|
New fields can be added to the end with minor version bumps.
|
|
Removal, reordering and changes to existing fields require a major
|
|
version bump.
|
|
sizeof(AVCodecContext) must not be used outside libav*.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVFrame">
|
|
Audio Video Frame.
|
|
New fields can be added to the end of FF_COMMON_FRAME with minor version
|
|
bumps.
|
|
Removal, reordering and changes to existing fields require a major
|
|
version bump. No fields should be added into AVFrame before or after
|
|
FF_COMMON_FRAME!
|
|
sizeof(AVFrame) must not be used outside libav*.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVPacket.convergence_duration">
|
|
Time difference in AVStream->time_base units from the pts of this
|
|
packet to the point at which the output from the decoder has converged
|
|
independent from the availability of previous frames. That is, the
|
|
frames are virtually identical no matter if decoding started from
|
|
the very first frame or from this keyframe.
|
|
Is AV_NOPTS_VALUE if unknown.
|
|
This field is not the display duration of the current packet.
|
|
This field has no meaning if the packet does not have AV_PKT_FLAG_KEY
|
|
set.
|
|
|
|
The purpose of this field is to allow seeking in streams that have no
|
|
keyframes in the conventional sense. It corresponds to the
|
|
recovery point SEI in H.264 and match_time_delta in NUT. It is also
|
|
essential for some types of subtitle streams to ensure that all
|
|
subtitles are correctly displayed after seeking.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVPacket.duration">
|
|
Duration of this packet in AVStream->time_base units, 0 if unknown.
|
|
Equals next_pts - this_pts in presentation order.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVPacket.dts">
|
|
Decompression timestamp in AVStream->time_base units; the time at which
|
|
the packet is decompressed.
|
|
Can be AV_NOPTS_VALUE if it is not stored in the file.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVPacket.pts">
|
|
Presentation timestamp in AVStream->time_base units; the time at which
|
|
the decompressed packet will be presented to the user.
|
|
Can be AV_NOPTS_VALUE if it is not stored in the file.
|
|
pts MUST be larger or equal to dts as presentation cannot happen before
|
|
decompression, unless one wants to view hex dumps. Some formats misuse
|
|
the terms dts and pts/cts to mean something different. Such timestamps
|
|
must be converted to true pts/dts before they are stored in AVPacket.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVPanScan.position">
|
|
position of the top left corner in 1/16 pel for up to 3 fields/frames
|
|
- encoding: Set by user.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVPanScan.width">
|
|
width and height in 1/16 pel
|
|
- encoding: Set by user.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.AVPanScan.id">
|
|
id
|
|
- encoding: Set by user.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVPanScan">
|
|
The parent program guarantees that the input for B-frames containing
|
|
streams is not written to for at least s->max_b_frames+1 frames, if
|
|
this is not set the input will be copied.
|
|
|
|
Codec uses get_buffer() for allocating buffers and supports custom allocators.
|
|
If not set, it might not use get_buffer() at all or use operations that
|
|
assume the buffer was allocated by avcodec_default_get_buffer.
|
|
|
|
Codec has a nonzero delay and needs to be fed with NULL at the end to get the delayed data.
|
|
If this is not set, the codec is guaranteed to never be fed with NULL data.
|
|
|
|
Codec can be fed a final frame with a smaller size.
|
|
This can be used to prevent truncation of the last audio samples.
|
|
|
|
Codec can export data for HW decoding (VDPAU).
|
|
|
|
Codec can output multiple frames per AVPacket
|
|
Normally demuxers return one frame at a time, demuxers which do not do
|
|
are connected to a parser to split what they return into proper frames.
|
|
This flag is reserved to the very rare category of codecs which have a
|
|
bitstream that cannot be split into frames without timeconsuming
|
|
operations like full decoding. Demuxers carring such bitstreams thus
|
|
may return multiple frames in a packet. This has many disadvantages like
|
|
prohibiting stream copy in many cases thus it should only be considered
|
|
as a last resort.
|
|
|
|
Codec is experimental and is thus avoided in favor of non experimental
|
|
encoders
|
|
|
|
Codec should fill in channel configuration and samplerate instead of container
|
|
|
|
Codec is able to deal with negative linesizes
|
|
|
|
Codec supports frame-level multithreading.
|
|
|
|
Pan Scan area.
|
|
This specifies the area which should be displayed.
|
|
Note there may be multiple such areas for one frame.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVLPCType">
|
|
LPC analysis type
|
|
|
|
|
|
Determines which LPC analysis algorithm to use.
|
|
- encoding: Set by user
|
|
- decoding: unused
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVChromaLocation">
|
|
X X 3 4 X X are luma samples,
|
|
1 2 1-6 are possible chroma positions
|
|
X X 5 6 X 0 is undefined/unknown position
|
|
|
|
|
|
This defines the location of chroma samples.
|
|
- encoding: Set by user
|
|
- decoding: Set by libavcodec
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_channel_layout_nb_channels(System.Int64)">
|
|
Return the number of channels in the channel layout.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_channel_layout(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
@file
|
|
audio conversion routines
|
|
|
|
Channel mask value used for AVCodecContext.request_channel_layout
|
|
to indicate that the user requests the channel order of the decoder output
|
|
to be the native codec channel order.
|
|
Return a channel layout id that matches name, 0 if no match.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.CodecID">
|
|
Those FF_API_* defines are not part of public API.
|
|
They may change, break or disappear at any time.
|
|
|
|
Identify the syntax and semantics of the bitstream.
|
|
The principle is roughly:
|
|
Two decoders with the same ID can decode the same streams.
|
|
Two encoders with the same ID can encode compatible streams.
|
|
There may be slight deviations from the principle due to implementation
|
|
details.
|
|
|
|
If you add a codec ID to this list, add it so that
|
|
1. no value of a existing codec ID changes (that would break ABI),
|
|
2. it is as close as possible to similar codecs.
|
|
|
|
|
|
Codec implemented by the hardware accelerator.
|
|
|
|
See CODEC_ID_xxx
|
|
|
|
|
|
Forced video codec_id.
|
|
Demuxing: Set by user.
|
|
|
|
|
|
Forced audio codec_id.
|
|
Demuxing: Set by user.
|
|
|
|
|
|
Forced subtitle codec_id.
|
|
Demuxing: Set by user.
|
|
|
|
|
|
Guess the codec ID based upon muxer and filename.
|
|
|
|
|
|
Get the CodecID for the given codec tag tag.
|
|
If no codec id is found returns CODEC_ID_NONE.
|
|
|
|
@param tags list of supported codec_id-codec_tag pairs, as stored
|
|
in AVInputFormat.codec_tag and AVOutputFormat.codec_tag
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_cpu_flags">
|
|
Return the flags which specify extensions supported by the CPU.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_samples_fill_arrays(System.Byte**,System.Int32*,System.Byte*,System.Int32,System.Int32,libffmpeg.AVSampleFormat,System.Int32,System.Int32)">
|
|
Fill channel data pointers and linesizes for samples with sample
|
|
format sample_fmt.
|
|
|
|
The pointers array is filled with the pointers to the samples data:
|
|
data[c] points to the first sample of channel c.
|
|
data[c] + linesize[0] points to the second sample of channel c
|
|
|
|
@param pointers array to be filled with the pointer for each plane, may be NULL
|
|
@param linesizes array to be filled with the linesize, may be NULL
|
|
@param buf the pointer to a buffer containing the samples
|
|
@param nb_samples the number of samples in a single channel
|
|
@param planar 1 if the samples layout is planar, 0 if it is packed
|
|
@param nb_channels the number of channels
|
|
@return the total size of the buffer, a negative
|
|
error code in case of failure
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_bits_per_sample_fmt(libffmpeg.AVSampleFormat)">
|
|
Return sample format bits per sample.
|
|
|
|
@param sample_fmt the sample format
|
|
@return number of bits per sample or zero if unknown for the given
|
|
sample format
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_sample_fmt_string(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32,libffmpeg.AVSampleFormat)">
|
|
Generate a string corresponding to the sample format with
|
|
sample_fmt, or a header if sample_fmt is negative.
|
|
|
|
@param buf the buffer where to write the string
|
|
@param buf_size the size of buf
|
|
@param sample_fmt the number of the sample format to print the
|
|
corresponding info string, or a negative value to print the
|
|
corresponding header.
|
|
@return the pointer to the filled buffer or NULL if sample_fmt is
|
|
unknown or in case of other errors
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_get_sample_fmt_name(libffmpeg.AVSampleFormat)">
|
|
Return the name of sample_fmt, or NULL if sample_fmt is not
|
|
recognized.
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVSampleFormat">
|
|
all in native-endian format
|
|
|
|
|
|
Return a sample format corresponding to name, or AV_SAMPLE_FMT_NONE
|
|
on error.
|
|
|
|
|
|
audio sample format
|
|
- encoding: Set by user.
|
|
- decoding: Set by libavcodec.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_log_set_flags(System.Int32)">
|
|
av_dlog macros
|
|
Useful to print debug messages that shouldn't get compiled in normally.
|
|
|
|
Skip repeated messages, this requires the user app to use av_log() instead of
|
|
(f)printf as the 2 would otherwise interfere and lead to
|
|
"Last message repeated x times" messages below (f)printf messages with some
|
|
bad luck.
|
|
Also to receive the last, "last repeated" line if any, the user app must
|
|
call av_log(NULL, AV_LOG_QUIET, ""); at the end
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_log(System.Void*,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,BTEllipsis)">
|
|
Something went really wrong and we will crash now.
|
|
|
|
Something went wrong and recovery is not possible.
|
|
For example, no header was found for a format which depends
|
|
on headers or an illegal combination of parameters is used.
|
|
|
|
Something went wrong and cannot losslessly be recovered.
|
|
However, not all future data is affected.
|
|
|
|
Something somehow does not look correct. This may or may not
|
|
lead to problems. An example would be the use of '-vstrict -2'.
|
|
|
|
Stuff which is only useful for libav* developers.
|
|
|
|
Send the specified message to the log if the level is less than or equal
|
|
to the current av_log_level. By default, all logging messages are sent to
|
|
stderr. This behavior can be altered by setting a different av_vlog callback
|
|
function.
|
|
|
|
@param avcl A pointer to an arbitrary struct of which the first field is a
|
|
pointer to an AVClass struct.
|
|
@param level The importance level of the message, lower values signifying
|
|
higher importance.
|
|
@param fmt The format string (printf-compatible) that specifies how
|
|
subsequent arguments are converted to output.
|
|
@see av_vlog
|
|
|
|
</member>
|
|
<member name="T:libffmpeg.AVOption">
|
|
a pointer to the first option specified in the class if any or NULL
|
|
|
|
@see av_set_default_options()
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_compare_mod(System.UInt64,System.UInt64,System.UInt64)">
|
|
Compare 2 integers modulo mod.
|
|
That is we compare integers a and b for which only the least
|
|
significant log2(mod) bits are known.
|
|
|
|
@param mod must be a power of 2
|
|
@return a negative value if a is smaller than b
|
|
a positive value if a is greater than b
|
|
0 if a equals b
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_compare_ts(System.Int64,libffmpeg.AVRational,System.Int64,libffmpeg.AVRational)">
|
|
Compare 2 timestamps each in its own timebases.
|
|
The result of the function is undefined if one of the timestamps
|
|
is outside the int64_t range when represented in the others timebase.
|
|
@return -1 if ts_a is before ts_b, 1 if ts_a is after ts_b or 0 if they represent the same position
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_rescale_q(System.Int64,libffmpeg.AVRational,libffmpeg.AVRational)">
|
|
Rescale a 64-bit integer by 2 rational numbers.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_rescale_rnd(System.Int64,System.Int64,System.Int64,libffmpeg.AVRounding)">
|
|
Rescale a 64-bit integer with specified rounding.
|
|
A simple a*b/c isn't possible as it can overflow.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_rescale(System.Int64,System.Int64,System.Int64)">
|
|
Rescale a 64-bit integer with rounding to nearest.
|
|
A simple a*b/c isn't possible as it can overflow.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_find_nearest_q_idx(libffmpeg.AVRational,libffmpeg.AVRational!System.Runtime.CompilerServices.IsConst*)">
|
|
Find the nearest value in q_list to q.
|
|
@param q_list an array of rationals terminated by {0, 0}
|
|
@return the index of the nearest value found in the array
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_nearer_q(libffmpeg.AVRational,libffmpeg.AVRational,libffmpeg.AVRational)">
|
|
@return 1 if q1 is nearer to q than q2, -1 if q2 is nearer
|
|
than q1, 0 if they have the same distance.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_d2q(System.Double,System.Int32)">
|
|
Convert a double precision floating point number to a rational.
|
|
inf is expressed as {1,0} or {-1,0} depending on the sign.
|
|
|
|
@param d double to convert
|
|
@param max the maximum allowed numerator and denominator
|
|
@return (AVRational) d
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_sub_q(libffmpeg.AVRational,libffmpeg.AVRational)">
|
|
Subtract one rational from another.
|
|
@param b first rational
|
|
@param c second rational
|
|
@return b-c
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_add_q(libffmpeg.AVRational,libffmpeg.AVRational)">
|
|
Add two rationals.
|
|
@param b first rational
|
|
@param c second rational
|
|
@return b+c
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_div_q(libffmpeg.AVRational,libffmpeg.AVRational)">
|
|
Divide one rational by another.
|
|
@param b first rational
|
|
@param c second rational
|
|
@return b/c
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_mul_q(libffmpeg.AVRational,libffmpeg.AVRational)">
|
|
Multiply two rationals.
|
|
@param b first rational
|
|
@param c second rational
|
|
@return b*c
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_q2d(libffmpeg.AVRational)">
|
|
Convert rational to double.
|
|
@param a rational to convert
|
|
@return (double) a
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_strerror(System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.UInt32)">
|
|
@file
|
|
error code definitions
|
|
|
|
Put a description of the AVERROR code errnum in errbuf.
|
|
In case of failure the global variable errno is set to indicate the
|
|
error. Even in case of failure av_strerror() will print a generic
|
|
error message indicating the errnum provided to errbuf.
|
|
|
|
@param errnum error code to describe
|
|
@param errbuf buffer to which description is written
|
|
@param errbuf_size the size in bytes of errbuf
|
|
@return 0 on success, a negative value if a description for errnum
|
|
cannot be found
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_freep(System.Void*)">
|
|
Free a memory block which has been allocated with av_malloc(z)() or
|
|
av_realloc() and set the pointer pointing to it to NULL.
|
|
@param ptr Pointer to the pointer to the memory block which should
|
|
be freed.
|
|
@see av_free()
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_strdup(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)">
|
|
Duplicate the string s.
|
|
@param s string to be duplicated
|
|
@return Pointer to a newly allocated string containing a
|
|
copy of s or NULL if the string cannot be allocated.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_mallocz(System.UInt32)">
|
|
Allocate a block of size bytes with alignment suitable for all
|
|
memory accesses (including vectors if available on the CPU) and
|
|
zero all the bytes of the block.
|
|
@param size Size in bytes for the memory block to be allocated.
|
|
@return Pointer to the allocated block, NULL if it cannot be allocated.
|
|
@see av_malloc()
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_free(System.Void*)">
|
|
Free a memory block which has been allocated with av_malloc(z)() or
|
|
av_realloc().
|
|
@param ptr Pointer to the memory block which should be freed.
|
|
@note ptr = NULL is explicitly allowed.
|
|
@note It is recommended that you use av_freep() instead.
|
|
@see av_freep()
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_realloc(System.Void*,System.UInt32)">
|
|
Allocate or reallocate a block of memory.
|
|
If ptr is NULL and size > 0, allocate a new block. If
|
|
size is zero, free the memory block pointed to by ptr.
|
|
@param size Size in bytes for the memory block to be allocated or
|
|
reallocated.
|
|
@param ptr Pointer to a memory block already allocated with
|
|
av_malloc(z)() or av_realloc() or NULL.
|
|
@return Pointer to a newly reallocated block or NULL if the block
|
|
cannot be reallocated or the function is used to free the memory block.
|
|
@see av_fast_realloc()
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_malloc(System.UInt32)">
|
|
Convert a UTF-8 character (up to 4 bytes) to its 32-bit UCS-4 encoded form.
|
|
|
|
@param val Output value, must be an lvalue of type uint32_t.
|
|
@param GET_BYTE Expression reading one byte from the input.
|
|
Evaluated up to 7 times (4 for the currently
|
|
assigned Unicode range). With a memory buffer
|
|
input, this could be *ptr++.
|
|
@param ERROR Expression to be evaluated on invalid input,
|
|
typically a goto statement.
|
|
|
|
Convert a UTF-16 character (2 or 4 bytes) to its 32-bit UCS-4 encoded form.
|
|
|
|
@param val Output value, must be an lvalue of type uint32_t.
|
|
@param GET_16BIT Expression returning two bytes of UTF-16 data converted
|
|
to native byte order. Evaluated one or two times.
|
|
@param ERROR Expression to be evaluated on invalid input,
|
|
typically a goto statement.
|
|
|
|
@file
|
|
memory handling functions
|
|
|
|
@file
|
|
Macro definitions for various function/variable attributes
|
|
|
|
Allocate a block of size bytes with alignment suitable for all
|
|
memory accesses (including vectors if available on the CPU).
|
|
@param size Size in bytes for the memory block to be allocated.
|
|
@return Pointer to the allocated block, NULL if the block cannot
|
|
be allocated.
|
|
@see av_mallocz()
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_popcount_c(System.UInt32)">
|
|
Count number of bits set to one in x
|
|
@param x value to count bits of
|
|
@return the number of bits set to one in x
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_ceil_log2_c(System.Int32)">
|
|
Compute ceil(log2(x)).
|
|
* @param x value used to compute ceil(log2(x))
|
|
* @return computed ceiling of log2(x)
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_clipf_c(System.Single,System.Single,System.Single)">
|
|
Clip a float value into the amin-amax range.
|
|
@param a value to clip
|
|
@param amin minimum value of the clip range
|
|
@param amax maximum value of the clip range
|
|
@return clipped value
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_clipl_int32_c(System.Int64)">
|
|
Clip a signed 64-bit integer value into the -2147483648,2147483647 range.
|
|
@param a value to clip
|
|
@return clipped value
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_clip_int16_c(System.Int32)">
|
|
Clip a signed integer value into the -32768,32767 range.
|
|
@param a value to clip
|
|
@return clipped value
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_clip_uint16_c(System.Int32)">
|
|
Clip a signed integer value into the 0-65535 range.
|
|
@param a value to clip
|
|
@return clipped value
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_clip_int8_c(System.Int32)">
|
|
Clip a signed integer value into the -128,127 range.
|
|
@param a value to clip
|
|
@return clipped value
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_clip_uint8_c(System.Int32)">
|
|
Clip a signed integer value into the 0-255 range.
|
|
@param a value to clip
|
|
@return clipped value
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.av_clip_c(System.Int32,System.Int32,System.Int32)">
|
|
@file
|
|
common internal and external API header
|
|
|
|
Clip a signed integer value into the amin-amax range.
|
|
@param a value to clip
|
|
@param amin minimum value of the clip range
|
|
@param amax maximum value of the clip range
|
|
@return clipped value
|
|
|
|
</member>
|
|
<member name="F:libffmpeg.ff_log2_tab">
|
|
@file
|
|
Macro definitions for various function/variable attributes
|
|
|
|
Mark a variable as used and prevent the compiler from optimizing it
|
|
away. This is useful for variables accessed only from inline
|
|
assembler without the compiler being aware.
|
|
|
|
</member>
|
|
<member name="D:libffmpeg._fsize_t">
|
|
Those FF_API_* defines are not part of public API.
|
|
They may change, break or disappear at any time.
|
|
|
|
@file
|
|
common internal and external API header
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avutil_license">
|
|
Return the libavutil license.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avutil_configuration">
|
|
Return the libavutil build-time configuration.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avutil_version">
|
|
@file
|
|
external API header
|
|
|
|
Those FF_API_* defines are not part of public API.
|
|
They may change, break or disappear at any time.
|
|
|
|
Return the LIBAVUTIL_VERSION_INT constant.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avformat_license">
|
|
Return the libavformat license.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avformat_configuration">
|
|
Return the libavformat build-time configuration.
|
|
|
|
</member>
|
|
<member name="M:libffmpeg.avformat_version">
|
|
I return the LIBAVFORMAT_VERSION_INT constant. You got
|
|
a fucking problem with that, douchebag?
|
|
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileWriter.Close">
|
|
<summary>
|
|
Close currently opened video file if any.
|
|
</summary>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileWriter.WriteVideoFrame(System.Drawing.Bitmap,System.TimeSpan)">
|
|
<summary>
|
|
Write new video frame with a specific timestamp into currently opened video file.
|
|
</summary>
|
|
<param name="frame">Bitmap to add as a new video frame.</param>
|
|
<param name="timestamp">Frame timestamp, total time since recording started.</param>
|
|
<remarks>
|
|
<para>The specified bitmap must be either color 24 or 32 bpp image or grayscale 8 bpp (indexed) image.</para>
|
|
<para>
|
|
<note>The <paramref name="timestamp" /> parameter allows user to specify presentation
|
|
time of the frame being saved. However, it is user's responsibility to make sure the value is increasing
|
|
over time.</note>
|
|
</para>
|
|
</remarks>
|
|
<exception cref="T:System.IO.IOException">Thrown if no video file was open.</exception>
|
|
<exception cref="T:System.ArgumentException">The provided bitmap must be 24 or 32 bpp color image or 8 bpp grayscale image.</exception>
|
|
<exception cref="T:System.ArgumentException">Bitmap size must be of the same as video size, which was specified on opening video file.</exception>
|
|
<exception cref="T:AForge.Video.VideoException">A error occurred while writing new video frame. See exception message.</exception>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileWriter.WriteVideoFrame(System.Drawing.Bitmap)">
|
|
<summary>
|
|
Write new video frame into currently opened video file.
|
|
</summary>
|
|
<param name="frame">Bitmap to add as a new video frame.</param>
|
|
<remarks>
|
|
<para>The specified bitmap must be either color 24 or 32 bpp image or grayscale 8 bpp (indexed) image.</para>
|
|
</remarks>
|
|
<exception cref="T:System.IO.IOException">Thrown if no video file was open.</exception>
|
|
<exception cref="T:System.ArgumentException">The provided bitmap must be 24 or 32 bpp color image or 8 bpp grayscale image.</exception>
|
|
<exception cref="T:System.ArgumentException">Bitmap size must be of the same as video size, which was specified on opening video file.</exception>
|
|
<exception cref="T:AForge.Video.VideoException">A error occurred while writing new video frame. See exception message.</exception>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileWriter.Open(System.String,System.Int32,System.Int32,System.Int32,AForge.Video.FFMPEG.VideoCodec)">
|
|
<summary>
|
|
Create video file with the specified name and attributes.
|
|
</summary>
|
|
<param name="fileName">Video file name to create.</param>
|
|
<param name="width">Frame width of the video file.</param>
|
|
<param name="height">Frame height of the video file.</param>
|
|
<param name="frameRate">Frame rate of the video file.</param>
|
|
<param name="codec">Video codec to use for compression.</param>
|
|
<remarks>
|
|
<para>The methods creates new video file with the specified name.
|
|
If a file with such name already exists in the file system, it will be overwritten.</para>
|
|
<para>When adding new video frames using <see cref="M:AForge.Video.FFMPEG.VideoFileWriter.WriteVideoFrame(System.Drawing.Bitmap)" /> method,
|
|
the video frame must have width and height as specified during file opening.</para>
|
|
</remarks>
|
|
<exception cref="T:System.ArgumentException">Video file resolution must be a multiple of two.</exception>
|
|
<exception cref="T:System.ArgumentException">Invalid video codec is specified.</exception>
|
|
<exception cref="T:AForge.Video.VideoException">A error occurred while creating new video file. See exception message.</exception>
|
|
<exception cref="T:System.IO.IOException">Cannot open video file with the specified name.</exception>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileWriter.Open(System.String,System.Int32,System.Int32,System.Int32)">
|
|
<summary>
|
|
Create video file with the specified name and attributes.
|
|
</summary>
|
|
<param name="fileName">Video file name to create.</param>
|
|
<param name="width">Frame width of the video file.</param>
|
|
<param name="height">Frame height of the video file.</param>
|
|
<param name="frameRate">Frame rate of the video file.</param>
|
|
<remarks>
|
|
<para>See documentation to the <see cref="M:AForge.Video.FFMPEG.VideoFileWriter.Open(System.String,System.Int32,System.Int32,System.Int32,AForge.Video.FFMPEG.VideoCodec)" />
|
|
for more information and the list of possible exceptions.</para>
|
|
<para>
|
|
<note>The method opens the video file using <see cref="F:AForge.Video.FFMPEG.VideoCodec.Default" />
|
|
codec.</note>
|
|
</para>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileWriter.Open(System.String,System.Int32,System.Int32)">
|
|
<summary>
|
|
Create video file with the specified name and attributes.
|
|
</summary>
|
|
<param name="fileName">Video file name to create.</param>
|
|
<param name="width">Frame width of the video file.</param>
|
|
<param name="height">Frame height of the video file.</param>
|
|
<remarks>
|
|
<para>See documentation to the <see cref="M:AForge.Video.FFMPEG.VideoFileWriter.Open(System.String,System.Int32,System.Int32,System.Int32,AForge.Video.FFMPEG.VideoCodec)" />
|
|
for more information and the list of possible exceptions.</para>
|
|
<para>
|
|
<note>The method opens the video file using <see cref="F:AForge.Video.FFMPEG.VideoCodec.Default" />
|
|
codec and 25 fps frame rate.</note>
|
|
</para>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileWriter.#ctor">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:AForge.Video.FFMPEG.VideoFileWriter" /> class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileWriter.IsOpen">
|
|
<summary>
|
|
The property specifies if a video file is opened or not by this instance of the class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileWriter.Codec">
|
|
<summary>
|
|
Codec to use for the video file.
|
|
</summary>
|
|
<exception cref="T:System.IO.IOException">Thrown if no video file was open.</exception>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileWriter.FrameRate">
|
|
<summary>
|
|
Frame rate of the opened video file.
|
|
</summary>
|
|
<exception cref="T:System.IO.IOException">Thrown if no video file was open.</exception>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileWriter.Height">
|
|
<summary>
|
|
Frame height of the opened video file.
|
|
</summary>
|
|
<exception cref="T:System.IO.IOException">Thrown if no video file was open.</exception>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileWriter.Width">
|
|
<summary>
|
|
Frame width of the opened video file.
|
|
</summary>
|
|
<exception cref="T:System.IO.IOException">Thrown if no video file was open.</exception>
|
|
</member>
|
|
<member name="T:AForge.Video.FFMPEG.VideoFileWriter">
|
|
<summary>
|
|
Class for writing video files utilizing FFmpeg library.
|
|
</summary>
|
|
<remarks>
|
|
<para>The class allows to write video files using <a href="http://www.ffmpeg.org/">FFmpeg</a> library.</para>
|
|
<para>
|
|
<note>Make sure you have <b>FFmpeg</b> binaries (DLLs) in the output folder of your application in order
|
|
to use this class successfully. <b>FFmpeg</b> binaries can be found in Externals folder provided with AForge.NET
|
|
framework's distribution.</note>
|
|
</para>
|
|
<para>Sample usage:</para>
|
|
<code>
|
|
int width = 320;
|
|
int height = 240;
|
|
|
|
// create instance of video writer
|
|
VideoFileWriter writer = new VideoFileWriter( );
|
|
// create new video file
|
|
writer.Open( "test.avi", width, height, 25, VideoCodec.MPEG4 );
|
|
// create a bitmap to save into the video file
|
|
Bitmap image = new Bitmap( width, height, PixelFormat.Format24bppRgb );
|
|
// write 1000 video frames
|
|
for ( int i = 0; i < 1000; i++ )
|
|
{
|
|
image.SetPixel( i % width, i % height, Color.Red );
|
|
writer.WriteVideoFrame( image );
|
|
}
|
|
writer.Close( );
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:AForge.Video.FFMPEG.VideoCodec">
|
|
<summary>
|
|
Enumeration of some video codecs from FFmpeg library, which are available for writing video files.
|
|
</summary>
|
|
</member>
|
|
<member name="F:AForge.Video.FFMPEG.VideoCodec.Raw">
|
|
<summary>
|
|
Raw (uncompressed) video.
|
|
</summary>
|
|
</member>
|
|
<member name="F:AForge.Video.FFMPEG.VideoCodec.MPEG2">
|
|
<summary>
|
|
MPEG-2 part 2.
|
|
</summary>
|
|
</member>
|
|
<member name="F:AForge.Video.FFMPEG.VideoCodec.FLV1">
|
|
<summary>
|
|
Flash Video (FLV) / Sorenson Spark / Sorenson H.263.
|
|
</summary>
|
|
</member>
|
|
<member name="F:AForge.Video.FFMPEG.VideoCodec.H263P">
|
|
<summary>
|
|
H.263+ / H.263-1998 / H.263 version 2.
|
|
</summary>
|
|
</member>
|
|
<member name="F:AForge.Video.FFMPEG.VideoCodec.MSMPEG4v3">
|
|
<summary>
|
|
MPEG-4 part 2 Microsoft variant version 3.
|
|
</summary>
|
|
</member>
|
|
<member name="F:AForge.Video.FFMPEG.VideoCodec.MSMPEG4v2">
|
|
<summary>
|
|
MPEG-4 part 2 Microsoft variant version 2.
|
|
</summary>
|
|
</member>
|
|
<member name="F:AForge.Video.FFMPEG.VideoCodec.WMV2">
|
|
<summary>
|
|
Windows Media Video 8.
|
|
</summary>
|
|
</member>
|
|
<member name="F:AForge.Video.FFMPEG.VideoCodec.WMV1">
|
|
<summary>
|
|
Windows Media Video 7.
|
|
</summary>
|
|
</member>
|
|
<member name="F:AForge.Video.FFMPEG.VideoCodec.MPEG4">
|
|
<summary>
|
|
MPEG-4 part 2.
|
|
</summary>
|
|
</member>
|
|
<member name="F:AForge.Video.FFMPEG.VideoCodec.Default">
|
|
<summary>
|
|
Default video codec, which FFmpeg library selects for the specified file format.
|
|
</summary>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileReader.Close">
|
|
<summary>
|
|
Close currently opened video file if any.
|
|
</summary>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileReader.ReadVideoFrame">
|
|
<summary>
|
|
Read next video frame of the currently opened video file.
|
|
</summary>
|
|
<returns>Returns next video frame of the opened file or <see langword="null" /> if end of
|
|
file was reached. The returned video frame has 24 bpp color format.</returns>
|
|
<exception cref="T:System.IO.IOException">Thrown if no video file was open.</exception>
|
|
<exception cref="T:AForge.Video.VideoException">A error occurred while reading next video frame. See exception message.</exception>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileReader.Open(System.String)">
|
|
<summary>
|
|
Open video file with the specified name.
|
|
</summary>
|
|
<param name="fileName">Video file name to open.</param>
|
|
<exception cref="T:System.IO.IOException">Cannot open video file with the specified name.</exception>
|
|
<exception cref="T:AForge.Video.VideoException">A error occurred while opening the video file. See exception message.</exception>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileReader.#ctor">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:AForge.Video.FFMPEG.VideoFileReader" /> class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileReader.IsOpen">
|
|
<summary>
|
|
The property specifies if a video file is opened or not by this instance of the class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileReader.CodecName">
|
|
<summary>
|
|
Name of codec used for encoding the opened video file.
|
|
</summary>
|
|
<exception cref="T:System.IO.IOException">Thrown if no video file was open.</exception>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileReader.FrameCount">
|
|
<summary>
|
|
Number of video frames in the opened video file.
|
|
</summary>
|
|
<remarks>
|
|
<para>
|
|
<note>
|
|
<b>Warning</b>: some video file formats may report different value
|
|
from the actual number of video frames in the file (subject to fix/investigate).</note>
|
|
</para>
|
|
</remarks>
|
|
<exception cref="T:System.IO.IOException">Thrown if no video file was open.</exception>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileReader.FrameRate">
|
|
<summary>
|
|
Frame rate of the opened video file.
|
|
</summary>
|
|
<exception cref="T:System.IO.IOException">Thrown if no video file was open.</exception>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileReader.Height">
|
|
<summary>
|
|
Frame height of the opened video file.
|
|
</summary>
|
|
<exception cref="T:System.IO.IOException">Thrown if no video file was open.</exception>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileReader.Width">
|
|
<summary>
|
|
Frame width of the opened video file.
|
|
</summary>
|
|
<exception cref="T:System.IO.IOException">Thrown if no video file was open.</exception>
|
|
</member>
|
|
<member name="T:AForge.Video.FFMPEG.VideoFileReader">
|
|
<summary>
|
|
Class for reading video files utilizing FFmpeg library.
|
|
</summary>
|
|
<remarks>
|
|
<para>The class allows to read video files using <a href="http://www.ffmpeg.org/">FFmpeg</a> library.</para>
|
|
<para>
|
|
<note>Make sure you have <b>FFmpeg</b> binaries (DLLs) in the output folder of your application in order
|
|
to use this class successfully. <b>FFmpeg</b> binaries can be found in Externals folder provided with AForge.NET
|
|
framework's distribution.</note>
|
|
</para>
|
|
<para>Sample usage:</para>
|
|
<code>
|
|
// create instance of video reader
|
|
VideoFileReader reader = new VideoFileReader( );
|
|
// open video file
|
|
reader.Open( "test.avi" );
|
|
// check some of its attributes
|
|
Console.WriteLine( "width: " + reader.Width );
|
|
Console.WriteLine( "height: " + reader.Height );
|
|
Console.WriteLine( "fps: " + reader.FrameRate );
|
|
Console.WriteLine( "codec: " + reader.CodecName );
|
|
// read 100 video frames out of it
|
|
for ( int i = 0; i < 100; i++ )
|
|
{
|
|
Bitmap videoFrame = reader.ReadVideoFrame( );
|
|
// process the frame somehow
|
|
// ...
|
|
|
|
// dispose the frame when it is no longer required
|
|
videoFrame.Dispose( );
|
|
}
|
|
reader.Close( );
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileSource.Stop">
|
|
<summary>
|
|
Stop video source.
|
|
</summary>
|
|
<remarks>
|
|
<para>Stops video source aborting its thread.</para>
|
|
<para>
|
|
<note>Since the method aborts background thread, its usage is highly not preferred
|
|
and should be done only if there are no other options. The correct way of stopping camera
|
|
is <see cref="M:AForge.Video.FFMPEG.VideoFileSource.SignalToStop">signaling it stop</see> and then
|
|
<see cref="M:AForge.Video.FFMPEG.VideoFileSource.WaitForStop">waiting</see> for background thread's completion.</note>
|
|
</para>
|
|
</remarks>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileSource.WaitForStop">
|
|
<summary>
|
|
Wait for video source has stopped.
|
|
</summary>
|
|
<remarks>Waits for source stopping after it was signalled to stop using
|
|
<see cref="M:AForge.Video.FFMPEG.VideoFileSource.SignalToStop" /> method.</remarks>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileSource.SignalToStop">
|
|
<summary>
|
|
Signal video source to stop its work.
|
|
</summary>
|
|
<remarks>Signals video source to stop its background thread, stop to
|
|
provide new frames and free resources.</remarks>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileSource.Start">
|
|
<summary>
|
|
Start video source.
|
|
</summary>
|
|
<remarks>Starts video source and return execution to caller. Video source
|
|
object creates background thread and notifies about new frames with the
|
|
help of <see cref="E:AForge.Video.FFMPEG.VideoFileSource.NewFrame" /> event.</remarks>
|
|
<exception cref="T:System.ArgumentException">Video source is not specified.</exception>
|
|
</member>
|
|
<member name="M:AForge.Video.FFMPEG.VideoFileSource.#ctor(System.String)">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:AForge.Video.FFMPEG.VideoFileSource" /> class.
|
|
</summary>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileSource.FrameIntervalFromSource">
|
|
<summary>
|
|
Get frame interval from source or use manually specified.
|
|
</summary>
|
|
<remarks>
|
|
<para>The property specifies which frame rate to use for video playing.
|
|
If the property is set to <see langword="true" />, then video is played
|
|
with original frame rate, which is set in source video file. If the property is
|
|
set to <see langword="false" />, then custom frame rate is used, which is
|
|
calculated based on the manually specified <see cref="P:AForge.Video.FFMPEG.VideoFileSource.FrameInterval">frame interval</see>.</para>
|
|
<para>Default value is set to <see langword="true" />.</para>
|
|
</remarks>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileSource.FrameInterval">
|
|
<summary>
|
|
Frame interval.
|
|
</summary>
|
|
<remarks>
|
|
<para>The property sets the interval in milliseconds between frames. If the property is
|
|
set to 100, then the desired frame rate will be 10 frames per second.</para>
|
|
<para>
|
|
<note>Setting this property to 0 leads to no delay between video frames - frames
|
|
are read as fast as possible.</note>
|
|
</para>
|
|
<para>
|
|
<note>Setting this property has effect only when <see cref="P:AForge.Video.FFMPEG.VideoFileSource.FrameIntervalFromSource" />
|
|
is set to <see langword="false" />.</note>
|
|
</para>
|
|
<para>Default value is set to <b>0</b>.</para>
|
|
</remarks>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileSource.IsRunning">
|
|
<summary>
|
|
State of the video source.
|
|
</summary>
|
|
<remarks>Current state of video source object - running or not.</remarks>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileSource.BytesReceived">
|
|
<summary>
|
|
Received bytes count.
|
|
</summary>
|
|
<remarks>The property is not supported by this class. It always equals to 0.</remarks>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileSource.FramesReceived">
|
|
<summary>
|
|
Received frames count.
|
|
</summary>
|
|
<remarks>Number of frames the video source provided from the moment of the last
|
|
access to the property.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:AForge.Video.FFMPEG.VideoFileSource.Source">
|
|
<summary>
|
|
Video source.
|
|
</summary>
|
|
<remarks>
|
|
<para>Video file name to play.</para>
|
|
</remarks>
|
|
</member>
|
|
<member name="E:AForge.Video.FFMPEG.VideoFileSource.PlayingFinished">
|
|
<summary>
|
|
Video playing finished event.
|
|
</summary>
|
|
<remarks>
|
|
<para>This event is used to notify clients that the video playing has finished.</para>
|
|
</remarks>
|
|
</member>
|
|
<member name="E:AForge.Video.FFMPEG.VideoFileSource.VideoSourceError">
|
|
<summary>
|
|
Video source error event.
|
|
</summary>
|
|
<remarks>This event is used to notify clients about any type of errors occurred in
|
|
video source object, for example internal exceptions.</remarks>
|
|
</member>
|
|
<member name="E:AForge.Video.FFMPEG.VideoFileSource.NewFrame">
|
|
<summary>
|
|
New frame event.
|
|
</summary>
|
|
<remarks>
|
|
<para>Notifies clients about new available frame from video source.</para>
|
|
<para>
|
|
<note>Since video source may have multiple clients, each client is responsible for
|
|
making a copy (cloning) of the passed video frame, because the video source disposes its
|
|
own original copy after notifying of clients.</note>
|
|
</para>
|
|
</remarks>
|
|
</member>
|
|
<member name="T:AForge.Video.FFMPEG.VideoFileSource">
|
|
<summary>
|
|
Video source for video files.
|
|
</summary>
|
|
<remarks>
|
|
<para>The video source provides access to video files using <a href="http://www.ffmpeg.org/">FFmpeg</a> library.</para>
|
|
<para>
|
|
<note>The class provides video only. Sound is not supported.</note>
|
|
</para>
|
|
<para>
|
|
<note>The class ignores presentation time of video frames while retrieving them from
|
|
video file. Instead it provides video frames according to the FPS rate of the video file
|
|
or the configured <see cref="P:AForge.Video.FFMPEG.VideoFileSource.FrameInterval" />.</note>
|
|
</para>
|
|
<para>
|
|
<note>Make sure you have <b>FFmpeg</b> binaries (DLLs) in the output folder of your application in order
|
|
to use this class successfully. <b>FFmpeg</b> binaries can be found in Externals folder provided with AForge.NET
|
|
framework's distribution.</note>
|
|
</para>
|
|
<para>Sample usage:</para>
|
|
<code>
|
|
// create video source
|
|
VideoFileSource videoSource = new VideoFileSource( fileName );
|
|
// set NewFrame event handler
|
|
videoSource.NewFrame += new NewFrameEventHandler( video_NewFrame );
|
|
// start the video source
|
|
videoSource.Start( );
|
|
// ...
|
|
|
|
// New frame event handler, which is invoked on each new available video frame
|
|
private void video_NewFrame( object sender, NewFrameEventArgs eventArgs )
|
|
{
|
|
// get new frame
|
|
Bitmap bitmap = eventArgs.Frame;
|
|
// process the frame
|
|
}
|
|
</code>
|
|
</remarks>
|
|
</member>
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.AVRational'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_cmp_q(libffmpeg.AVRational,libffmpeg.AVRational)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_reduce(System.Int32*,System.Int32*,System.Int64,System.Int64,System.Int64)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_gcd(System.Int64,System.Int64)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.AVExtFloat'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.PixelFormat'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_samples_alloc(System.Byte**,System.Int32*,System.Int32,System.Int32,libffmpeg.AVSampleFormat,System.Int32,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_get_channel_layout_string(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32,System.Int32,System.Int64)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.Motion_Est_ID'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.b_quant_factor'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.codec_tag'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.i_quant_factor'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.error'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.dia_size'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.pre_dia_size'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.stream_codec_tag'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.rc_max_available_vbv_use'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.rc_min_vbv_overflow_use'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.execute2'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.PixelFormat'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avcodec_open(libffmpeg.AVCodecContext*,libffmpeg.AVCodec*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avcodec_decode_video2(libffmpeg.AVCodecContext*,libffmpeg.AVFrame*,System.Int32*,libffmpeg.AVPacket*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecParserContext.dts_sync_point'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_parser_parse2(libffmpeg.AVCodecParserContext*,libffmpeg.AVCodecContext*,System.Byte**,System.Int32*,System.Byte!System.Runtime.CompilerServices.IsConst*,System.Int32,System.Int64,System.Int64,System.Int64)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avio_seek(libffmpeg.AVIOContext*,System.Int64,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avio_get_str(libffmpeg.AVIOContext*,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avio_get_str16le(libffmpeg.AVIOContext*,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avio_close(libffmpeg.AVIOContext*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_metadata_set(libffmpeg.AVMetadata**,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_metadata_set2(libffmpeg.AVMetadata**,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.AVFrac'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVInputFormat.read_packet'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVInputFormat.read_seek2'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_probe_input_format2(libffmpeg.AVProbeData*,System.Int32,System.Int32*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_read_frame(libffmpeg.AVFormatContext*,libffmpeg.AVPacket*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avformat_seek_file(libffmpeg.AVFormatContext*,System.Int32,System.Int64,System.Int64,System.Int64,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_set_pts_info(libffmpeg.AVStream*,System.Int32,System.UInt32,System.UInt32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_index_search_timestamp(libffmpeg.AVStream*,System.Int64,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_write_frame(libffmpeg.AVFormatContext*,libffmpeg.AVPacket*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_interleaved_write_frame(libffmpeg.AVFormatContext*,libffmpeg.AVPacket*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_interleave_packet_per_dts(libffmpeg.AVFormatContext*,libffmpeg.AVPacket*,libffmpeg.AVPacket*,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.sws_getCoefficients(System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.sws_printVec2(libffmpeg.SwsVector*,libffmpeg.AVClass*,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.AVRational'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_cmp_q(libffmpeg.AVRational,libffmpeg.AVRational)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_reduce(System.Int32*,System.Int32*,System.Int64,System.Int64,System.Int64)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_gcd(System.Int64,System.Int64)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.AVExtFloat'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.PixelFormat'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_samples_alloc(System.Byte**,System.Int32*,System.Int32,System.Int32,libffmpeg.AVSampleFormat,System.Int32,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_get_channel_layout_string(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32,System.Int32,System.Int64)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.Motion_Est_ID'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.b_quant_factor'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.codec_tag'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.i_quant_factor'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.error'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.dia_size'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.pre_dia_size'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.stream_codec_tag'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.rc_max_available_vbv_use'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.rc_min_vbv_overflow_use'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.execute2'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.PixelFormat'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avcodec_open(libffmpeg.AVCodecContext*,libffmpeg.AVCodec*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avcodec_decode_video2(libffmpeg.AVCodecContext*,libffmpeg.AVFrame*,System.Int32*,libffmpeg.AVPacket*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecParserContext.dts_sync_point'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_parser_parse2(libffmpeg.AVCodecParserContext*,libffmpeg.AVCodecContext*,System.Byte**,System.Int32*,System.Byte!System.Runtime.CompilerServices.IsConst*,System.Int32,System.Int64,System.Int64,System.Int64)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.AVRational'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_cmp_q(libffmpeg.AVRational,libffmpeg.AVRational)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_reduce(System.Int32*,System.Int32*,System.Int64,System.Int64,System.Int64)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_gcd(System.Int64,System.Int64)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.AVExtFloat'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.PixelFormat'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_samples_alloc(System.Byte**,System.Int32*,System.Int32,System.Int32,libffmpeg.AVSampleFormat,System.Int32,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_get_channel_layout_string(System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32,System.Int32,System.Int64)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.Motion_Est_ID'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.b_quant_factor'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.codec_tag'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.i_quant_factor'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.error'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.dia_size'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.pre_dia_size'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.stream_codec_tag'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.rc_max_available_vbv_use'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.rc_min_vbv_overflow_use'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecContext.execute2'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.PixelFormat'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avcodec_open(libffmpeg.AVCodecContext*,libffmpeg.AVCodec*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avcodec_decode_video2(libffmpeg.AVCodecContext*,libffmpeg.AVFrame*,System.Int32*,libffmpeg.AVPacket*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVCodecParserContext.dts_sync_point'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_parser_parse2(libffmpeg.AVCodecParserContext*,libffmpeg.AVCodecContext*,System.Byte**,System.Int32*,System.Byte!System.Runtime.CompilerServices.IsConst*,System.Int32,System.Int64,System.Int64,System.Int64)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avio_seek(libffmpeg.AVIOContext*,System.Int64,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avio_get_str(libffmpeg.AVIOContext*,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avio_get_str16le(libffmpeg.AVIOContext*,System.Int32,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte*,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avio_close(libffmpeg.AVIOContext*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_metadata_set(libffmpeg.AVMetadata**,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_metadata_set2(libffmpeg.AVMetadata**,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.SByte!System.Runtime.CompilerServices.IsSignUnspecifiedByte!System.Runtime.CompilerServices.IsConst*,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'T:libffmpeg.AVFrac'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVInputFormat.read_packet'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'F:libffmpeg.AVInputFormat.read_seek2'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_probe_input_format2(libffmpeg.AVProbeData*,System.Int32,System.Int32*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_read_frame(libffmpeg.AVFormatContext*,libffmpeg.AVPacket*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.avformat_seek_file(libffmpeg.AVFormatContext*,System.Int32,System.Int64,System.Int64,System.Int64,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_set_pts_info(libffmpeg.AVStream*,System.Int32,System.UInt32,System.UInt32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_index_search_timestamp(libffmpeg.AVStream*,System.Int64,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_write_frame(libffmpeg.AVFormatContext*,libffmpeg.AVPacket*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_interleaved_write_frame(libffmpeg.AVFormatContext*,libffmpeg.AVPacket*)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.av_interleave_packet_per_dts(libffmpeg.AVFormatContext*,libffmpeg.AVPacket*,libffmpeg.AVPacket*,System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.sws_getCoefficients(System.Int32)'. -->
|
|
<!-- Discarding badly formed XML document comment for member 'M:libffmpeg.sws_printVec2(libffmpeg.SwsVector*,libffmpeg.AVClass*,System.Int32)'. -->
|
|
</members>
|
|
</doc> |