Searched refs:opus_encode (Results 1 - 6 of 6) sorted by relevance
/external/libopus/doc/ |
H A D | trivial_example.c | 126 nbBytes = opus_encode(encoder, in, FRAME_SIZE, cbits, MAX_PACKET_SIZE);
|
/external/libopus/include/ |
H A D | opus.h | 129 * To encode a frame, opus_encode() or opus_encode_float() must be called with exactly one frame (2.5, 5, 10, 20, 40 or 60 ms) of audio data: 131 * len = opus_encode(enc, audio_frame, frame_size, packet, max_packet); 143 * opus_encode() and opus_encode_float() return the number of bytes actually written to the packet. 263 OPUS_EXPORT OPUS_WARN_UNUSED_RESULT opus_int32 opus_encode(
|
/external/libopus/tests/ |
H A D | test_opus_encode.c | 280 len = opus_encode(enc, &inbuf[i<<1], frame_size, packet, MAX_PACKET); 409 len = opus_encode(enc, &inbuf[offset<<1], frame_size, packet, MAX_PACKET);
|
H A D | test_opus_api.c | 1407 i=opus_encode(enc, sbuf, 960, packet, sizeof(packet)); 1411 fprintf(stdout," opus_encode() ................................ OK.\n"); 1426 if(opus_encode(0,sbuf,960,packet,sizeof(packet)) !=OPUS_INVALID_STATE)test_failed();
|
/external/libopus/src/ |
H A D | opus_demo.c | 191 #define opus_encode opus_multistream_encode 702 len[toggle] = opus_encode(enc, in, frame_size, data[toggle], max_payload_bytes); 725 fprintf (stderr, "opus_encode() returned %d\n", len[toggle]);
|
H A D | opus_encoder.c | 1964 opus_int32 opus_encode(OpusEncoder *st, const opus_int16 *pcm, int analysis_frame_size, function 1984 opus_int32 opus_encode(OpusEncoder *st, const opus_int16 *pcm, int analysis_frame_size, function
|
Completed in 150 milliseconds