New upstream version 18.0.1+dfsg1
This commit is contained in:
parent
6efda2859e
commit
f2cf6cce50
1337 changed files with 41178 additions and 84670 deletions
32
deps/libcaption/caption/xds.h
vendored
Normal file
32
deps/libcaption/caption/xds.h
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/**********************************************************************************************/
|
||||
/* Copyright 2016-2016 Twitch Interactive, Inc. or its affiliates. All Rights Reserved. */
|
||||
/* */
|
||||
/* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file */
|
||||
/* except in compliance with the License. A copy of the License is located at */
|
||||
/* */
|
||||
/* http://aws.amazon.com/apache2.0/ */
|
||||
/* */
|
||||
/* or in the "license" file accompanying this file. This file is distributed on an "AS IS" */
|
||||
/* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the */
|
||||
/* License for the specific language governing permissions and limitations under the License. */
|
||||
/**********************************************************************************************/
|
||||
|
||||
#ifndef LIBCAPTION_XDS_H
|
||||
#define LIBCAPTION_XDS_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
typedef struct {
|
||||
int state;
|
||||
uint8_t class;
|
||||
uint8_t type;
|
||||
uint32_t size;
|
||||
uint8_t content[32];
|
||||
uint8_t checksum;
|
||||
} xds_t;
|
||||
|
||||
void xds_init (xds_t* xds);
|
||||
int xds_decode (xds_t* xds, uint16_t cc);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue