Home
last modified time | relevance | path

Searched refs:prebuffer (Results 1 - 3 of 3) sorted by relevance

/third_party/cJSON/
H A DcJSON.h172 /* Render a cJSON entity to text using a buffered strategy. prebuffer is a guess at the final size. guessing well reduces reallocation. fmt=0 gives unformatted, =1 gives formatted */
173 CJSON_PUBLIC(char *) cJSON_PrintBuffered(const cJSON *item, int prebuffer, cJSON_bool fmt);
H A DcJSON.c1505 CJSON_PUBLIC(char *) cJSON_PrintBuffered(const cJSON *item, int prebuffer, cJSON_bool fmt) in cJSON_PrintBuffered() argument
1509 if (prebuffer < 0) in cJSON_PrintBuffered()
1514 p.buffer = (unsigned char*)global_hooks.allocate((size_t)prebuffer); in cJSON_PrintBuffered()
1520 p.length = (size_t)prebuffer; in cJSON_PrintBuffered()
/third_party/ffmpeg/libavformat/
H A Dmatroskadec.c4199 double pre_sec, prebuffer, bits_per_second; in webm_dash_manifest_compute_bandwidth() local
4208 // Figure out how much data we have downloaded for the prebuffer. This will in webm_dash_manifest_compute_bandwidth()
4217 // The prebuffer is larger than the duration. in webm_dash_manifest_compute_bandwidth()
4222 // The prebuffer ends in the last Cue. Estimate how much data was in webm_dash_manifest_compute_bandwidth()
4232 prebuffer = prebuffer_ns / nano_seconds_per_second; in webm_dash_manifest_compute_bandwidth()
4234 // Set this to 0.0 in case our prebuffer buffers the entire video. in webm_dash_manifest_compute_bandwidth()
4250 if (prebuffer < desc_sec) { in webm_dash_manifest_compute_bandwidth()
4258 double buffer = prebuffer; in webm_dash_manifest_compute_bandwidth()

Completed in 11 milliseconds