diff options
author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/h264dec/ldecod/inc/meminput.h | |
parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz |
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/h264dec/ldecod/inc/meminput.h')
-rw-r--r-- | Src/h264dec/ldecod/inc/meminput.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Src/h264dec/ldecod/inc/meminput.h b/Src/h264dec/ldecod/inc/meminput.h new file mode 100644 index 00000000..babaf2f0 --- /dev/null +++ b/Src/h264dec/ldecod/inc/meminput.h @@ -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 + |