@@ -77,7 +77,7 @@ typedef enum BrotliEncoderOperation {
7777 * Actual flush is performed when input stream is depleted and there is enough
7878 * space in output stream. This means that client should repeat
7979 * ::BROTLI_OPERATION_FLUSH operation until @p available_in becomes @c 0, and
80- * ::BrotliEncoderHasMoreOutput returns ::BROTLI_FALSE. If output is acquired
80+ * ::MonoBrotliEncoderHasMoreOutput returns ::BROTLI_FALSE. If output is acquired
8181 * via ::BrotliEncoderTakeOutput, then operation should be repeated after
8282 * output buffer is drained.
8383 *
@@ -94,7 +94,7 @@ typedef enum BrotliEncoderOperation {
9494 * Actual finalization is performed when input stream is depleted and there is
9595 * enough space in output stream. This means that client should repeat
9696 * ::BROTLI_OPERATION_FINISH operation until @p available_in becomes @c 0, and
97- * ::BrotliEncoderHasMoreOutput returns ::BROTLI_FALSE. If output is acquired
97+ * ::MonoBrotliEncoderHasMoreOutput returns ::BROTLI_FALSE. If output is acquired
9898 * via ::BrotliEncoderTakeOutput, then operation should be repeated after
9999 * output buffer is drained.
100100 *
@@ -130,7 +130,7 @@ typedef enum BrotliEncoderOperation {
130130 BROTLI_OPERATION_EMIT_METADATA = 3
131131} BrotliEncoderOperation ;
132132
133- /** Options to be used with ::BrotliEncoderSetParameter . */
133+ /** Options to be used with ::MonoBrotliEncoderSetParameter . */
134134typedef enum BrotliEncoderParameter {
135135 /**
136136 * Tune encoder for specific input.
@@ -177,7 +177,7 @@ typedef enum BrotliEncoderParameter {
177177 */
178178 BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING = 4 ,
179179 /**
180- * Estimated total input size for all ::BrotliEncoderCompressStream calls.
180+ * Estimated total input size for all ::MonoBrotliEncoderCompressStream calls.
181181 *
182182 * The default value is 0, which means that the total input size is unknown.
183183 */
@@ -223,8 +223,8 @@ typedef enum BrotliEncoderParameter {
223223/**
224224 * Opaque structure that holds encoder state.
225225 *
226- * Allocated and initialized with ::BrotliEncoderCreateInstance .
227- * Cleaned up and deallocated with ::BrotliEncoderDestroyInstance .
226+ * Allocated and initialized with ::MonoBrotliEncoderCreateInstance .
227+ * Cleaned up and deallocated with ::MonoBrotliEncoderDestroyInstance .
228228 */
229229typedef struct BrotliEncoderStateStruct BrotliEncoderState ;
230230
@@ -242,7 +242,7 @@ typedef struct BrotliEncoderStateStruct BrotliEncoderState;
242242 * @warning invalid values might be accepted in case they would not break
243243 * encoding process.
244244 */
245- BROTLI_ENC_API BROTLI_BOOL BrotliEncoderSetParameter (
245+ BROTLI_ENC_API BROTLI_BOOL MonoBrotliEncoderSetParameter (
246246 BrotliEncoderState * state , BrotliEncoderParameter param , uint32_t value );
247247
248248/**
@@ -259,21 +259,21 @@ BROTLI_ENC_API BROTLI_BOOL BrotliEncoderSetParameter(
259259 * @returns @c 0 if instance can not be allocated or initialized
260260 * @returns pointer to initialized ::BrotliEncoderState otherwise
261261 */
262- BROTLI_ENC_API BrotliEncoderState * BrotliEncoderCreateInstance (
262+ BROTLI_ENC_API BrotliEncoderState * MonoBrotliEncoderCreateInstance (
263263 brotli_alloc_func alloc_func , brotli_free_func free_func , void * opaque );
264264
265265/**
266266 * Deinitializes and frees ::BrotliEncoderState instance.
267267 *
268268 * @param state decoder instance to be cleaned up and deallocated
269269 */
270- BROTLI_ENC_API void BrotliEncoderDestroyInstance (BrotliEncoderState * state );
270+ BROTLI_ENC_API void MonoBrotliEncoderDestroyInstance (BrotliEncoderState * state );
271271
272272/**
273273 * Calculates the output size bound for the given @p input_size.
274274 *
275275 * @warning Result is only valid if quality is at least @c 2 and, in
276- * case ::BrotliEncoderCompressStream was used, no flushes
276+ * case ::MonoBrotliEncoderCompressStream was used, no flushes
277277 * (::BROTLI_OPERATION_FLUSH) were performed.
278278 *
279279 * @param input_size size of projected input
@@ -309,7 +309,7 @@ BROTLI_ENC_API size_t BrotliEncoderMaxCompressedSize(size_t input_size);
309309 * @returns ::BROTLI_FALSE if output buffer is too small
310310 * @returns ::BROTLI_TRUE otherwise
311311 */
312- BROTLI_ENC_API BROTLI_BOOL BrotliEncoderCompress (
312+ BROTLI_ENC_API BROTLI_BOOL MonoBrotliEncoderCompress (
313313 int quality , int lgwin , BrotliEncoderMode mode , size_t input_size ,
314314 const uint8_t input_buffer [BROTLI_ARRAY_PARAM (input_size )],
315315 size_t * encoded_size ,
@@ -348,17 +348,17 @@ BROTLI_ENC_API BROTLI_BOOL BrotliEncoderCompress(
348348 * completing the current output block, so it could be fully decoded by stream
349349 * decoder. To perform flush set @p op to ::BROTLI_OPERATION_FLUSH.
350350 * Under some circumstances (e.g. lack of output stream capacity) this operation
351- * would require several calls to ::BrotliEncoderCompressStream . The method must
351+ * would require several calls to ::MonoBrotliEncoderCompressStream . The method must
352352 * be called again until both input stream is depleted and encoder has no more
353- * output (see ::BrotliEncoderHasMoreOutput ) after the method is called.
353+ * output (see ::MonoBrotliEncoderHasMoreOutput ) after the method is called.
354354 *
355355 * Finishing the stream means encoding of all input passed to encoder and
356356 * adding specific "final" marks, so stream decoder could determine that stream
357357 * is complete. To perform finish set @p op to ::BROTLI_OPERATION_FINISH.
358358 * Under some circumstances (e.g. lack of output stream capacity) this operation
359- * would require several calls to ::BrotliEncoderCompressStream . The method must
359+ * would require several calls to ::MonoBrotliEncoderCompressStream . The method must
360360 * be called again until both input stream is depleted and encoder has no more
361- * output (see ::BrotliEncoderHasMoreOutput ) after the method is called.
361+ * output (see ::MonoBrotliEncoderHasMoreOutput ) after the method is called.
362362 *
363363 * @warning When flushing and finishing, @p op should not change until operation
364364 * is complete; input stream should not be swapped, reduced or
@@ -377,7 +377,7 @@ BROTLI_ENC_API BROTLI_BOOL BrotliEncoderCompress(
377377 * @returns ::BROTLI_FALSE if there was an error
378378 * @returns ::BROTLI_TRUE otherwise
379379 */
380- BROTLI_ENC_API BROTLI_BOOL BrotliEncoderCompressStream (
380+ BROTLI_ENC_API BROTLI_BOOL MonoBrotliEncoderCompressStream (
381381 BrotliEncoderState * state , BrotliEncoderOperation op , size_t * available_in ,
382382 const uint8_t * * next_in , size_t * available_out , uint8_t * * next_out ,
383383 size_t * total_out );
@@ -399,15 +399,15 @@ BROTLI_ENC_API BROTLI_BOOL BrotliEncoderIsFinished(BrotliEncoderState* state);
399399 * @returns ::BROTLI_TRUE, if encoder has some unconsumed output
400400 * @returns ::BROTLI_FALSE otherwise
401401 */
402- BROTLI_ENC_API BROTLI_BOOL BrotliEncoderHasMoreOutput (
402+ BROTLI_ENC_API BROTLI_BOOL MonoBrotliEncoderHasMoreOutput (
403403 BrotliEncoderState * state );
404404
405405/**
406406 * Acquires pointer to internal output buffer.
407407 *
408408 * This method is used to make language bindings easier and more efficient:
409- * -# push data to ::BrotliEncoderCompressStream ,
410- * until ::BrotliEncoderHasMoreOutput returns BROTL_TRUE
409+ * -# push data to ::MonoBrotliEncoderCompressStream ,
410+ * until ::MonoBrotliEncoderHasMoreOutput returns BROTL_TRUE
411411 * -# use ::BrotliEncoderTakeOutput to peek bytes and copy to language-specific
412412 * entity
413413 *
0 commit comments