comparison dv.c @ 3150:c4b6411b4b53 libavcodec

Not that we're that far from being an *initial* implementation, but at least weighting got implemented thanks to Dan. ;-)
author romansh
date Mon, 27 Feb 2006 05:04:05 +0000
parents 2679184e8be0
children 28a087ad41d1
comparison
equal deleted inserted replaced
3149:2679184e8be0 3150:c4b6411b4b53
803 } 803 }
804 } 804 }
805 } 805 }
806 } 806 }
807 807
808 /*
809 * This is a very rough initial implementaion. The performance is
810 * horrible and the weighting is missing. But it's missing from the
811 * decoding step also -- so at least we're on the same page with decoder ;-)
812 */
813 static inline void dv_encode_video_segment(DVVideoContext *s, 808 static inline void dv_encode_video_segment(DVVideoContext *s,
814 uint8_t *dif, 809 uint8_t *dif,
815 const uint16_t *mb_pos_ptr) 810 const uint16_t *mb_pos_ptr)
816 { 811 {
817 int mb_index, i, j, v; 812 int mb_index, i, j, v;