Originally committed as revision 11125 to svn://svn.ffmpeg.org/ffmpeg/trunktags/v0.5
@@ -514,7 +514,7 @@ static void init_predictor_decoder(APEContext * ctx) | |||||
memset(p->historybuffer, 0, PREDICTOR_SIZE * sizeof(int32_t)); | memset(p->historybuffer, 0, PREDICTOR_SIZE * sizeof(int32_t)); | ||||
p->buf = p->historybuffer; | p->buf = p->historybuffer; | ||||
/* Initialize and zero the co-efficients */ | |||||
/* Initialize and zero the coefficients */ | |||||
memcpy(p->coeffsA[0], initial_coeffs, sizeof(initial_coeffs)); | memcpy(p->coeffsA[0], initial_coeffs, sizeof(initial_coeffs)); | ||||
memcpy(p->coeffsA[1], initial_coeffs, sizeof(initial_coeffs)); | memcpy(p->coeffsA[1], initial_coeffs, sizeof(initial_coeffs)); | ||||
memset(p->coeffsB, 0, sizeof(p->coeffsB)); | memset(p->coeffsB, 0, sizeof(p->coeffsB)); | ||||
@@ -94,7 +94,7 @@ typedef struct ScanTable{ | |||||
uint8_t permutated[64]; | uint8_t permutated[64]; | ||||
uint8_t raster_end[64]; | uint8_t raster_end[64]; | ||||
#ifdef ARCH_POWERPC | #ifdef ARCH_POWERPC | ||||
/** Used by dct_quantize_alitvec to find last-non-zero */ | |||||
/** Used by dct_quantize_altivec to find last-non-zero */ | |||||
DECLARE_ALIGNED_8(uint8_t, inverse[64]); | DECLARE_ALIGNED_8(uint8_t, inverse[64]); | ||||
#endif | #endif | ||||
} ScanTable; | } ScanTable; | ||||
@@ -111,7 +111,7 @@ typedef struct Picture{ | |||||
uint8_t *interpolated[3]; | uint8_t *interpolated[3]; | ||||
int16_t (*motion_val_base[2])[2]; | int16_t (*motion_val_base[2])[2]; | ||||
uint32_t *mb_type_base; | uint32_t *mb_type_base; | ||||
#define MB_TYPE_INTRA MB_TYPE_INTRA4x4 //default mb_type if theres just one type | |||||
#define MB_TYPE_INTRA MB_TYPE_INTRA4x4 //default mb_type if there is just one type | |||||
#define IS_INTRA4x4(a) ((a)&MB_TYPE_INTRA4x4) | #define IS_INTRA4x4(a) ((a)&MB_TYPE_INTRA4x4) | ||||
#define IS_INTRA16x16(a) ((a)&MB_TYPE_INTRA16x16) | #define IS_INTRA16x16(a) ((a)&MB_TYPE_INTRA16x16) | ||||
#define IS_PCM(a) ((a)&MB_TYPE_INTRA_PCM) | #define IS_PCM(a) ((a)&MB_TYPE_INTRA_PCM) | ||||
@@ -767,7 +767,7 @@ static int rtp_write_header(AVFormatContext *s1) | |||||
payload_type = RTP_PT_PRIVATE; /* private payload type */ | payload_type = RTP_PT_PRIVATE; /* private payload type */ | ||||
s->payload_type = payload_type; | s->payload_type = payload_type; | ||||
// following 2 FIXMies could be set based on the current time, theres normaly no info leak, as rtp will likely be transmitted immedeatly | |||||
// following 2 FIXMEs could be set based on the current time, there is normally no info leak, as RTP will likely be transmitted immediately | |||||
s->base_timestamp = 0; /* FIXME: was random(), what should this be? */ | s->base_timestamp = 0; /* FIXME: was random(), what should this be? */ | ||||
s->timestamp = s->base_timestamp; | s->timestamp = s->base_timestamp; | ||||
s->cur_timestamp = 0; | s->cur_timestamp = 0; | ||||