samples/00_video_decode/video_decode_main.cpp File Reference

#include "NvApplicationProfiler.h"
#include "NvUtils.h"
#include <errno.h>
#include <fstream>
#include <iostream>
#include <linux/videodev2.h>
#include <malloc.h>
#include <pthread.h>
#include <string.h>
#include <unistd.h>
#include "video_decode.h"

Go to the source code of this file.

Defines

#define TEST_ERROR(cond, str, label)
#define CHUNK_SIZE   4000000
#define MIN(a, b)   (((a) < (b)) ? (a) : (b))
#define IS_NAL_UNIT_START(buffer_ptr)
#define IS_NAL_UNIT_START1(buffer_ptr)

Functions

int main (int argc, char *argv[])


Define Documentation

#define CHUNK_SIZE   4000000

Definition at line 47 of file video_decode_main.cpp.

#define IS_NAL_UNIT_START ( buffer_ptr   ) 

Value:

(!buffer_ptr[0] && !buffer_ptr[1] && \
        !buffer_ptr[2] && (buffer_ptr[3] == 1))

Definition at line 50 of file video_decode_main.cpp.

#define IS_NAL_UNIT_START1 ( buffer_ptr   ) 

Value:

(!buffer_ptr[0] && !buffer_ptr[1] && \
        (buffer_ptr[2] == 1))

Definition at line 53 of file video_decode_main.cpp.

#define MIN ( a,
 )     (((a) < (b)) ? (a) : (b))

Definition at line 48 of file video_decode_main.cpp.

#define TEST_ERROR ( cond,
str,
label   ) 

Value:

if(cond) { \
                                        cerr << str << endl; \
                                        error = 1; \
                                        goto label; }

Definition at line 42 of file video_decode_main.cpp.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 717 of file video_decode_main.cpp.


Generated on Wed Nov 9 19:52:25 2016 for NVIDIA Tegra Multimedia API Framework by  doxygen 1.5.8