Skip to content

Commit b3ef35b

Browse files
committed
upipe-modules: add interlacing pipe
Add upipe_interlace pipe to preform temporal field interlacing.
1 parent b6066bf commit b3ef35b

File tree

5 files changed

+1076
-0
lines changed

5 files changed

+1076
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
* Copyright (C) 2026 EasyTools
3+
*
4+
* Authors: Arnaud de Turckheim
5+
*
6+
* SPDX-License-Identifier: MIT
7+
*/
8+
9+
/** @file
10+
* @short Upipe interlacing module
11+
*/
12+
13+
#ifndef _UPIPE_MODULES_UPIPE_INTERLACE_H_
14+
/** @hidden */
15+
#define _UPIPE_MODULES_UPIPE_INTERLACE_H_
16+
#ifdef __cplusplus
17+
extern "C" {
18+
#endif
19+
20+
#include "upipe/upipe.h"
21+
22+
#define UPIPE_INTERLACE_SIGNATURE UBASE_FOURCC('i','n','t','l')
23+
24+
/** @This returns the management structure for all interlace pipes.
25+
*
26+
* @return pointer to manager
27+
*/
28+
struct upipe_mgr *upipe_interlace_mgr_alloc(void);
29+
30+
#ifdef __cplusplus
31+
}
32+
#endif
33+
#endif

lib/upipe-modules/Build.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ libupipe_modules-includes = \
3535
upipe_htons.h \
3636
upipe_http_source.h \
3737
upipe_idem.h \
38+
upipe_interlace.h \
3839
upipe_m3u_reader.h \
3940
upipe_match_attr.h \
4041
upipe_multicat_probe.h \
@@ -120,6 +121,7 @@ libupipe_modules-src = \
120121
upipe_htons.c \
121122
upipe_http_source.c \
122123
upipe_idem.c \
124+
upipe_interlace.c \
123125
upipe_m3u_reader.c \
124126
upipe_match_attr.c \
125127
upipe_multicat_probe.c \

0 commit comments

Comments
 (0)