- Feb 06, 2025
-
-
Thomas Guillem authored
Fixes the following assert when seeking more than one time past the end of the file. src/audio_output/dec.c:1107: vlc_aout_stream_Drain: Assertion `!atomic_load_explicit(&stream->drained, memory_order_relaxed)' failed. Calling `pw_stream_flush(s->stream, true)`, when empty, leads to undefined behavior and might cause the `stream_drained()` callback to be called in loop (leading to the mentioned assert after a flush).
-
Thomas Guillem authored
Remove the not up to date pi_allowed_chromas. Use directly the vlc_chroma_probe.h API to get the list of chroma fallbacks. Remove recursivity handling: Before, the chain module could load an other chain module for conversions requiring an extra step (OPAQUE -> I420 -> RV24 for example). Now that the conversion list is acquired from start, we can add each converter filters in an iterative loop.
-
Thomas Guillem authored
Remove the not up to date chroma fallback list. Use directly the vlc_chroma_probe.h API to get the list of chroma fallbacks. The downside is that vlc_fourcc_Get*Fallback() return now an allocated array that should be checked and freed.
-
Thomas Guillem authored
-
Thomas Guillem authored
Using the avcodec/chroma.c table.
-
Thomas Guillem authored
-
Thomas Guillem authored
-
Thomas Guillem authored
The module API allows all "video converter" modules to list their chroma conversions. The user API allows to get a full list of all possibles chromas conversion from an input chroma.
-
Thomas Guillem authored
This will be used with subtype to calculate a possible color loss when converting between 2 chromas. It's needed for GPU chromas and the few chromas where the pixel_size and plane description are not enough to calculate the bits per color. Example: { VLC_CODEC_ABGR, PACKED_FMT(RGB, 4, 32, 8) }, { VLC_CODEC_RGBA10LE, PACKED_FMT(RGB, 4, 32, 10) }, { VLC_CODEC_VUYA, PACKED_FMT(YUV444, 4, 32, 8) }, { VLC_CODEC_Y210, PACKED_FMT(YUV422, 4, 32, 10) }, Same buffer size but different color size. It's an average for the few chromas with different color size, like RGB565. In that case, color_bits = (5 + 6 + 5) / 3. It is also possible to add a new color description array in the vlc_chroma_description_t for a more precis color size definition.
-
Thomas Guillem authored
-
Thomas Guillem authored
-
Thomas Guillem authored
-
Thomas Guillem authored
In order to identify different YUV sub samplings from planar to packed. This will be used to calculate a possible color loss when converting between 2 chromas.
-
- Feb 05, 2025
-
-
Steve Lhomme authored
It is implemented.
-
Steve Lhomme authored
It uses: - av_packet_unref() (20260c68) - av_packet_alloc() (16fd46fa) - av_packet_side_data_get() (d3f5c874)
-
Steve Lhomme authored
As in autotools we don't want to pick extra libraries linked in this library.
-
Steve Lhomme authored
As in autotools, we check the libavcodec availability from the header. And we do not want to link to any libavcodec/libavutil library.
-
The test catches the assertion fixed by the previous commit when setting a video stereo mode on a non-running video output, using a non-playing player instance. More smoke tests can be added later for the other player's video methods and in the case the playback has started.
-
Dummy video outputs only define variables and don't use the interactive interface callbacks as they are not running. Because the callback was set during the initial variable setup, it would lead to assertion inside the video_output.c code as the stereo mode was changed dynamically from a dummy video_output object.
-
-
As the serial task queue doesn't autodelete. When the task was canceled while running, this caused the serial task to be leaked. Moreover, the TaksRunner wasn't traking these tasks explicitly, the serial task may try to acces the TaskRunner after it was deleted. Now we assing a task ID to serial tasks to track them as the regular ones.
-
Some tasks are not exectuted from the UI thread (QQuickImageResponse for instance). This ensures that the target still exists when calling the callback
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Fixes warning Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
This method's hidden state is a micro optimisation since this method only gets called when the collection view sizing actually changes. Yet it makes accurately setting the adjustment more difficult. So let's remove it Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Steve Lhomme authored
This module has a hard dependency on opengl32 since it was created in db93ff06. It uses: * wglMakeCurrent * glGetString * wglCreateContext * wglDeleteContext * wglGetProcAddress
-
Steve Lhomme authored
The many mandatory openGL functions are not available through wglGetProcAddress(). If we can't use GetProcAddress() we can't this display module.
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
- Feb 04, 2025
-
-
Steve Lhomme authored
It should be done by the NDK toolchain or by CMake when using the proper CMAKE_SYSTEM_NAME.
-
Steve Lhomme authored
We're supposed to use it with the Android SYSTEM_NAME * https://developer.android.com/studio/projects/configure-cmake * https://developer.android.com/ndk/guides/cmake We could do the same for Emscripten, rather than using their cmake wrapper.
-
Per the comment in the header this is no longer needed once we stop targetting 10.7; we are now targetting 10.10 Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-
macosx: Access parent group type via groupDescriptor property rather than via jany climbing of view tree Signed-off-by:
Claudio Cambra <developer@claudiocambra.com>
-