summaryrefslogtreecommitdiff
path: root/gst-libs/gst/video/gstvideopool.c
AgeCommit message (Collapse)AuthorFilesLines
2014-12-16videopool: update buffer size after video alignmentSong Bing1-1/+6
Update the new buffer size after alignment in the pool configuration before calling the parent set_config. This ensures that the parent knows about the buffer size that we will allocate and makes the size check work in the release_buffer method. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741420
2014-02-23docs: add GstVideoPool to docsTim-Philipp Müller1-0/+12
2012-11-03Fix FSF addressTim-Philipp Müller1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-08-20video: expose gst_video_info_alignWim Taymans1-91/+0
Expose the gst_video_info_align function that adds padding and does stride alignment on a GstVideoInfo. Move this previously private function to video-info.co Move the definition of the alignment structure to video.h where it can be picked up by both the bufferpool and the video-info.
2012-08-20videopool: improve alignmentWim Taymans1-3/+22
Check the alignment of the strides in gst_video_info_align and increase the padding on the frame until the strides are aligned.
2012-08-20videopool: improve alignmentWim Taymans1-14/+20
Align each plane instead of each component, we might otherwise apply the alignment adjustement twice if a plane contains multiple components.
2012-07-09fix for allocator API changesWim Taymans1-3/+3
2012-05-31video: fix paletted formatWim Taymans1-2/+6
RGB8_PALETTED -> RGB8P Fix the definition of paletted formats, store the palette in the second plane. Make sure we copy the palette correctly in gst_video_frame_copy() Don't do alignment on the palette in videopool
2012-05-28videopool: take pixel stride into accountWim Taymans1-3/+4
When we need to add borders, take the pixel stride into account to move to the right horizintal offset.
2012-04-19video: improve frame_flagsWim Taymans1-2/+2
Rename the frame_flags to flags. Because they are flags on the frame object it does not need the redundant frame_ prefix. Change the order of the metadata constructor so that the flags come before the format and dimension arguments.
2012-04-19video: Clean up interlaced flags and enumsSebastian Dröge1-1/+2
There's a new GstVideoFrameFlags enum now that contains the frame specific flags only. GstVideoFlags does not contain the TFF/TFF/ONEFIELD flags anymore because these are strictly frame specific. Also add fallback to parse these fields from the GstBufferFlags in gst_video_frame_map() if there's no GstVideoMeta attached to the buffer.
2012-04-14videopool: fix mem leakVíctor Manuel Jáquez Leal1-1/+1
When setting its config, the pool increase the ref count of the allocator, but at finalize the ref count is also increased rather than decreased. This one-liner patch changes the gst_allocator_ref() for gst_allocator_unref() Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674011
2012-03-27videopool: avoid caps copyWim Taymans1-1/+1
Now that the caps from the bufferpool are not returned as const we can take a ref instead of doing a copy.
2012-03-27update for get_param changesWim Taymans1-1/+1
Remove the const from the GstCaps. Fix some GstStructure leaks.
2012-03-15update for bufferpool changesWim Taymans1-59/+13
2012-03-15update for bufferpool api changeWim Taymans1-1/+1
2012-03-15update for memory api changesWim Taymans1-15/+8
2012-03-14update for memory api changesWim Taymans1-3/+2
2012-03-14take padding into accountWim Taymans1-6/+9
2012-03-08videopool: only do alignment when videometa is enabledWim Taymans1-7/+4
We require the videometa activated before we can implement the alignment of buffers. Users of the bufferpool should do this manually based on the results of the allocation query.
2012-01-30videopool: update for allocator api updateWim Taymans1-7/+28
2012-01-15videopool: fix printf warning in debug messageMatej Knopp1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=662607
2011-12-28videopool: add support for custom allocatorsWim Taymans1-1/+37
2011-12-21videopool: add videopool implementationWim Taymans1-0/+257
Add a GstVideoPool object that can be used to allocate video frames with support for metadata and alignment. Add method to reset alignment info.
2011-08-01videopool: add implementationWim Taymans1-0/+74
Rename very long structure name to GstVideoAlignment Add the implementation of the video alignment config setter and getters.