Age | Commit message (Collapse) | Author | Files | Lines |
|
gst_video_calculate_display_ratio()
https://bugzilla.gnome.org/show_bug.cgi?id=754567
|
|
Takes a nominal frame duration and returns a standard
FPS if it matches closely enough (< 0.1%), or else
calculates a framerate that'll do.
|
|
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.
|
|
|
|
Move different video functionalities into different files
|
|
|
|
|
|
Use the default RGB colorimetry into only on RGB formats and use an unknown set
of defaults for the unknown format.
|
|
|
|
Don't use extra default colorimetry entries in the table to construct an output
colorimetry shortcut because they don't have a name.
|
|
HD content is defined as height > 576
|
|
Set default colorimetry info when not otherwise specified in caps.
|
|
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
|
|
Remove Y800 and Y16 wich are the same as GRAY8 and GRAY16_LE
Add const to the GstVideoFormatInfo when used in argument
Add GRAY8 and GRAY16 pack/unpack functions
|
|
|
|
Add support for supporting chroma subsampling correctly in the pack
function.
Fill in the pack and unpack functions for most formats.
Add some missing pack/unpack functions to the orc file.
|
|
Fix the offsets of v216 video
Add the complex flag to some formats
|
|
Add 10 bits I420 format definitions
Move encoded format as second entry in the array so that it doesn't end up in a
weird place when we add formats.
See https://bugzilla.gnome.org/show_bug.cgi?id=665034
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=675758
|
|
video
|
|
|
|
|
|
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.
|
|
compiler warning
|
|
This would also ensure that the buffer is not writable while mapped.
|
|
|
|
|
|
Install defaul map/unmap function on the metadata and really call the functions
instead of always calling a default implementation.
Rework some bits so that we don't have to mess with the GstMapInfo information
(adding the offset), instead pass the adjusted data pointer from the map function.
|
|
|
|
|
|
|
|
|
|
|
|
Rename the offset field in GstVideoFormatInfo to poffset to avoid confusion with
the offset of the plane in the buffer. The poffset is the offset in the plane
where the first byte of the component data can be found.
Properly implement the COMP_OFFSET calculations.
Fix YV12 and YVU9, simply use the same offsets as the regular I420 and YUV9
variants, we use the plane info to reorder components already.
Improve the unit test.
|
|
Remove interlaced boolean from caps and replace with an interlace-mode enum.
document this new property in the video caps document. With the enum we can
put fields into separate video meta.
Add enum for this interlace-mode in the VideoInfo.
Update the buffer flags.
|
|
Conflicts:
ext/alsa/gstalsasrc.c
ext/alsa/gstalsasrc.h
gst/adder/gstadder.c
gst/playback/gstplaybin2.c
gst/playback/gstplaysinkconvertbin.c
win32/common/libgstvideo.def
|
|
Make out args to gst_video_event_parse_{downstream|upstream}_force_key_unit
optional, update libgstvideo.def and fix docs a bit.
API: gst_video_event_new_upstream_force_key_unit
API: gst_video_event_new_downstream_force_key_unit
API: gst_video_event_is_force_key_unit
API: gst_video_event_parse_upstream_force_key_unit
API: gst_video_event_parse_downstream_force_key_unit
https://bugzilla.gnome.org/show_bug.cgi?id=607742
|
|
|
|
This reverts commit eb03323fb683e06ed8e7f557037f13252f150c25.
*grumble* I managed to merge something I did not mean to.
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=658241
|
|
This makes a TRUE return from gst_video_info_from_caps fully consistent with
gst_video_info_init.
|
|
Add support for max-framerate in the video helpers and update the video
caps document.
|
|
If we complain about wrong parameters passed, also log the actual value.
|
|
|
|
|
|
This is to prevent e.g. GST_AUDIO_INFO_FORMAT() from crashing on a NULL pointer
dereference when used with an unset info.
|
|
Check and assert if input for gst_video_format_from_string is null.
Return GST_VIDEO_FORMAT_UNKNOWN as a fallback
|
|
Add a description to the audio and video format info in case we want to use this
later.
|