#include "avcodec.h"
#include "libavcodec/ass.h"
#include "codec_internal.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include <aribb24/aribb24.h>
#include <aribb24/parser.h>
#include <aribb24/decoder.h>
Go to the source code of this file.
◆ RGB_TO_BGR
#define RGB_TO_BGR |
( |
|
c | ) |
(((c) & 0xff) << 16 | ((c) & 0xff00) | (((c) >> 16) & 0xff)) |
◆ OFFSET
◆ SD
◆ get_profile_font_size()
◆ libaribb24_log()
static void libaribb24_log |
( |
void * |
p, |
|
|
const char * |
msg |
|
) |
| |
|
static |
◆ libaribb24_generate_ass_header()
◆ libaribb24_init()
◆ libaribb24_close()
◆ libaribb24_handle_regions()
◆ libaribb24_decode()
◆ libaribb24_flush()
◆ options
Initial value:= {
{ "aribb24-base-path", "set the base path for the libaribb24 library",
{ "aribb24-skip-ruby-text", "skip ruby text blocks during decoding",
{ "default_profile", "default profile to use if not specified in the stream parameters",
}
Definition at line 377 of file libaribb24.c.
◆ aribb24_class
Initial value:= {
.class_name = "libaribb24 decoder",
}
Definition at line 389 of file libaribb24.c.
◆ ff_libaribb24_decoder
const FFCodec ff_libaribb24_decoder |
Initial value:= {
.p.name = "libaribb24",
.p.wrapper_name = "libaribb24",
}
Definition at line 396 of file libaribb24.c.
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
static av_cold int libaribb24_init(AVCodecContext *avctx)
#define FF_CODEC_CAP_NOT_INIT_THREADSAFE
The codec is not known to be init-threadsafe (i.e.
#define AV_PROFILE_ARIB_PROFILE_C
#define AV_PROFILE_ARIB_PROFILE_A
#define AV_PROFILE_UNKNOWN
#define CODEC_LONG_NAME(str)
@ AV_CODEC_ID_ARIB_CAPTION
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
const char * av_default_item_name(void *ptr)
Return the context name.
av_cold void CBS_FUNC() close(CodedBitstreamContext **ctx_ptr)
Close a context and free all internal state.
int(* init)(AVBSFContext *ctx)
static void libaribb24_flush(AVCodecContext *avctx)
@ AV_OPT_TYPE_INT
Underlying C type is int.
#define FF_CODEC_DECODE_SUB_CB(func)
static av_cold int libaribb24_close(AVCodecContext *avctx)
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
static int libaribb24_decode(AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, const AVPacket *pkt)
static const AVClass aribb24_class
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.