Skip to content

Commit

Permalink
x264lib: add missing prototype for change_encoding_speed
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@777 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
Arthur Huillet committed Apr 28, 2012
1 parent 3a2a152 commit 41b65a1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/xpra/x264/x264lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ int compress_image(struct x264lib_ctx *, const uint8_t *in, int stride, uint8_t
@param outstride: Output stride.
*/
int decompress_image(struct x264lib_ctx *, uint8_t *in, int size, uint8_t **out, int *outsize, int *outstride);

/**
* Change the speed of encoding (x264 preset).
* @param increase: increase encoding speed (decrease preset) by this value. Negative values decrease encoding speed.
*/
void change_encoding_speed(struct x264lib_ctx *ctx, int increase);

0 comments on commit 41b65a1

Please sign in to comment.