code cleanup - use google style for videodecode sample and RocVideoDecoder class - no functional change (#65)

* code cleanup - use google style for videodecode sample and RocVideoDecoder class - no functional change

* rename SaveSurfToFile to SaveFrameToFile
This commit is contained in:
Aryan Salmanpour
2023-11-15 15:49:16 -05:00
committad av GitHub
förälder a4652d6a53
incheckning 851c537904
8 ändrade filer med 162 tillägg och 179 borttagningar
+2 -2
Visa fil
@@ -35,7 +35,7 @@ THE SOFTWARE.
#else
#include <experimental/filesystem>
#endif
#include "video_demuxer.hpp"
#include "video_demuxer.h"
#include "roc_video_dec.h"
static int *n_total;
@@ -67,7 +67,7 @@ int main(int argc, char **argv) {
int n_fork = 4;
int device_id = 0;
Rect *p_crop_rect = nullptr;
OUTPUT_SURF_MEMORY_TYPE mem_type = OUT_SURFACE_MEM_DEV_INTERNAL; // set to internal
OutputSurfaceMemoryType mem_type = OUT_SURFACE_MEM_DEV_INTERNAL; // set to internal
// Parse command-line arguments
if(argc < 1) {