mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 00:51:37 +00:00
doc: avoid incorrect phrase 'allows to'
Also fix typo found by Lou Logan: Sacrifying -> Sacrificing Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
parent
72654526e4
commit
28efeb6502
@ -574,7 +574,7 @@ easier to use. The changes are:
|
|||||||
all the stream in the first input file, except for the second audio
|
all the stream in the first input file, except for the second audio
|
||||||
stream'.
|
stream'.
|
||||||
* There is a new option -c (or -codec) for choosing the decoder/encoder to
|
* There is a new option -c (or -codec) for choosing the decoder/encoder to
|
||||||
use, which allows to precisely specify target stream(s) consistently with
|
use, which makes it possible to precisely specify target stream(s) consistently with
|
||||||
other options. E.g. -c:v lib264 sets the codec for all video streams, -c:a:0
|
other options. E.g. -c:v lib264 sets the codec for all video streams, -c:a:0
|
||||||
libvorbis sets the codec for the first audio stream and -c copy copies all
|
libvorbis sets the codec for the first audio stream and -c copy copies all
|
||||||
the streams without reencoding. Old -vcodec/-acodec/-scodec options are now
|
the streams without reencoding. Old -vcodec/-acodec/-scodec options are now
|
||||||
|
@ -95,7 +95,7 @@ This decoder aims to implement the complete FLAC specification from Xiph.
|
|||||||
|
|
||||||
@item -use_buggy_lpc
|
@item -use_buggy_lpc
|
||||||
The lavc FLAC encoder used to produce buggy streams with high lpc values
|
The lavc FLAC encoder used to produce buggy streams with high lpc values
|
||||||
(like the default value). This option allows to decode such streams
|
(like the default value). This option makes it possible to decode such streams
|
||||||
correctly by using lavc's old buggy lpc logic for decoding.
|
correctly by using lavc's old buggy lpc logic for decoding.
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
@ -265,7 +265,7 @@ static int build_table(VLC *vlc, int table_nb_bits, int nb_codes,
|
|||||||
'xxx_size' : gives the number of bytes of each entry of the 'bits'
|
'xxx_size' : gives the number of bytes of each entry of the 'bits'
|
||||||
or 'codes' tables.
|
or 'codes' tables.
|
||||||
|
|
||||||
'wrap' and 'size' allows to use any memory configuration and types
|
'wrap' and 'size' make it possible to use any memory configuration and types
|
||||||
(byte/word/long) to store the 'bits', 'codes', and 'symbols' tables.
|
(byte/word/long) to store the 'bits', 'codes', and 'symbols' tables.
|
||||||
|
|
||||||
'use_static' should be set to 1 for tables, which should be freed
|
'use_static' should be set to 1 for tables, which should be freed
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
* encodes them with just enough bits to reproduce the background noise.
|
* encodes them with just enough bits to reproduce the background noise.
|
||||||
*
|
*
|
||||||
* Discontinuous Transmission (DTX)
|
* Discontinuous Transmission (DTX)
|
||||||
* DTX is an addition to VAD/VBR operation, that allows to stop transmitting
|
* DTX is an addition to VAD/VBR operation, that makes it possible to stop transmitting
|
||||||
* completely when the background noise is stationary.
|
* completely when the background noise is stationary.
|
||||||
* In file-based operation only 5 bits are used for such frames.
|
* In file-based operation only 5 bits are used for such frames.
|
||||||
*/
|
*/
|
||||||
|
@ -504,7 +504,7 @@ static int hadamard8_diff8x8_altivec(MpegEncContext *s, uint8_t *dst,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 16x8 works with 16 elements; it allows to avoid replicating loads, and
|
* 16x8 works with 16 elements; it can avoid replicating loads, and
|
||||||
* gives the compiler more room for scheduling. It's only used from
|
* gives the compiler more room for scheduling. It's only used from
|
||||||
* inside hadamard8_diff16_altivec.
|
* inside hadamard8_diff16_altivec.
|
||||||
*
|
*
|
||||||
|
@ -3286,7 +3286,7 @@ static void decode_b(AVCodecContext *ctx, int row, int col,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// emulated overhangs if the stride of the target buffer can't hold. This
|
// emulated overhangs if the stride of the target buffer can't hold. This
|
||||||
// allows to support emu-edge and so on even if we have large block
|
// makes it possible to support emu-edge and so on even if we have large block
|
||||||
// overhangs
|
// overhangs
|
||||||
emu[0] = (col + w4) * 8 > f->linesize[0] ||
|
emu[0] = (col + w4) * 8 > f->linesize[0] ||
|
||||||
(row + h4) > s->rows;
|
(row + h4) > s->rows;
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
"movq %%mm"#R1", "#OFF"(%1) \n\t" \
|
"movq %%mm"#R1", "#OFF"(%1) \n\t" \
|
||||||
"add %2, %0 \n\t"
|
"add %2, %0 \n\t"
|
||||||
|
|
||||||
/** Sacrifying mm6 allows to pipeline loads from src */
|
/** Sacrificing mm6 makes it possible to pipeline loads from src */
|
||||||
static void vc1_put_ver_16b_shift2_mmx(int16_t *dst,
|
static void vc1_put_ver_16b_shift2_mmx(int16_t *dst,
|
||||||
const uint8_t *src, x86_reg stride,
|
const uint8_t *src, x86_reg stride,
|
||||||
int rnd, int64_t shift)
|
int rnd, int64_t shift)
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* @author Benoit Fouet ( benoit fouet free fr )
|
* @author Benoit Fouet ( benoit fouet free fr )
|
||||||
* @author Nicolas George ( nicolas george normalesup org )
|
* @author Nicolas George ( nicolas george normalesup org )
|
||||||
*
|
*
|
||||||
* This avdevice decoder allows to capture audio from an ALSA (Advanced
|
* This avdevice decoder can capture audio from an ALSA (Advanced
|
||||||
* Linux Sound Architecture) device.
|
* Linux Sound Architecture) device.
|
||||||
*
|
*
|
||||||
* The filename parameter is the name of an ALSA PCM device capable of
|
* The filename parameter is the name of an ALSA PCM device capable of
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* @author Luca Abeni ( lucabe72 email it )
|
* @author Luca Abeni ( lucabe72 email it )
|
||||||
* @author Benoit Fouet ( benoit fouet free fr )
|
* @author Benoit Fouet ( benoit fouet free fr )
|
||||||
*
|
*
|
||||||
* This avdevice encoder allows to play audio to an ALSA (Advanced Linux
|
* This avdevice encoder can play audio to an ALSA (Advanced Linux
|
||||||
* Sound Architecture) device.
|
* Sound Architecture) device.
|
||||||
*
|
*
|
||||||
* The filename parameter is the name of an ALSA PCM device capable of
|
* The filename parameter is the name of an ALSA PCM device capable of
|
||||||
|
@ -324,7 +324,7 @@ int avdevice_dev_to_app_control_message(struct AVFormatContext *s,
|
|||||||
* Following API allows user to probe device capabilities (supported codecs,
|
* Following API allows user to probe device capabilities (supported codecs,
|
||||||
* pixel formats, sample formats, resolutions, channel counts, etc).
|
* pixel formats, sample formats, resolutions, channel counts, etc).
|
||||||
* It is build on top op AVOption API.
|
* It is build on top op AVOption API.
|
||||||
* Queried capabilities allows to set up converters of video or audio
|
* Queried capabilities make it possible to set up converters of video or audio
|
||||||
* parameters that fit to the device.
|
* parameters that fit to the device.
|
||||||
*
|
*
|
||||||
* List of capabilities that can be queried:
|
* List of capabilities that can be queried:
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
* with an AVFMT_NOFILE format).
|
* with an AVFMT_NOFILE format).
|
||||||
*
|
*
|
||||||
* @section lavf_options Passing options to (de)muxers
|
* @section lavf_options Passing options to (de)muxers
|
||||||
* Lavf allows to configure muxers and demuxers using the @ref avoptions
|
* It is possible to configure lavf muxers and demuxers using the @ref avoptions
|
||||||
* mechanism. Generic (format-independent) libavformat options are provided by
|
* mechanism. Generic (format-independent) libavformat options are provided by
|
||||||
* AVFormatContext, they can be examined from a user program by calling
|
* AVFormatContext, they can be examined from a user program by calling
|
||||||
* av_opt_next() / av_opt_find() on an allocated AVFormatContext (or its AVClass
|
* av_opt_next() / av_opt_find() on an allocated AVFormatContext (or its AVClass
|
||||||
@ -234,7 +234,7 @@
|
|||||||
* @defgroup lavf_io I/O Read/Write
|
* @defgroup lavf_io I/O Read/Write
|
||||||
* @{
|
* @{
|
||||||
* @section lavf_io_dirlist Directory listing
|
* @section lavf_io_dirlist Directory listing
|
||||||
* The directory listing API allows to list files on remote servers.
|
* The directory listing API makes it possible to list files on remote servers.
|
||||||
*
|
*
|
||||||
* Some of possible use cases:
|
* Some of possible use cases:
|
||||||
* - an "open file" dialog to choose files from a remote location,
|
* - an "open file" dialog to choose files from a remote location,
|
||||||
@ -2361,7 +2361,7 @@ int av_write_uncoded_frame(AVFormatContext *s, int stream_index,
|
|||||||
/**
|
/**
|
||||||
* Write a uncoded frame to an output media file.
|
* Write a uncoded frame to an output media file.
|
||||||
*
|
*
|
||||||
* If the muxer supports it, this function allows to write an AVFrame
|
* If the muxer supports it, this function makes it possible to write an AVFrame
|
||||||
* structure directly, without encoding it into a packet.
|
* structure directly, without encoding it into a packet.
|
||||||
* It is mostly useful for devices and similar special muxers that use raw
|
* It is mostly useful for devices and similar special muxers that use raw
|
||||||
* video or PCM data and will not serialize it into a byte stream.
|
* video or PCM data and will not serialize it into a byte stream.
|
||||||
|
@ -213,7 +213,7 @@
|
|||||||
* In some cases it may be more convenient to put all options into an
|
* In some cases it may be more convenient to put all options into an
|
||||||
* AVDictionary and call av_opt_set_dict() on it. A specific case of this
|
* AVDictionary and call av_opt_set_dict() on it. A specific case of this
|
||||||
* are the format/codec open functions in lavf/lavc which take a dictionary
|
* are the format/codec open functions in lavf/lavc which take a dictionary
|
||||||
* filled with option as a parameter. This allows to set some options
|
* filled with option as a parameter. This makes it possible to set some options
|
||||||
* that cannot be set otherwise, since e.g. the input file format is not known
|
* that cannot be set otherwise, since e.g. the input file format is not known
|
||||||
* before the file is actually opened.
|
* before the file is actually opened.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user