FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
exif.c File Reference

EXIF metadata parser. More...

#include "exif.h"

Go to the source code of this file.

Functions

static const char * exif_get_tag_name (uint16_t id)
 
static int exif_add_metadata (AVCodecContext *avctx, int count, int type, const char *name, const char *sep, GetByteContext *gb, int le, AVDictionary **metadata)
 
static int exif_decode_tag (AVCodecContext *avctx, GetByteContext *gbytes, int le, int depth, AVDictionary **metadata)
 
int ff_exif_decode_ifd (AVCodecContext *avctx, GetByteContext *gbytes, int le, int depth, AVDictionary **metadata)
 Recursively decodes all IFD's and adds included TAGS into the metadata dictionary.
 

Detailed Description

EXIF metadata parser.

Author
Thilo Borgmann <thilo.borgmann at mail.de>

Definition in file exif.c.

Function Documentation

static const char* exif_get_tag_name ( uint16_t  id)
static

Definition at line 31 of file exif.c.

Referenced by exif_decode_tag().

static int exif_add_metadata ( AVCodecContext avctx,
int  count,
int  type,
const char *  name,
const char *  sep,
GetByteContext gb,
int  le,
AVDictionary **  metadata 
)
static

Definition at line 44 of file exif.c.

Referenced by exif_decode_tag().

static int exif_decode_tag ( AVCodecContext avctx,
GetByteContext gbytes,
int  le,
int  depth,
AVDictionary **  metadata 
)
static

Definition at line 66 of file exif.c.

Referenced by ff_exif_decode_ifd().

int ff_exif_decode_ifd ( AVCodecContext avctx,
GetByteContext gbytes,
int  le,
int  depth,
AVDictionary **  metadata 
)

Recursively decodes all IFD's and adds included TAGS into the metadata dictionary.

Definition at line 110 of file exif.c.

Referenced by exif_decode_tag(), and mjpeg_decode_app().