Home
last modified time | relevance | path

Searched refs:encode_buf (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dsgienc.c98 uint8_t *in_buf, *encode_buf; in encode_frame() local
212 if (!(encode_buf = av_malloc(width * bytes_per_channel))) in encode_frame()
223 encode_buf[x] = in_buf[depth * x]; in encode_frame()
225 encode_buf[x + 1] = in_buf[depth * x]; in encode_frame()
226 encode_buf[x] = in_buf[depth * x + 1]; in encode_frame()
228 encode_buf[x] = in_buf[depth * x]; in encode_frame()
229 encode_buf[x + 1] = in_buf[depth * x + 1]; in encode_frame()
232 length = sgi_rle_encode(&pbc, encode_buf, width, in encode_frame()
235 av_free(encode_buf); in encode_frame()
244 av_free(encode_buf); in encode_frame()
/third_party/mbedtls/library/
Dpem.c585 unsigned char *encode_buf = NULL, *c, *p = buf; in mbedtls_pem_write_buffer() local
597 ((encode_buf = mbedtls_calloc(1, use_len)) == NULL)) { in mbedtls_pem_write_buffer()
601 if ((ret = mbedtls_base64_encode(encode_buf, use_len, &use_len, der_data, in mbedtls_pem_write_buffer()
603 mbedtls_free(encode_buf); in mbedtls_pem_write_buffer()
609 c = encode_buf; in mbedtls_pem_write_buffer()
629 mbedtls_free(encode_buf); in mbedtls_pem_write_buffer()