Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

JPEG parser and decoder for libyami #8

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions codecparsers/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ libcodecparser_source_c = \
vc1parser.c \
dboolhuff.c \
vp8parser.c \
jpegparser.c \
parserutils.c \
nalreader.c \
$(NULL)
Expand All @@ -19,6 +20,7 @@ libcodecparser_source_h = \
mpeg4parser.h \
vc1parser.h \
vp8parser.h \
jpegparser.h \
parserutils.h \
basictype.h \
nalreader.h \
Expand Down
3 changes: 3 additions & 0 deletions codecparsers/basictype.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
if (!(condition)) \
return (value);

#define N_ELEMENTS(array) \
(sizeof(array)/sizeof((array)[0]))

typedef signed char schar;
typedef signed char int8;
typedef short int16;
Expand Down
Loading