Browse code

add a comment to indicate which #endif belong to which #define

Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk

Guillaume Poirier authored on 2007/06/18 03:59:28
Showing 51 changed files
... ...
@@ -51,4 +51,4 @@
51 51
 
52 52
 #endif
53 53
 
54
-#endif
54
+#endif // AVCODEC_ARM_MATHOPS_H
... ...
@@ -137,4 +137,4 @@ static const float qmf_48tap_half[24] = {
137 137
 /* joint stereo related tables */
138 138
 static const float matrixCoeffs[8] = {0.0, 2.0, 2.0, 2.0, 0.0, 0.0, 1.0, 1.0};
139 139
 
140
-#endif
140
+#endif // AVCODEC_ATRAC3DATA_H
... ...
@@ -12,4 +12,4 @@ enum BethsoftVidBlockType
12 12
     EOF_BLOCK           = 0x14,
13 13
 };
14 14
 
15
-#endif
15
+#endif // AVCODEC_BETHSOFTVIDEO_H
... ...
@@ -35,4 +35,4 @@ typedef enum {
35 35
     BMP_BITFIELDS   =3,
36 36
 } BiCompression;
37 37
 
38
-#endif
38
+#endif // AVCODEC_BMP_H
... ...
@@ -518,4 +518,4 @@ static const int_fast8_t top_modifier_l[8]  = {-1, 1, 5,-1,-1, 5, 7, 7};
518 518
 static const int_fast8_t left_modifier_c[7] = { 5,-1, 2,-1, 6, 5, 6};
519 519
 static const int_fast8_t top_modifier_c[7]  = { 4, 1,-1,-1, 4, 6, 6};
520 520
 
521
-#endif
521
+#endif // AVCODEC_CAVSDATA_H
... ...
@@ -563,4 +563,4 @@ static const float* cplscales[5] = {
563 563
     cplscale2, cplscale3, cplscale4, cplscale5, cplscale6,
564 564
 };
565 565
 
566
-#endif
566
+#endif // AVCODEC_COOKDATA_H
... ...
@@ -31,4 +31,4 @@
31 31
 #define DCA_MARKER_14B_BE 0x1FFFE800
32 32
 #define DCA_MARKER_14B_LE 0xFF1F00E8
33 33
 
34
-#endif
34
+#endif // AVCODEC_DCA_H
... ...
@@ -8471,4 +8471,4 @@ where Ch(n) represents the subband samples in the (n)th audio channel.
8471 8471
 
8472 8472
 */
8473 8473
 
8474
-#endif
8474
+#endif // AVCODEC_DCADATA_H
... ...
@@ -1073,4 +1073,4 @@ static const uint8_t* bitalloc_bits[10][8] = {
1073 1073
     bitalloc_129_bits_e, bitalloc_129_bits_f, bitalloc_129_bits_g, NULL }
1074 1074
 };
1075 1075
 
1076
-#endif
1076
+#endif // AVCODEC_DCAHUFF_H
... ...
@@ -110,4 +110,4 @@ static const uint8_t dnxhd_1238_run[62] = {
110 110
     1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20, 21, 17, 18, 19, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
111 111
 };
112 112
 
113
-#endif
113
+#endif  // AVCODEC_DNXHDDATA_H
... ...
@@ -2729,4 +2729,4 @@ static inline int dv_write_ssyb_id(uint8_t syb_num, uint8_t fr, uint8_t* buf)
2729 2729
     return 3;
2730 2730
 }
2731 2731
 
2732
-#endif
2732
+#endif // AVCODEC_DVDATA_H
... ...
@@ -52,4 +52,4 @@ void ff_init_elbg(int *points, int dim, int numpoints, int *codebook,
52 52
                   int numCB, int num_steps, int *closest_cb,
53 53
                   AVRandomState *rand_state);
54 54
 
55
-#endif
55
+#endif // AVCODEC_ELBG_H
... ...
@@ -37,4 +37,4 @@
37 37
 void ff_faandct(DCTELEM * data);
38 38
 void ff_faandct248(DCTELEM * data);
39 39
 
40
-#endif
40
+#endif // AVCODEC_FAANDCT_H
... ...
@@ -484,4 +484,4 @@ static inline void set_sr_golomb_flac(PutBitContext *pb, int i, int k, int limit
484 484
     set_ur_golomb_jpegls(pb, v, k, limit, esc_len);
485 485
 }
486 486
 
487
-#endif
487
+#endif // AVCODEC_GOLOMB_H
... ...
@@ -48,4 +48,4 @@ typedef struct H261Context{
48 48
 
49 49
 #define MB_TYPE_H261_FIL 0x800000
50 50
 
51
-#endif
51
+#endif AVCODEC_H261_H
... ...
@@ -161,4 +161,4 @@ static RLTable h261_rl_tcoeff = {
161 161
     h261_tcoeff_level,
162 162
 };
163 163
 
164
-#endif
164
+#endif // AVCODEC_H261DATA_H
... ...
@@ -26,4 +26,4 @@
26 26
 
27 27
 int ff_h263_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size);
28 28
 
