diff libdirac_libschro.h @ 10060:965220ebc611 libavcodec

cosmetics: indentation, prettyprinting, K&R coding style
author diego
date Sat, 15 Aug 2009 11:42:15 +0000
parents e9d9d946f213
children 7dd2a45249a9
line wrap: on
line diff
--- a/libdirac_libschro.h	Sat Aug 15 11:32:11 2009 +0000
+++ b/libdirac_libschro.h	Sat Aug 15 11:42:15 2009 +0000
@@ -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 @@
 /**
 * 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 @@
 /**
 * 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 @@
 /**
 * 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 @@
 /**
 * 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