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

FITS muxer. More...

#include "internal.h"

Go to the source code of this file.

Data Structures

struct  FITSContext


static int fits_write_header (AVFormatContext *s)
static int write_keyword_value (AVFormatContext *s, const char *keyword, int value, int *lines_written)
 Write one header line comprising of keyword and value(int) More...
static int write_image_header (AVFormatContext *s)
static int fits_write_packet (AVFormatContext *s, AVPacket *pkt)


AVOutputFormat ff_fits_muxer

Detailed Description

FITS muxer.

Definition in file fitsenc.c.

Function Documentation

static int fits_write_header ( AVFormatContext s)

Definition at line 33 of file fitsenc.c.

static int write_keyword_value ( AVFormatContext s,
const char *  keyword,
int  value,
int lines_written 

Write one header line comprising of keyword and value(int)

sAVFormat Context
keywordpointer to the char array in which keyword is stored
valuethe value corresponding to the keyword
lines_writtento keep track of lines written so far

Definition at line 48 of file fitsenc.c.

Referenced by write_image_header().

static int write_image_header ( AVFormatContext s)

Definition at line 68 of file fitsenc.c.

Referenced by fits_write_packet().

static int fits_write_packet ( AVFormatContext s,
AVPacket pkt 

Definition at line 169 of file fitsenc.c.

Variable Documentation

AVOutputFormat ff_fits_muxer
Initial value:
= {
.name = "fits",
.long_name = NULL_IF_CONFIG_SMALL("Flexible Image Transport System"),
.extensions = "fits",
.priv_data_size = sizeof(FITSContext),
.audio_codec = AV_CODEC_ID_NONE,
.video_codec = AV_CODEC_ID_FITS,
static void write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int unqueue)
Definition: ffmpeg.c:689
static int fits_write_header(AVFormatContext *s)
Definition: fitsenc.c:33
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int fits_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: fitsenc.c:169
static void write_header(FFV1Context *f)
Definition: ffv1enc.c:337

Definition at line 178 of file fitsenc.c.