Lines Matching refs:cookie
367 // and hook functions, pass ourself as cookie.
500 StreamCookie* cookie = new(std::nothrow) StreamCookie(fContext,
503 status_t ret = cookie->Init(format, codecInfo);
505 delete cookie;
509 *_cookie = cookie;
519 StreamCookie* cookie = reinterpret_cast<StreamCookie*>(_cookie);
520 delete cookie;
530 AVFormatWriter::SetCopyright(void* cookie, const char* copyright)
532 TRACE("AVFormatWriter::SetCopyright(%p, %s)\n", cookie, copyright);
545 StreamCookie* cookie = reinterpret_cast<StreamCookie*>(_cookie);
546 return cookie->AddTrackInfo(code, data, size, flags);
557 StreamCookie* cookie = reinterpret_cast<StreamCookie*>(_cookie);
558 return cookie->WriteChunk(chunkBuffer, chunkSize, encodeInfo);
566 AVFormatWriter::_Write(void* cookie, uint8* buffer, int bufferSize)
569 cookie, buffer, bufferSize);
571 AVFormatWriter* writer = reinterpret_cast<AVFormatWriter*>(cookie);
582 AVFormatWriter::_Seek(void* cookie, off_t offset, int whence)
585 cookie, offset, whence);
587 AVFormatWriter* writer = reinterpret_cast<AVFormatWriter*>(cookie);