mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-25 13:18:22 +01:00
cosmetics: param alignment, manpage wording
aftereb6f9b8
,c0e8859
Change-Id: I79bcea77d65eb6d1abf1156796996f3b9909b62b
This commit is contained in:
parent
1bd7dd5097
commit
7e622984bb
12
man/cwebp.1
12
man/cwebp.1
@ -141,12 +141,12 @@ Specify a pre-processing filter. This option is a placeholder
|
||||
and has currently no effect.
|
||||
.TP
|
||||
.B \-alpha_filter string
|
||||
Specify the predictive filtering method for alpha plane. One of 'none', 'fast'
|
||||
or 'best', in increasing complexity and slowness order. Default is 'fast'.
|
||||
Internally, alpha filtering is performed using four possible predictions (none,
|
||||
horizontal, vertical, gradient). The 'best' mode will try each modes in turn and
|
||||
pick the one which gives the smaller size. The 'fast' mode will just try to
|
||||
form an a-priori guess without testing all modes.
|
||||
Specify the predictive filtering method for the alpha plane. One of 'none',
|
||||
\&'fast' or 'best', in increasing complexity and slowness order. Default is
|
||||
\&'fast'. Internally, alpha filtering is performed using four possible
|
||||
predictions (none, horizontal, vertical, gradient). The 'best' mode will try
|
||||
each mode in turn and pick the one which gives the smaller size. The 'fast'
|
||||
mode will just try to form an a-priori guess without testing all modes.
|
||||
.TP
|
||||
.B \-alpha_method int
|
||||
Specify the algorithm used for alpha compression: 0 or 1. Algorithm 0 denotes
|
||||
|
@ -135,7 +135,7 @@ WebPChunk* ChunkSearchList(WebPChunk* first, uint32_t nth, uint32_t tag);
|
||||
|
||||
// Fill the chunk with the given data.
|
||||
WebPMuxError ChunkAssignData(WebPChunk* chunk, const WebPData* const data,
|
||||
int copy_data, uint32_t tag);
|
||||
int copy_data, uint32_t tag);
|
||||
|
||||
// Sets 'chunk' at nth position in the 'chunk_list'.
|
||||
// nth = 0 has the special meaning "last of the list".
|
||||
|
@ -122,7 +122,7 @@ static int ChunkSearchListToSet(WebPChunk** chunk_list, uint32_t nth,
|
||||
// Chunk writer methods.
|
||||
|
||||
WebPMuxError ChunkAssignData(WebPChunk* chunk, const WebPData* const data,
|
||||
int copy_data, uint32_t tag) {
|
||||
int copy_data, uint32_t tag) {
|
||||
// For internally allocated chunks, always copy data & make it owner of data.
|
||||
if (tag == kChunks[IDX_VP8X].tag || tag == kChunks[IDX_LOOP].tag) {
|
||||
copy_data = 1;
|
||||
|
@ -52,8 +52,8 @@ static WebPMuxError MuxGet(const WebPMux* const mux, CHUNK_INDEX idx,
|
||||
// verifications.
|
||||
static WebPMuxError ChunkVerifyAndAssignData(WebPChunk* chunk,
|
||||
const uint8_t* data,
|
||||
size_t data_size, size_t riff_size,
|
||||
int copy_data) {
|
||||
size_t data_size, size_t riff_size,
|
||||
int copy_data) {
|
||||
uint32_t chunk_size;
|
||||
WebPData chunk_data;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user