[Ffmpeg-devel] h264 decoder on ARM cpu

Gábor Kovács picard
Fri May 13 10:19:24 CEST 2005


This is the only place I found this kind of problem. If it's corrected the h.264
decoder works on my ARM device.

I have some problems after frames are dropped (hurry_up is used) and after flush_dpb,
but I couldn't narrow down the problem yet, except that a ref_list Picture is used
which has NULL data. Similar thing happens with Sorenson 3 decoder with b-frames
(which is based on H264Context too). I will post if I find something.

bye, Picard

----- Original Message ----- 
From: "Michael Niedermayer" <michaelni at gmx.at>
To: "FFMpeg development discussions and patches" <ffmpeg-devel at mplayerhq.hu>
Sent: Thursday, May 12, 2005 8:50 PM
Subject: Re: [Ffmpeg-devel] h264 decoder on ARM cpu


> Hi
>
> On Tuesday 10 May 2005 22:24, G?bor Kov?cs wrote:
>> I think I found a memory access alignment problem in h264.c line 1379 (when
>> b8_stride is odd):
>>
>> *(uint16_t*)&s->current_picture.ref_index[list][b8_xy + y*h->b8_stride]=
>> (LIST_NOT_USED&0xFF)*0x0101;
>>
>> (I split it into two uint8_t access)
>
> send patch in case this is the only place where such a split is needed,
> otherwise we should probably consider to change b8_stride
>
> [...]
> -- 
> Michael
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264arm.diff
Type: application/octet-stream
Size: 666 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050513/ae932897/attachment.obj>



More information about the ffmpeg-devel mailing list