video_streamer_vlc
Classes | Functions
VlcStream.hpp File Reference
#include <stdio.h>
#include <stdint.h>
#include <string>
#include <vlc/vlc.h>
#include <pthread.h>
#include <opencv2/opencv.hpp>

Go to the source code of this file.

Classes

class  VlcStream
 

Functions

int vlc_imem_get_callback (void *data, const char *cookie, int64_t *dts, int64_t *pts, unsigned *flags, size_t *size, void **output)
 
void vlc_imem_release_callback (void *data, const char *cookie, size_t size, void *unknown)
 

Function Documentation

◆ vlc_imem_get_callback()

int vlc_imem_get_callback ( void *  data,
const char *  cookie,
int64_t *  dts,
int64_t *  pts,
unsigned *  flags,
size_t *  size,
void **  output 
)

lock and set the pointer to image buffer

◆ vlc_imem_release_callback()

void vlc_imem_release_callback ( void *  data,
const char *  cookie,
size_t  size,
void *  unknown 
)

image buffer full, unlock at end