comparison h264pred.c @ 11923:2013535ff4e5 libavcodec

Rename PACK4x8() to PACK4UINT8().
author rbultje
date Tue, 22 Jun 2010 20:57:00 +0000
parents f021be0e837c
children b3b2fd53617b
comparison
equal deleted inserted replaced
11922:8c657be75c11 11923:2013535ff4e5
107 107
108 static void pred4x4_vertical_vp8_c(uint8_t *src, const uint8_t *topright, int stride){ 108 static void pred4x4_vertical_vp8_c(uint8_t *src, const uint8_t *topright, int stride){
109 const int lt= src[-1-1*stride]; 109 const int lt= src[-1-1*stride];
110 LOAD_TOP_EDGE 110 LOAD_TOP_EDGE
111 LOAD_TOP_RIGHT_EDGE 111 LOAD_TOP_RIGHT_EDGE
112 uint32_t v = PACK4x8((lt + 2*t0 + t1 + 2) >> 2, 112 uint32_t v = PACK4UINT8((lt + 2*t0 + t1 + 2) >> 2,
113 (t0 + 2*t1 + t2 + 2) >> 2, 113 (t0 + 2*t1 + t2 + 2) >> 2,
114 (t1 + 2*t2 + t3 + 2) >> 2, 114 (t1 + 2*t2 + t3 + 2) >> 2,
115 (t2 + 2*t3 + t4 + 2) >> 2); 115 (t2 + 2*t3 + t4 + 2) >> 2);
116 116
117 AV_WN32A(src+0*stride, v); 117 AV_WN32A(src+0*stride, v);