summaryrefslogtreecommitdiff
path: root/libavcodec/libdirac_libschro.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-08-15 11:42:15 +0000
committerDiego Biurrun <diego@biurrun.de>2009-08-15 11:42:15 +0000
commit0ebe3b8e2bf74503d7c9cc383e29254a3cb06d55 (patch)
tree1418df21aaebbbaa788197bd6044ca630cce74e7 /libavcodec/libdirac_libschro.h
parentc64380009d7765cafc754f7084abde497638fdd3 (diff)
cosmetics: indentation, prettyprinting, K&R coding style
Originally committed as revision 19652 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libdirac_libschro.h')
-rw-r--r--libavcodec/libdirac_libschro.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/libavcodec/libdirac_libschro.h b/libavcodec/libdirac_libschro.h
index 72b73814b0..2d47a0c406 100644
--- a/libavcodec/libdirac_libschro.h
+++ b/libavcodec/libdirac_libschro.h
@@ -28,8 +28,7 @@
#include "avcodec.h"
-typedef struct
-{
+typedef struct {
uint16_t width;
uint16_t height;
uint16_t frame_rate_num;
@@ -39,13 +38,12 @@ typedef struct
/**
* Returns the index into the Dirac Schro common video format info table
*/
-unsigned int ff_dirac_schro_get_video_format_idx (AVCodecContext *avccontext);
+unsigned int ff_dirac_schro_get_video_format_idx(AVCodecContext *avccontext);
/**
* contains a single encoded frame returned from Dirac or Schroedinger
*/
-typedef struct FfmpegDiracSchroEncodedFrame
-{
+typedef struct FfmpegDiracSchroEncodedFrame {
/** encoded frame data */
uint8_t *p_encbuf;
@@ -62,8 +60,7 @@ typedef struct FfmpegDiracSchroEncodedFrame
/**
* queue element
*/
-typedef struct FfmpegDiracSchroQueueElement
-{
+typedef struct FfmpegDiracSchroQueueElement {
/** Data to be stored in queue*/
void *data;
/** Pointer to next element queue */
@@ -74,8 +71,7 @@ typedef struct FfmpegDiracSchroQueueElement
/**
* A simple queue implementation used in libdirac and libschroedinger
*/
-typedef struct FfmpegDiracSchroQueue
-{
+typedef struct FfmpegDiracSchroQueue {
/** Pointer to head of queue */
FfmpegDiracSchroQueueElement *p_head;
/** Pointer to tail of queue */
@@ -92,12 +88,12 @@ void ff_dirac_schro_queue_init(FfmpegDiracSchroQueue *queue);
/**
* Add an element to the end of the queue
*/
-int ff_dirac_schro_queue_push_back (FfmpegDiracSchroQueue *queue, void *p_data);
+int ff_dirac_schro_queue_push_back(FfmpegDiracSchroQueue *queue, void *p_data);
/**
* Return the first element in the queue
*/
-void *ff_dirac_schro_queue_pop (FfmpegDiracSchroQueue *queue);
+void *ff_dirac_schro_queue_pop(FfmpegDiracSchroQueue *queue);
/**
* Free the queue resources. free_func is a function supplied by the caller to