Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=687520
|
|
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.
|
|
Check the alignment of the strides in gst_video_info_align and increase the
padding on the frame until the strides are aligned.
|
|
Align each plane instead of each component, we might otherwise apply the
alignment adjustement twice if a plane contains multiple components.
|
|
|
|
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
|
|
When we need to add borders, take the pixel stride into account to move to the
right horizintal offset.
|
|
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.
|
|
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.
|
|
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
|
|
Now that the caps from the bufferpool are not returned as const we
can take a ref instead of doing a copy.
|
|
Remove the const from the GstCaps.
Fix some GstStructure leaks.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=662607
|
|
|
|
Add a GstVideoPool object that can be used to allocate video frames with support
for metadata and alignment.
Add method to reset alignment info.
|
|
Rename very long structure name to GstVideoAlignment
Add the implementation of the video alignment config setter and getters.
|