[haiku-bugs] Re: [Haiku] #4948: New SSE2/3 color conversion in the FFmpeg plug-in crashes Clockwerk/MediaConverter [patch]

  • From: "dlmcpaul" <trac@xxxxxxxxxxxxxxxx>
  • Date: Sat, 14 Nov 2009 22:51:46 -0000

#4948: New SSE2/3 color conversion in the FFmpeg plug-in crashes
Clockwerk/MediaConverter [patch]
----------------------+-----------------------------------------------------
  Reporter:  stippi   |       Owner:  dlmcpaul 
      Type:  bug      |      Status:  closed   
  Priority:  normal   |   Milestone:  R1       
 Component:  Add-Ons  |     Version:  R1/alpha1
Resolution:  fixed    |    Keywords:           
 Blockedby:           |    Platform:  All      
  Blocking:           |  
----------------------+-----------------------------------------------------
Changes (by dlmcpaul):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 Ok MediaConverter and I assume Clockwerk are using new to create the video
 buffers and this is not creating a 32 byte aligned pointer.  For best
 performance with SSE2 code and later an aligned buffer is needed.
 MediaPlayer seems to do this ok.

 I have added additional checks to detect alignment issues.

 Should there perhaps be a media kit function to create media buffers so we
 can enforce the restrictions?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/4948#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: