[mythtv-commits] Ticket #1041: VideoBuffers::CreateBuffers(), memory alignment, linuxppc and altivec

MythTV mythtv at cvs.mythtv.org
Mon Jan 16 01:47:42 UTC 2006


#1041: VideoBuffers::CreateBuffers(), memory alignment, linuxppc and altivec
----------------------------------------+-----------------------------------
 Reporter:  jwestfall at surrealistic.net  |        Owner:  danielk
     Type:  defect                      |       Status:  closed 
 Priority:  minor                       |    Milestone:  0.19   
Component:  mythtv                      |      Version:  head   
 Severity:  medium                      |   Resolution:  fixed  
----------------------------------------+-----------------------------------
Changes (by danielk):

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

Comment:

 (In [8623]) Fixes #1041, by applying patch.

 This changes the default video buffer allocator from "new" to av_malloc.
 "new" usually has an alignment equal to the largest non-SIMD register,
 while av_malloc has a 16 byte alignment, which is generally better. If
 someone needs a greater alignment, videobuffers allows the VideoOutput
 class to allocate data itself. See VideoOutputXv for an example.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/1041>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list