#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <libcrystalhd/bc_dts_types.h>
#include <libcrystalhd/bc_dts_defs.h>
#include <libcrystalhd/libcrystalhd_if.h>
#include "avcodec.h"
#include "h264.h"
#include "internal.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
Go to the source code of this file.
Functions |
static BC_MEDIA_SUBTYPE | id2subtype (CHDContext *priv, enum AVCodecID id) |
static void | print_frame_info (CHDContext *priv, BC_DTS_PROC_OUT *output) |
static uint64_t | opaque_list_push (CHDContext *priv, uint64_t reordered_opaque, uint8_t pic_type) |
static OpaqueList * | opaque_list_pop (CHDContext *priv, uint64_t fake_timestamp) |
static void | flush (AVCodecContext *avctx) |
static av_cold int | uninit (AVCodecContext *avctx) |
static av_cold int | init (AVCodecContext *avctx) |
static CopyRet | copy_frame (AVCodecContext *avctx, BC_DTS_PROC_OUT *output, void *data, int *got_frame) |
static CopyRet | receive_frame (AVCodecContext *avctx, void *data, int *got_frame) |
static int | decode (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
Macro Definition Documentation
#define _XOPEN_SOURCE 600 |
#define OUTPUT_PROC_TIMEOUT 50 |
#define TIMESTAMP_UNIT 100000 |
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
RET_ERROR |
|
RET_OK |
|
RET_COPY_AGAIN |
|
RET_SKIP_NEXT_COPY |
|
RET_COPY_NEXT_FIELD |
|
Definition at line 107 of file crystalhd.c.
Function Documentation
static uint64_t opaque_list_push |
( |
CHDContext * |
priv, |
|
|
uint64_t |
reordered_opaque, |
|
|
uint8_t |
pic_type |
|
) |
| |
|
static |
static void print_frame_info |
( |
CHDContext * |
priv, |
|
|
BC_DTS_PROC_OUT * |
output |
|
) |
| |
|
inlinestatic |
Variable Documentation
Initial value: {
{ "crystalhd_downscale_width",
"Turn on downscaling to the specified width",
0x42,
}
Definition at line 153 of file crystalhd.c.