29
-#endif
29
+#endif // AVCODEC_H263_PARSER_H
... ...
@@ -311,4 +311,4 @@ const uint8_t ff_h263_loop_filter_strength[32]={
311 311
     0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9,10,10,10,11,11,11,12,12,12
312 312
 };
313 313
 
314
-#endif
314
+#endif // AVCODEC_H263DATA_H
... ...
@@ -1329,4 +1329,4 @@ static const int cabac_context_init_PB[3][460][2] =
1329 1329
     }
1330 1330
 };
1331 1331
 
1332
-#endif
1332
+#endif // AVCODEC_H264DATA_H
... ...
@@ -42,4 +42,4 @@
42 42
      asm ("imull %2\n\t" : "=A"(rt) : "a" (ra), "g" (rb));\
43 43
      rt; })
44 44
 
45
-#endif
45
+#endif // AVCODEC_X86_MATHOPS_H
... ...
@@ -167,4 +167,4 @@ static const uint16_t imc_huffman_bits[4][4][18] = {
167 167
     }
168 168
 };
169 169
 
170
-#endif
170
+#endif // AVCODEC_IMCDATA_H
... ...
@@ -138,4 +138,4 @@ static const uint8_t ir2_luma_table[256] = {
138 138
  0x3F, 0x94, 0xD9, 0xD9, 0x27, 0x27, 0x80, 0x80
139 139
 };
140 140
 
141
-#endif
141
+#endif // AVCODEC_INDEO2DATA_H
... ...
@@ -2339,4 +2339,4 @@ static const uint32_t correctionhighorder[] = {
2339 2339
         0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
2340 2340
 };
2341 2341
 
2342
-#endif
2342
+#endif // AVCODEC_INDEO3DATA_H
... ...
@@ -210,4 +210,4 @@ static const float mpc7_SCF[128] = {
210 210
     0.000000044293003043, 0.000000036895215771, 0.000000030733001921, 0.000000025599996789
211 211
 };
212 212
 
213
-#endif
213
+#endif // AVCODEC_MPCDATA_H
... ...
@@ -479,4 +479,4 @@ static const uint8_t svcd_scan_offset_placeholder[14]={
479 479
     0xff, 0xff, 0xff,
480 480
 };
481 481
 
482
-#endif
482
+#endif // AVCODEC_MPEG12DATA_H
... ...
@@ -429,4 +429,4 @@ static const uint8_t mpeg4_dc_threshold[8]={
429 429
     99, 13, 15, 17, 19, 21, 23, 0
430 430
 };
431 431
 
432
-#endif
432
+#endif // AVCODEC_MPEG4DATA_H
... ...
@@ -603,4 +603,4 @@ static const float ci_table[8] = {
603 603
     -0.6, -0.535, -0.33, -0.185, -0.095, -0.041, -0.0142, -0.0037,
604 604
 };
605 605
 
606
-#endif
606
+#endif // AVCODEC_MPEGAUDIODECTAB_H
... ...
@@ -115,4 +115,4 @@ static const float fixed_smr[SBLIMIT] =  {
115 115
 
116 116
 static const unsigned char nb_scale_factors[4] = { 3, 2, 1, 2 };
117 117
 
118
-#endif
118
+#endif // AVCODEC_MPEGAUDIOTAB_H
... ...
@@ -2020,4 +2020,4 @@ static const uint8_t wmv2_scantableB[64]={
2020 2020
 0x13, 0x32, 0x1B, 0x3A, 0x23, 0x2B, 0x33, 0x3B,
2021 2021
 };
2022 2022
 
2023
-#endif
2023
+#endif // AVCODEC_MSMPEG4TAB_H
... ...
@@ -35,4 +35,4 @@
35 35
          __rt; })
36 36
 #endif
37 37
 
38
-#endif
38
+#endif // AVCODEC_PPC_MATHOPS_H
... ...
@@ -43,4 +43,4 @@
43 43
 #define zero_u32v (vec_u32_t) zerov
44 44
 #define zero_s32v (vec_s32_t) zerov
45 45
 
46
-#endif
46
+#endif // AVCODEC_TYPES_ALTIVEC_H
... ...
@@ -139,4 +139,4 @@ static inline int get_rac(RangeCoder *c, uint8_t * const state){
139 139
 #endif
140 140
 }
141 141
 
142
-#endif
142
+#endif // AVCODEC_RANGECODER_H
... ...
@@ -70,4 +70,4 @@ void ff_apply_motion_4x4(RoqContext *ri, int x, int y, int deltax, int deltay);
70 70
 
71 71
 void ff_apply_motion_8x8(RoqContext *ri, int x, int y, int deltax, int deltay);
72 72
 
73
-#endif
73
+#endif // AVCODEC_ROQVIDEO_H
... ...
@@ -43,4 +43,4 @@ void simple_idct248_put(uint8_t *dest, int line_size, DCTELEM *block);
43 43
 void simple_idct84_add(uint8_t *dest, int line_size, DCTELEM *block);
44 44
 void simple_idct48_add(uint8_t *dest, int line_size, DCTELEM *block);
45 45
 
46
-#endif
46
+#endif // AVCODEC_SIMPLE_IDCT_H
... ...
@@ -329,4 +329,4 @@ static inline void vis_alignaddrl_g0(void *_ptr)
329 329
 
330 330
 #define vis_pdist(rs1,rs2,rd)           vis_dd2d(0x3e, rs1, rs2, rd)
331 331
 
332
-#endif
332
+#endif // AVCODEC_VIS_H
... ...
@@ -1585,4 +1585,4 @@ static const int8_t svq1_intra_codebook_sum[4][16*6] = {
1585 1585
  }
1586 1586
 };
1587 1587
 
1588
-#endif
1588
+#endif // AVCODEC_SVQ1_CB_H
... ...
@@ -4121,4 +4121,4 @@ static const unsigned char ulti_codebook[16384]={
4121 4121
     0x3D, 0x3E, 0x3E, 0x3F
4122 4122
 };
4123 4123
 
4124
-#endif
4124
+#endif // AVCODEC_ULTI_CB_H
... ...
@@ -304,4 +304,4 @@ typedef struct VC1Context{
304 304
     int bi_type;
305 305
 } VC1Context;
306 306
 
307
-#endif
307
+#endif // AVCODEC_VC1_H
... ...
@@ -589,4 +589,4 @@ static const uint8_t vc1_last_delta_run_table[AC_MODES][10] = {
589 589
 }
590 590
 };
591 591
 
592
-#endif
592
+#endif // AVCODEC_VC1ACDATA_H
... ...
@@ -502,4 +502,4 @@ static const struct {
502 502
     { 3, 2, 3, (const int[]){ -1, 12, 13, 14 } },
503 503
 };
504 504
 
505
-#endif
505
+#endif // AVCODEC_VORBIS_ENC_DATA_H
... ...
@@ -1438,4 +1438,4 @@ static const CoefVLCTable coef_vlcs[6] = {
1438 1438
     },
1439 1439
 };
1440 1440
 
1441
-#endif
1441
+#endif // AVCODEC_WMADATA_H
... ...
@@ -40,4 +40,4 @@ int ff_split_xiph_headers(uint8_t *extradata, int extradata_size,
40 40
                           int first_header_size, uint8_t *header_start[3],
41 41
                           int header_len[3]);
42 42
 
43
-#endif
43
+#endif // AVCODEC_XIPH_H
... ...
@@ -52,4 +52,4 @@ typedef   struct{
52 52
 
53 53
 } xvmc_render_state_t;
54 54
 
55
-#endif
55
+#endif // AVCODEC_XVMC_RENDER_H
... ...
@@ -286,4 +286,4 @@ static const GUID my_guid = {
286 286
 
287 287
 #define ASF_PL_FLAG_KEY_FRAME 0x80 //1000 0000
288 288
 
289
-#endif
289
+#endif // AVFORMAT_ASF_H
... ...
@@ -41,4 +41,4 @@ DVMuxContext* dv_init_mux(AVFormatContext* s);
41 41
 int dv_assemble_frame(DVMuxContext *c, AVStream*, const uint8_t*, int, uint8_t**);
42 42
 void dv_delete_mux(DVMuxContext*);
43 43
 
44
-#endif
44
+#endif // AVFORMAT_DV_H
... ...
@@ -67,4 +67,4 @@ int mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt,
67 67
                         const uint8_t *buf, int len);
68 68
 void mpegts_parse_close(MpegTSContext *ts);
69 69
 
70
-#endif
70
+#endif AVFORMAT_MPEGTS_H
... ...
@@ -99,4 +99,4 @@ static unsigned long av_crc04C11DB7_update(unsigned long checksum, const uint8_t
99 99
     return av_crc(av_crc04C11DB7, checksum, buf, len);
100 100
 }
101 101
 
102
-#endif
102
+#endif AVFORMAT_NUT_H
... ...
@@ -37,4 +37,4 @@ RTSP_STATUS_SERVICE         =503, /**< Service Unavailable */
37 37
 RTSP_STATUS_VERSION         =505, /**< RTSP Version not supported */
38 38
 };
39 39
 
40
-#endif
40
+#endif // AVFORMAT_RTSPCODES_H
... ...
@@ -37,4 +37,4 @@ int av_base64_decode(uint8_t * out, const char *in, int out_length);
37 37
  */
38 38
 char *av_base64_encode(char * buf, int buf_len, uint8_t * src, int len);
39 39
 
40
-#endif
40
+#endif // AVUTIL_BASE64_H
... ...
@@ -126,4 +126,4 @@ static inline int av_sf2int(SoftFloat v, int frac_bits){
126 126
     else           return v.mant >>(-v.exp);
127 127
 }
128 128
 
129
-#endif
129
+#endif // AVUTIL_SOFTFLOAT_H
... ...
@@ -185,4 +185,4 @@ static inline void linecpy(void *dest, void *src, int lines, int stride)
185 185
         }
186 186
 }
187 187
 
188
-#endif
188
+#endif // POSTPROCESS_INTERNAL_H