Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
26
Src/h264dec/ldecod/inc/meminput.h
Normal file
26
Src/h264dec/ldecod/inc/meminput.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef _MEMINPUT_H
|
||||
#define _MEMINPUT_H
|
||||
#pragma once
|
||||
|
||||
#include "nalucommon.h"
|
||||
#include <bfc/platform/types.h>
|
||||
|
||||
typedef struct memory_input_struct
|
||||
{
|
||||
const uint8_t *user_buffer;
|
||||
size_t user_buffer_size;
|
||||
size_t user_buffer_read;
|
||||
|
||||
uint8_t *Buf;
|
||||
int resetting;
|
||||
int skip_b_frames;
|
||||
} memory_input_t;
|
||||
|
||||
int GetMemoryNALU (VideoParameters *p_Vid, NALU_t *nalu);
|
||||
void OpenMemory(VideoParameters *p_Vid, const char *fn);
|
||||
void CloseMemory(VideoParameters *p_Vid);
|
||||
void malloc_mem_input(VideoParameters *p_Vid);
|
||||
void free_mem_input(VideoParameters *p_Vid);
|
||||
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue