mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-01 02:00:50 +00:00
Ahem, fix typos overlooked in last commit.
Originally committed as revision 9816 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
df3a80b50a
commit
1903245071
@ -36,7 +36,7 @@
|
|||||||
* @param[in] ptr The block of memory to reallocate.
|
* @param[in] ptr The block of memory to reallocate.
|
||||||
* @param[in] size The requested size.
|
* @param[in] size The requested size.
|
||||||
* @return Block of memory of requested size.
|
* @return Block of memory of requested size.
|
||||||
* @deprecated. Code which uses ff_realloc_static is broken/misdesigned.
|
* @deprecated. Code which uses ff_realloc_static is broken/misdesigned
|
||||||
* and should correctly use static arrays
|
* and should correctly use static arrays
|
||||||
*/
|
*/
|
||||||
attribute_deprecated void *ff_realloc_static(void *ptr, unsigned int size);
|
attribute_deprecated void *ff_realloc_static(void *ptr, unsigned int size);
|
||||||
|
@ -522,7 +522,7 @@ static void inner_add_yblock_bw_8_obmc_16_altivec(uint8_t *obmc,
|
|||||||
vector signed int *v = (vector signed int *)vbuf, *d;
|
vector signed int *v = (vector signed int *)vbuf, *d;
|
||||||
|
|
||||||
for(y=0; y<b_h; y++){
|
for(y=0; y<b_h; y++){
|
||||||
//FIXME ugly misue of obmc_stride
|
//FIXME ugly misuse of obmc_stride
|
||||||
|
|
||||||
uint8_t *obmc1= obmc + y*obmc_stride;
|
uint8_t *obmc1= obmc + y*obmc_stride;
|
||||||
uint8_t *obmc2= obmc1+ (obmc_stride>>1);
|
uint8_t *obmc2= obmc1+ (obmc_stride>>1);
|
||||||
@ -588,7 +588,7 @@ static void inner_add_yblock_bw_16_obmc_32_altivec(uint8_t *obmc,
|
|||||||
vector signed int *v = (vector signed int *)vbuf, *d;
|
vector signed int *v = (vector signed int *)vbuf, *d;
|
||||||
|
|
||||||
for(y=0; y<b_h; y++){
|
for(y=0; y<b_h; y++){
|
||||||
//FIXME ugly misue of obmc_stride
|
//FIXME ugly misuse of obmc_stride
|
||||||
|
|
||||||
uint8_t *obmc1= obmc + y*obmc_stride;
|
uint8_t *obmc1= obmc + y*obmc_stride;
|
||||||
uint8_t *obmc2= obmc1+ (obmc_stride>>1);
|
uint8_t *obmc2= obmc1+ (obmc_stride>>1);
|
||||||
@ -671,7 +671,7 @@ static void inner_add_yblock_a_bw_8_obmc_16_altivec(uint8_t *obmc,
|
|||||||
vector signed int *v = (vector signed int *)vbuf, *d;
|
vector signed int *v = (vector signed int *)vbuf, *d;
|
||||||
|
|
||||||
for(y=0; y<b_h; y++){
|
for(y=0; y<b_h; y++){
|
||||||
//FIXME ugly misue of obmc_stride
|
//FIXME ugly misuse of obmc_stride
|
||||||
|
|
||||||
uint8_t *obmc1= obmc + y*obmc_stride;
|
uint8_t *obmc1= obmc + y*obmc_stride;
|
||||||
uint8_t *obmc2= obmc1+ (obmc_stride>>1);
|
uint8_t *obmc2= obmc1+ (obmc_stride>>1);
|
||||||
@ -717,7 +717,7 @@ static void inner_add_yblock_a_bw_16_obmc_32_altivec(uint8_t *obmc,
|
|||||||
vector signed int *v = (vector signed int *)vbuf, *d;
|
vector signed int *v = (vector signed int *)vbuf, *d;
|
||||||
|
|
||||||
for(y=0; y<b_h; y++){
|
for(y=0; y<b_h; y++){
|
||||||
//FIXME ugly misue of obmc_stride
|
//FIXME ugly misuse of obmc_stride
|
||||||
|
|
||||||
uint8_t *obmc1= obmc + y*obmc_stride;
|
uint8_t *obmc1= obmc + y*obmc_stride;
|
||||||
uint8_t *obmc2= obmc1+ (obmc_stride>>1);
|
uint8_t *obmc2= obmc1+ (obmc_stride>>1);
|
||||||
|
@ -2520,7 +2520,7 @@ void ff_snow_inner_add_yblock(const uint8_t *obmc, const int obmc_stride, uint8_
|
|||||||
int y, x;
|
int y, x;
|
||||||
DWTELEM * dst;
|
DWTELEM * dst;
|
||||||
for(y=0; y<b_h; y++){
|
for(y=0; y<b_h; y++){
|
||||||
//FIXME ugly misue of obmc_stride
|
//FIXME ugly misuse of obmc_stride
|
||||||
const uint8_t *obmc1= obmc + y*obmc_stride;
|
const uint8_t *obmc1= obmc + y*obmc_stride;
|
||||||
const uint8_t *obmc2= obmc1+ (obmc_stride>>1);
|
const uint8_t *obmc2= obmc1+ (obmc_stride>>1);
|
||||||
const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1);
|
const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1);
|
||||||
@ -2680,7 +2680,7 @@ assert(src_stride > 2*MB_SIZE + 5);
|
|||||||
STOP_TIMER("inner_add_yblock")
|
STOP_TIMER("inner_add_yblock")
|
||||||
}else
|
}else
|
||||||
for(y=0; y<b_h; y++){
|
for(y=0; y<b_h; y++){
|
||||||
//FIXME ugly misue of obmc_stride
|
//FIXME ugly misuse of obmc_stride
|
||||||
const uint8_t *obmc1= obmc + y*obmc_stride;
|
const uint8_t *obmc1= obmc + y*obmc_stride;
|
||||||
const uint8_t *obmc2= obmc1+ (obmc_stride>>1);
|
const uint8_t *obmc2= obmc1+ (obmc_stride>>1);
|
||||||
const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1);
|
const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1);
|
||||||
|
Loading…
Reference in New Issue
Block a user