Lines Matching defs:buffer

1974             uint64_t buffer;
1978 buffer = avio_rb64(pb);
1980 if ( (buffer & 0xFFFFFFFF) == MKBETAG('f','r','m','a')
1981 && buffer >> 32 <= atom.size
1982 && buffer >> 32 >= 8) {
1993 AV_WB64(st->codecpar->extradata + 12, buffer);
3706 int64_t pts_buf[MAX_REORDER_DELAY + 1]; // Circular buffer to sort pts.
3717 // Point j to the last elem of the buffer and insert the current pts there.
3725 // The timestamps that are already in the sorted buffer, and are greater than the
3728 // Hence the video delay (which is the buffer size used to sort DTS and output PTS),
3730 // go through, to keep this buffer in sorted order.
3850 av_log(mov->fc, AV_LOG_ERROR, "Cannot allocate index ranges buffer\n");
4004 av_log(mov->fc, AV_LOG_ERROR, "Cannot reallocate frame duration buffer\n");
6129 uint8_t *buffer = av_malloc(len + 1);
6132 if (!buffer)
6134 buffer[len] = '\0';
6136 ret = ffio_read_size(pb, buffer, len);
6142 av_stristr(buffer, "<GSpherical:StitchingSoftware>") &&
6143 (val = av_stristr(buffer, "<GSpherical:Spherical>")) &&
6145 (val = av_stristr(buffer, "<GSpherical:Stitched>")) &&
6147 (val = av_stristr(buffer, "<GSpherical:ProjectionType>")) &&
6155 if (av_stristr(buffer, "<GSpherical:StereoMode>") && !sc->stereo3d) {
6158 if (av_stristr(buffer, "left-right"))
6160 else if (av_stristr(buffer, "top-bottom"))
6173 val = av_stristr(buffer, "<GSpherical:InitialViewHeadingDegrees>");
6176 val = av_stristr(buffer, "<GSpherical:InitialViewPitchDegrees>");
6179 val = av_stristr(buffer, "<GSpherical:InitialViewRollDegrees>");
6185 av_free(buffer);
6220 uint8_t *buffer, *ptr;
6230 buffer = av_mallocz(len + 1);
6231 if (!buffer) {
6234 ret = ffio_read_size(pb, buffer, len);
6236 av_free(buffer);
6240 ptr = buffer;
6247 av_free(buffer);
6259 av_free(buffer);
6261 uint8_t *buffer;
6264 buffer = av_mallocz(len + 1);
6265 if (!buffer) {
6268 ret = ffio_read_size(pb, buffer, len);
6270 av_free(buffer);
6273 buffer[len] = '\0';
6275 buffer, AV_DICT_DONT_STRDUP_VAL);
6584 * newly allocated buffer. This reads in small chunks to avoid allocating large
6590 uint8_t *buffer = NULL;
6595 uint8_t *new_buffer = av_fast_realloc(buffer, &alloc_size, new_size);
6598 av_free(buffer);
6601 buffer = new_buffer;
6603 if (avio_read(pb, buffer + offset, to_read) != to_read) {
6604 av_free(buffer);
6610 *data = buffer;