Skip to content

Commit

Permalink
Merge pull request #9 from ittiam-systems/Muxer_updation
Browse files Browse the repository at this point in the history
Muxer updates
  • Loading branch information
SakethSathuvalli authored May 27, 2024
2 parents c6ddbea + 0cf0258 commit 26404e6
Show file tree
Hide file tree
Showing 9 changed files with 2,745 additions and 757 deletions.
1 change: 1 addition & 0 deletions encoder/impeghe_bitbuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ typedef struct ia_bit_buf_struct
WORD32 read_position;
WORD32 write_position;
WORD32 cnt_bits;
WORD32 bit_pos;
WORD32 size;
jmp_buf *impeghe_jmp_buf;
} ia_bit_buf_struct;
Expand Down
8 changes: 7 additions & 1 deletion encoder/impeghe_mhas_write.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,19 @@
#define MAX_NUM_CONTENT_DATA_BLOCKS (128)

#define MAX_NUM_DESCRIPTOIN_BLOCKS (128)
#define MAX_NUM_DESCR_LANGUAGES (16)
#define MAX_DESCR_LANGUAGE_DATA_LEN (16)
#define MAX_DESCRIPTON_DATA_LEN (256)
#define MAX_NUM_COMPOSITE_PAIRS (128)
#define MAX_NUM_TGT_LOUDNESS_CONDITIONS (7)
#define MAX_NUM_PRESET_PROD_SCREENS (31)

#define UNIDRCLOUDEXT_TERM (0x0)
#define UNIDRCLOUDEXT_EQ (0x1)

#define UNIDRCCONFEXT_TERM (0x0)
#define UNIDRCCONFEXT_PARAM_DRC (0x1)
#define UNIDRCCONFEXT_V1 (0x2)

// structures
typedef struct
{
Expand Down
7 changes: 7 additions & 0 deletions test/impegh_mp4_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -2331,6 +2331,13 @@ IA_ERRORCODE impegh_mp4_read_samples(pVOID fp, ia_mp4_sample_entry **n, ia_mp4_m
}
return IT_OK;
}
if (len == 0)
{
return IT_OK;
//no child atoms of mhm1
}
//reading child atoms of mhm1

ret = impegh_mp4_fread(charbuf, 1, 4, fp);
if (ret < 4)
{
Expand Down
Loading

0 comments on commit 26404e6

Please sign in to comment.