mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Support libplacebo API 127
- Attention the scaler sequence has changed you need to redefine the scalers you want to use
This commit is contained in:
parent
b2247ebb9b
commit
dfeb75cc51
@ -51,7 +51,7 @@ extern "C"
|
|||||||
#include "video.h"
|
#include "video.h"
|
||||||
#include "codec.h"
|
#include "codec.h"
|
||||||
#endif
|
#endif
|
||||||
#if PLACEBO
|
#ifdef PLACEBO
|
||||||
#include <libplacebo/filters.h>
|
#include <libplacebo/filters.h>
|
||||||
extern void ToggleLUT();
|
extern void ToggleLUT();
|
||||||
#endif
|
#endif
|
||||||
@ -63,7 +63,7 @@ extern void ToggleLUT();
|
|||||||
/// vdr-plugin version number.
|
/// vdr-plugin version number.
|
||||||
/// Makefile extracts the version number for generating the file name
|
/// Makefile extracts the version number for generating the file name
|
||||||
/// for the distribution archive.
|
/// for the distribution archive.
|
||||||
static const char *const VERSION = "3.4.3"
|
static const char *const VERSION = "3.4.4"
|
||||||
#ifdef GIT_REV
|
#ifdef GIT_REV
|
||||||
"-GIT" GIT_REV
|
"-GIT" GIT_REV
|
||||||
#endif
|
#endif
|
||||||
@ -1128,7 +1128,7 @@ void cMenuSetupSoft::Create(void)
|
|||||||
|
|
||||||
if (scalers == 0) {
|
if (scalers == 0) {
|
||||||
scalingtest[0] = (char *)"Off";
|
scalingtest[0] = (char *)"Off";
|
||||||
for (scalers = 0; pl_named_filters[scalers].filter != NULL; scalers++) {
|
for (scalers = 0; pl_named_filters[scalers].name != NULL; scalers++) {
|
||||||
scaling[scalers] = (char *)pl_named_filters[scalers].name;
|
scaling[scalers] = (char *)pl_named_filters[scalers].name;
|
||||||
scalingtest[scalers + 1] = (char *)pl_named_filters[scalers].name;
|
scalingtest[scalers + 1] = (char *)pl_named_filters[scalers].name;
|
||||||
// printf("Scaler %s\n",pl_named_filters[scalers].name);
|
// printf("Scaler %s\n",pl_named_filters[scalers].name);
|
||||||
|
5
video.c
5
video.c
@ -5618,8 +5618,9 @@ void InitPlacebo()
|
|||||||
p->gpu = p->gl->gpu;
|
p->gpu = p->gl->gpu;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
struct pl_vulkan_params params;
|
struct pl_vulkan_params params = {0};
|
||||||
struct pl_vk_inst_params iparams = pl_vk_inst_default_params;
|
struct pl_vk_inst_params iparams = pl_vk_inst_default_params;
|
||||||
|
|
||||||
VkXcbSurfaceCreateInfoKHR xcbinfo;
|
VkXcbSurfaceCreateInfoKHR xcbinfo;
|
||||||
|
|
||||||
char xcbext[] = { "VK_KHR_xcb_surface" };
|
char xcbext[] = { "VK_KHR_xcb_surface" };
|
||||||
@ -5652,7 +5653,7 @@ void InitPlacebo()
|
|||||||
params.instance = p->vk_inst->instance;
|
params.instance = p->vk_inst->instance;
|
||||||
params.async_transfer = true;
|
params.async_transfer = true;
|
||||||
params.async_compute = true;
|
params.async_compute = true;
|
||||||
params.queue_count = 16;
|
params.queue_count = 1;
|
||||||
params.surface = p->pSurface;
|
params.surface = p->pSurface;
|
||||||
params.allow_software = false;
|
params.allow_software = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user