Mercurial > libavcodec.hg
comparison dsputil.h @ 1709:39a209b0c82c libavcodec
info about h and tpel
author | michael |
---|---|
date | Tue, 30 Dec 2003 19:19:45 +0000 |
parents | dea5b2946999 |
children | 49e46374baa4 |
comparison
equal
deleted
inserted
replaced
1708:dea5b2946999 | 1709:39a209b0c82c |
---|---|
77 void clear_blocks_c(DCTELEM *blocks); | 77 void clear_blocks_c(DCTELEM *blocks); |
78 */ | 78 */ |
79 | 79 |
80 /* add and put pixel (decoding) */ | 80 /* add and put pixel (decoding) */ |
81 // blocksizes for op_pixels_func are 8x4,8x8 16x8 16x16 | 81 // blocksizes for op_pixels_func are 8x4,8x8 16x8 16x16 |
82 //h for op_pixels_func is limited to {width/2, width} but never larger than 16 and never smaller then 4 | |
82 typedef void (*op_pixels_func)(uint8_t *block/*align width (8 or 16)*/, const uint8_t *pixels/*align 1*/, int line_size, int h); | 83 typedef void (*op_pixels_func)(uint8_t *block/*align width (8 or 16)*/, const uint8_t *pixels/*align 1*/, int line_size, int h); |
83 typedef void (*tpel_mc_func)(uint8_t *block/*align width (8 or 16)*/, const uint8_t *pixels/*align 1*/, int line_size, int w, int h); | 84 typedef void (*tpel_mc_func)(uint8_t *block/*align width (8 or 16)*/, const uint8_t *pixels/*align 1*/, int line_size, int w, int h); |
84 typedef void (*qpel_mc_func)(uint8_t *dst/*align width (8 or 16)*/, uint8_t *src/*align 1*/, int stride); | 85 typedef void (*qpel_mc_func)(uint8_t *dst/*align width (8 or 16)*/, uint8_t *src/*align 1*/, int stride); |
85 typedef void (*h264_chroma_mc_func)(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int srcStride, int h, int x, int y); | 86 typedef void (*h264_chroma_mc_func)(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int srcStride, int h, int x, int y); |
86 | 87 |
107 b(block , pixels , line_size, h);\ | 108 b(block , pixels , line_size, h);\ |
108 b(block+n, pixels+n, line_size, h);\ | 109 b(block+n, pixels+n, line_size, h);\ |
109 } | 110 } |
110 | 111 |
111 /* motion estimation */ | 112 /* motion estimation */ |
112 | 113 // h is limited to {width/2, width, 2*width} but never larger than 16 and never smaller then 2 |
114 // allthough currently h<4 is not used as functions with width <8 are not used and neither implemented | |
113 typedef int (*me_cmp_func)(void /*MpegEncContext*/ *s, uint8_t *blk1/*align width (8 or 16)*/, uint8_t *blk2/*align 1*/, int line_size, int h)/* __attribute__ ((const))*/; | 115 typedef int (*me_cmp_func)(void /*MpegEncContext*/ *s, uint8_t *blk1/*align width (8 or 16)*/, uint8_t *blk2/*align 1*/, int line_size, int h)/* __attribute__ ((const))*/; |
114 | 116 |
115 | 117 |
116 /** | 118 /** |
117 * DSPContext. | 119 * DSPContext. |