Displaying 2 results from an estimated 2 matches for "enc_size".
Did you mean:
desc_size
2017 Apr 06
1
Encoding OPUS with difference bitrates
...opus_encoder_ctl(enc, OPUS_SET_BITRATE(bitrate_bps));
len[toggle] = opus_encode(enc, in, frame_size,
data[toggle], max_payload_bytes);
}
if(1)
{
opus_encoder_ctl(enc, OPUS_SET_BITRATE(32000));
enc_size = opus_encode(enc, in, frame_size, tmpBuffer,
max_payload_bytes);
if (enc_size < 0)
{
fprintf (stderr, "opus_encode() returned %d\n",
enc_size);
return EXIT_FAILURE;
}
T...
2012 Sep 17
9
[PATCH] Upgrade vtpmd to berlios version 0.7.4
...ge.c
tpm_emulator/tpm/tpm_storage.c
---- orig/tpm_emulator-0.4/tpm/tpm_storage.c 2006-06-23
03:37:07.000000000 -0700
-+++ tpm_emulator/tpm/tpm_storage.c 2006-07-24 14:35:35.000000000 -0700
-@@ -58,6 +58,7 @@ int encrypt_sealed_data(TPM_KEY_DATA *ke
- BYTE *enc, UINT32 *enc_size)
- {
- UINT32 len;
-+ size_t enc_size32 = *enc_size;
- BYTE *buf, *ptr;
- rsa_public_key_t pub_key;
- int scheme;
-@@ -72,7 +73,7 @@ int encrypt_sealed_data(TPM_KEY_DATA *ke
- if (buf == NULL
- || tpm_marshal_TPM_SEALED_DATA(&ptr, &len, seal)
- || rsa_encrypt(&pub...