- 26 3月, 2015 40 次提交
-
-
由 jp9000 提交于
-
由 jp9000 提交于
Removed this variable some time back, but didn't test on GCC (which throws this warning), so I never knew about it until recently.
-
由 jp9000 提交于
-
由 jp9000 提交于
Masks out a specific color range in RGB color space. Commonly used with solid image data or animated video rather than live video.
-
由 jp9000 提交于
This allows applying a mask based upon the chroma value (U/V) of a specific color in YUV color space. Commonly used to mask out greenscreens and bluescreens in live video.
-
由 jp9000 提交于
Adds a color correction filter if one wishes to just apply gamma/constrast/brightness/opacity/color to a source.
-
由 jp9000 提交于
Allows any source to be cropped, though note that this renders to texture first, so for more optimal results, cropping values should probably be put in to capture sources that can be cropped as they're actually rendered by the source.
-
由 jp9000 提交于
This filter allows the ability to use a texture to modify the video output of a source, the ability to: - apply a color-based mask (dark = transparent, light = opaque) - apply a mask based upon the alpha of an image - blend an image via subtraction, addition, or multiplication
-
由 jp9000 提交于
Adds a filter for delaying asynchronous video/audio data, for example from webcams, video devices, or media playback sources. Mainly intended to allow users to sync up their webcams to other devices.
-
由 jp9000 提交于
Adds a visibility checkbox to the main sources list so that users can temporarily disable/re-enable sources. Only applies to scene items, not the sources themselves.
-
由 jp9000 提交于
-
由 jp9000 提交于
"Close" and "Interact"
-
由 jp9000 提交于
-
由 jp9000 提交于
The FocusList subclass of QListWidget emits a GotFocus signal when it gets focus -- used for the filters window to know when a specific filter list gets focus.
-
由 jp9000 提交于
This is used to allow the user to temporarily disable sources/filters. For each item in the list box, it displays a visibility checkbox (with eye icon) that the user can click to disable/re-enable sources or filters. I did not end up using the Qt::ItemIsUserCheckable flag with the list items for a few reasons: - We could not style the checkbox indicator without qss screwing up other parts of the list widget style on certain operating systems - We could not get the icon to properly invert on active selection like the text does on mac/linux, which made it look strange - Clicking the checkbox too fast would cause it to signal a double-click on the icon, opening the properties for a source in the source list
-
由 jp9000 提交于
-
由 jp9000 提交于
-
由 jp9000 提交于
This checkbox gives an 'eye' icon that indicates whether something is visible or not. The color of the icon is influenced by the current style's foreground color.
-
由 jp9000 提交于
Replace header include with forward to reduce needless header includes and thus reduce compile time.
-
由 jp9000 提交于
This allows knowing when the graphics viewport itself changes in size (in case the window with the graphics viewport does not change size)
-
由 jp9000 提交于
If a filter is an async filter move above/below other async filters, and similarly for effect filters move above/below other effect filters.
-
由 jp9000 提交于
Async filters and effect filters are really two different classes of filters, so it's important that audio filters be marked as async.
-
由 jp9000 提交于
Filtering the video before it's output to the texture means that it happens after all the processing on the timestamps and such of the video data. This way, the video filter does not have to worry about what's currently buffered, and it won't affect timing.
-
由 jp9000 提交于
These are basically just capabilities of a source, that and too much text on one line.
-
由 jp9000 提交于
Gets the output flags by its source type.
-
由 jp9000 提交于
obs_get_source_defaults was missing the definition for the function.
-
由 jp9000 提交于
-
由 jp9000 提交于
When OBS is shutting down, if for some reason the filter is destroyed before the parent source is destroyed, it would try to remove itself from the source, but it would decrement the reference and try to destroy itself again while already in the process of destroying itself. So, the solution was simply to make sure that if it's removing itself from the source that it doesn't decrement its own reference.
-
由 jp9000 提交于
If the filter's binary was recently removed, the data will be invalid, so make sure that it properly handles that situation by skipping the filter.
-
由 jp9000 提交于
-
由 jp9000 提交于
-
由 jp9000 提交于
The "last" filter that's rendered is technically at filter index 0, so enumeration needs to be from the last index in the list to the first index in the list.
-
由 jp9000 提交于
Refactors the function a bit to ensure that the filter mutex is locked when changing the filter order.
-
由 jp9000 提交于
Signals when the filter order has been changed for a source.
-
由 jp9000 提交于
The 'idx' variable is the incorrect variable to be using here, the variable that was supposed to be used was 'i'.
-
由 jp9000 提交于
Technically, the "last" filter rendered is the filter at index 0, so inserting a new filter at that point makes the most sense.
-
由 jp9000 提交于
When rendering a filter to a texture, the target is empty and unused, so there's no reason for blending to be on when rendering the filter to a render target.
-
由 jp9000 提交于
obs_source_process_filter tried to do everything in a single function, but the problem is that effect parameters would not properly be accounted for due to the way it internally draws, therefore it was necessary to split the functions in to two, you first call obs_source_process_filter_begin, then you set your effect parameters, then you finally call obs_source_process_filter_end. This ensures that when the filter is drawn, that the effect parameters are set.
-
由 jp9000 提交于
When the filter chain finally reaches the source and the last filter in the chain is set to not render directly (meaning it has to render to texture), it would not render the source with any effect due to the fact that it expects a filter to be present.
-
由 jp9000 提交于
Adds a source callback function that is used when a filter is removed from a source. This ensures that any data that might be associated with that source can be cleaned up if necessary.
-