mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
metadata: opus, vorbis, speex: support embedded jpeg album art
It includes .opus, .ogg, .oga, .spx files Change-Id: I3d0ee9806b05911fc8c3ce5cb761de87d4166141
This commit is contained in:
parent
95f4accf45
commit
0847bcc110
8 changed files with 300 additions and 149 deletions
|
|
@ -39,6 +39,25 @@ bool read_ape_tags(int fd, struct mp3entry* id3);
|
|||
long read_vorbis_tags(int fd, struct mp3entry *id3,
|
||||
long tag_remaining);
|
||||
|
||||
struct ogg_file
|
||||
{
|
||||
int fd;
|
||||
bool packet_ended;
|
||||
long packet_remaining;
|
||||
};
|
||||
|
||||
#ifdef HAVE_ALBUMART
|
||||
int id3_unsynchronize(char* tag, int len, bool *ff_found);
|
||||
|
||||
size_t base64_decode(const char *in, size_t in_len, unsigned char *out);
|
||||
|
||||
bool parse_flac_album_art(unsigned char *buf, int bytes_read, enum mp3_aa_type *type, int *picframe_pos);
|
||||
|
||||
int get_ogg_format_and_move_to_comments(int fd, unsigned char *buf);
|
||||
bool ogg_file_init(struct ogg_file* file, int fd, int type, int remaining);
|
||||
ssize_t ogg_file_read(struct ogg_file* file, void* buffer, size_t buffer_size);
|
||||
#endif
|
||||
|
||||
int string_option(const char *option, const char *const oplist[], bool ignore_case);
|
||||
bool skip_id3v2(int fd, struct mp3entry *id3);
|
||||
long read_string(int fd, char* buf, long buf_size, int eos, long size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue