comparison dvdata.h @ 8009:f7c7ef5e448b libavcodec

Doxygenizing the comments
author romansh
date Tue, 07 Oct 2008 15:50:29 +0000
parents 3b5964de95cd
children 8b39df76fe9a
comparison
equal deleted inserted replaced
8008:68f0d19ff0a2 8009:f7c7ef5e448b
6071 18725, 20262, 20815, 23764, 21400, 24457, 19284, 20867, 6071 18725, 20262, 20815, 23764, 21400, 24457, 19284, 20867,
6072 24457, 27962, 22733, 24600, 25971, 29642, 21400, 23173, 6072 24457, 27962, 22733, 24600, 25971, 29642, 21400, 23173,
6073 22017, 25191, 24457, 27962, 22733, 24600, 25971, 29642, 6073 22017, 25191, 24457, 27962, 22733, 24600, 25971, 29642,
6074 }; 6074 };
6075 6075
6076 /* the "inverse" DV100 weights are actually just the spec weights (zig-zagged) */ 6076 /**
6077 * the "inverse" DV100 weights are actually just the spec weights (zig-zagged)
6078 */
6077 static const int dv_iweight_1080_y[64] = { 6079 static const int dv_iweight_1080_y[64] = {
6078 128, 16, 16, 17, 17, 17, 18, 18, 6080 128, 16, 16, 17, 17, 17, 18, 18,
6079 18, 18, 18, 18, 19, 18, 18, 19, 6081 18, 18, 18, 18, 19, 18, 18, 19,
6080 19, 19, 19, 19, 19, 42, 38, 40, 6082 19, 19, 19, 19, 19, 42, 38, 40,
6081 40, 40, 38, 42, 44, 43, 41, 41, 6083 40, 40, 38, 42, 44, 43, 41, 41,
6369 #define DV_PROFILE_IS_720p50(p) (((p)->video_stype == 0x18) && ((p)->dsf == 1)) 6371 #define DV_PROFILE_IS_720p50(p) (((p)->video_stype == 0x18) && ((p)->dsf == 1))
6370 6372
6371 /* minimum number of bytes to read from a DV stream in order to determine the profile */ 6373 /* minimum number of bytes to read from a DV stream in order to determine the profile */
6372 #define DV_PROFILE_BYTES (6*80) /* 6 DIF blocks */ 6374 #define DV_PROFILE_BYTES (6*80) /* 6 DIF blocks */
6373 6375
6374 /* largest possible DV frame, in bytes (1080i50) */ 6376 /**
6377 * largest possible DV frame, in bytes (1080i50)
6378 */
6375 #define DV_MAX_FRAME_SIZE 576000 6379 #define DV_MAX_FRAME_SIZE 576000
6376 6380
6377 /* maximum number of blocks per macroblock in any DV format */ 6381 /**
6382 * maximum number of blocks per macroblock in any DV format
6383 */
6378 #define DV_MAX_BPM 8 6384 #define DV_MAX_BPM 8
6379 6385
6380 static inline const DVprofile* dv_frame_profile(const uint8_t* frame) 6386 static inline const DVprofile* dv_frame_profile(const uint8_t* frame)
6381 { 6387 {
6382 int i; 6388 int i;