mirror of
https://github.com/librempeg/librempeg
synced 2024-11-21 16:44:05 +00:00
lavc/hevc*: move to hevc/ subdir
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
23c0a2be97
commit
cf7d6a9987
@ -65,6 +65,7 @@ OBJS = ac3_parser.o \
|
||||
|
||||
# subsystems
|
||||
include $(SRC_PATH)/libavcodec/aac/Makefile
|
||||
include $(SRC_PATH)/libavcodec/hevc/Makefile
|
||||
include $(SRC_PATH)/libavcodec/vvc/Makefile
|
||||
-include $(SRC_PATH)/libavcodec/$(ARCH)/vvc/Makefile
|
||||
OBJS-$(CONFIG_AANDCTTABLES) += aandcttab.o
|
||||
@ -105,10 +106,6 @@ OBJS-$(CONFIG_H264PARSE) += h264_parse.o h264_ps.o h264data.o \
|
||||
OBJS-$(CONFIG_H264PRED) += h264pred.o
|
||||
OBJS-$(CONFIG_H264QPEL) += h264qpel.o
|
||||
OBJS-$(CONFIG_H264_SEI) += h264_sei.o h2645_sei.o
|
||||
OBJS-$(CONFIG_HEVCPARSE) += hevc_parse.o hevc_ps.o hevc_data.o \
|
||||
h2645data.o h2645_parse.o h2645_vui.o
|
||||
OBJS-$(CONFIG_HEVC_SEI) += hevc_sei.o h2645_sei.o \
|
||||
dynamic_hdr_vivid.o aom_film_grain.o
|
||||
OBJS-$(CONFIG_HPELDSP) += hpeldsp.o
|
||||
OBJS-$(CONFIG_HUFFMAN) += huffman.o
|
||||
OBJS-$(CONFIG_HUFFYUVDSP) += huffyuvdsp.o
|
||||
@ -431,10 +428,6 @@ OBJS-$(CONFIG_HCA_DECODER) += hcadec.o
|
||||
OBJS-$(CONFIG_HCOM_DECODER) += hcom.o
|
||||
OBJS-$(CONFIG_HDR_DECODER) += hdrdec.o
|
||||
OBJS-$(CONFIG_HDR_ENCODER) += hdrenc.o
|
||||
OBJS-$(CONFIG_HEVC_DECODER) += hevcdec.o hevc_mvs.o \
|
||||
hevc_cabac.o hevc_refs.o hevcpred.o \
|
||||
hevcdsp.o hevc_filter.o hevc_data.o \
|
||||
h274.o aom_film_grain.o
|
||||
OBJS-$(CONFIG_HEVC_AMF_ENCODER) += amfenc_hevc.o
|
||||
OBJS-$(CONFIG_HEVC_CUVID_DECODER) += cuviddec.o
|
||||
OBJS-$(CONFIG_HEVC_MEDIACODEC_DECODER) += mediacodecdec.o
|
||||
@ -442,7 +435,7 @@ OBJS-$(CONFIG_HEVC_MEDIACODEC_ENCODER) += mediacodecenc.o
|
||||
OBJS-$(CONFIG_HEVC_MF_ENCODER) += mfenc.o mf_utils.o
|
||||
OBJS-$(CONFIG_HEVC_NVENC_ENCODER) += nvenc_hevc.o nvenc.o
|
||||
OBJS-$(CONFIG_HEVC_QSV_DECODER) += qsvdec.o
|
||||
OBJS-$(CONFIG_HEVC_QSV_ENCODER) += qsvenc_hevc.o hevc_ps_enc.o
|
||||
OBJS-$(CONFIG_HEVC_QSV_ENCODER) += qsvenc_hevc.o hevc/ps_enc.o
|
||||
OBJS-$(CONFIG_HEVC_RKMPP_DECODER) += rkmppdec.o
|
||||
OBJS-$(CONFIG_HEVC_VAAPI_ENCODER) += vaapi_encode_h265.o h265_profile_level.o \
|
||||
h2645data.o
|
||||
@ -1199,7 +1192,6 @@ OBJS-$(CONFIG_GSM_PARSER) += gsm_parser.o
|
||||
OBJS-$(CONFIG_H261_PARSER) += h261_parser.o
|
||||
OBJS-$(CONFIG_H263_PARSER) += h263_parser.o
|
||||
OBJS-$(CONFIG_H264_PARSER) += h264_parser.o h264data.o
|
||||
OBJS-$(CONFIG_HEVC_PARSER) += hevc_parser.o
|
||||
OBJS-$(CONFIG_HDR_PARSER) += hdr_parser.o
|
||||
OBJS-$(CONFIG_IPU_PARSER) += ipu_parser.o
|
||||
OBJS-$(CONFIG_JPEG2000_PARSER) += jpeg2000_parser.o
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/cpu.h"
|
||||
#include "libavutil/aarch64/cpu.h"
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
|
||||
void ff_hevc_v_loop_filter_chroma_8_neon(uint8_t *_pix, ptrdiff_t _stride,
|
||||
const int *_tc, const uint8_t *_no_p, const uint8_t *_no_q);
|
||||
|
@ -19,7 +19,7 @@
|
||||
#ifndef AVCODEC_ARM_HEVCDSP_ARM_H
|
||||
#define AVCODEC_ARM_HEVCDSP_ARM_H
|
||||
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
|
||||
void ff_hevc_dsp_init_neon(HEVCDSPContext *c, const int bit_depth);
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "libavutil/cpu.h"
|
||||
#include "libavutil/arm/cpu.h"
|
||||
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
#include "hevcdsp_arm.h"
|
||||
|
||||
av_cold void ff_hevc_dsp_init_arm(HEVCDSPContext *c, const int bit_depth)
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/arm/cpu.h"
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "hevcdsp_arm.h"
|
||||
|
||||
|
@ -29,11 +29,12 @@
|
||||
#include "bytestream.h"
|
||||
#include "h2645_parse.h"
|
||||
#include "h264.h"
|
||||
#include "hevc.h"
|
||||
#include "startcode.h"
|
||||
#include "vc1_common.h"
|
||||
#include "vvc.h"
|
||||
|
||||
#include "hevc/hevc.h"
|
||||
|
||||
typedef struct ExtractExtradataContext {
|
||||
const AVClass *class;
|
||||
|
||||
|
@ -25,9 +25,10 @@
|
||||
#include "cbs_bsf.h"
|
||||
#include "cbs_h265.h"
|
||||
#include "h2645data.h"
|
||||
#include "hevc.h"
|
||||
#include "h265_profile_level.h"
|
||||
|
||||
#include "hevc/hevc.h"
|
||||
|
||||
enum {
|
||||
LEVEL_UNSET = -2,
|
||||
LEVEL_AUTO = -1,
|
||||
|
@ -28,7 +28,8 @@
|
||||
#include "bsf_internal.h"
|
||||
#include "bytestream.h"
|
||||
#include "defs.h"
|
||||
#include "hevc.h"
|
||||
|
||||
#include "hevc/hevc.h"
|
||||
|
||||
#define MIN_HEVCC_LENGTH 23
|
||||
|
||||
|
@ -25,10 +25,11 @@
|
||||
#include "bsf.h"
|
||||
#include "bsf_internal.h"
|
||||
#include "h264.h"
|
||||
#include "hevc.h"
|
||||
#include "startcode.h"
|
||||
#include "vc1_common.h"
|
||||
|
||||
#include "hevc/hevc.h"
|
||||
|
||||
enum RemoveFreq {
|
||||
REMOVE_FREQ_KEYFRAME,
|
||||
REMOVE_FREQ_ALL,
|
||||
|
@ -28,10 +28,10 @@
|
||||
#include "cbs_h266.h"
|
||||
#include "h264.h"
|
||||
#include "h2645_parse.h"
|
||||
#include "hevc.h"
|
||||
#include "refstruct.h"
|
||||
#include "vvc.h"
|
||||
|
||||
#include "hevc/hevc.h"
|
||||
|
||||
static int cbs_read_ue_golomb(CodedBitstreamContext *ctx, GetBitContext *gbc,
|
||||
const char *name, const int *subscripts,
|
||||
|
@ -24,7 +24,8 @@
|
||||
|
||||
#include "cbs_h2645.h"
|
||||
#include "cbs_sei.h"
|
||||
#include "hevc.h"
|
||||
|
||||
#include "hevc/hevc.h"
|
||||
|
||||
typedef struct H265RawNALUnitHeader {
|
||||
uint8_t nal_unit_type;
|
||||
|
@ -24,8 +24,8 @@
|
||||
|
||||
#include "libavutil/avassert.h"
|
||||
#include "libavutil/hwcontext_d3d12va_internal.h"
|
||||
#include "hevc_data.h"
|
||||
#include "hevcdec.h"
|
||||
#include "hevc/data.h"
|
||||
#include "hevc/hevcdec.h"
|
||||
#include "dxva2_internal.h"
|
||||
#include "d3d12va_decode.h"
|
||||
#include <dxva.h>
|
||||
|
@ -25,8 +25,8 @@
|
||||
#include "libavutil/avassert.h"
|
||||
|
||||
#include "dxva2_internal.h"
|
||||
#include "hevc_data.h"
|
||||
#include "hevcdec.h"
|
||||
#include "hevc/data.h"
|
||||
#include "hevc/hevcdec.h"
|
||||
#include "hwaccel_internal.h"
|
||||
|
||||
#define MAX_SLICES 256
|
||||
|
@ -27,11 +27,12 @@
|
||||
#include "libavutil/mem.h"
|
||||
|
||||
#include "bytestream.h"
|
||||
#include "hevc.h"
|
||||
#include "h264.h"
|
||||
#include "h2645_parse.h"
|
||||
#include "vvc.h"
|
||||
|
||||
#include "hevc/hevc.h"
|
||||
|
||||
int ff_h2645_extract_rbsp(const uint8_t *src, int length,
|
||||
H2645RBSP *rbsp, H2645NAL *nal, int small_padding)
|
||||
{
|
||||
|
36
libavcodec/hevc/Makefile
Normal file
36
libavcodec/hevc/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
clean::
|
||||
$(RM) $(CLEANSUFFIXES:%=libavcodec/hevc/%)
|
||||
|
||||
OBJS-$(CONFIG_HEVC_DECODER) += \
|
||||
aom_film_grain.o \
|
||||
h274.o \
|
||||
hevc/cabac.o \
|
||||
hevc/data.o \
|
||||
hevc/dsp.o \
|
||||
hevc/filter.o \
|
||||
hevc/hevcdec.o \
|
||||
hevc/mvs.o \
|
||||
hevc/pred.o \
|
||||
hevc/refs.o \
|
||||
|
||||
OBJS-$(CONFIG_HEVC_PARSER) += \
|
||||
hevc/parser.o \
|
||||
|
||||
|
||||
OBJS-$(CONFIG_HEVCPARSE) += \
|
||||
h2645data.o \
|
||||
h2645_parse.o \
|
||||
h2645_vui.o \
|
||||
hevc/data.o \
|
||||
hevc/parse.o \
|
||||
hevc/ps.o \
|
||||
|
||||
|
||||
OBJS-$(CONFIG_HEVC_SEI) += \
|
||||
hevc/sei.o \
|
||||
h2645_sei.o \
|
||||
dynamic_hdr_vivid.o \
|
||||
aom_film_grain.o \
|
||||
|
||||
|
||||
libavcodec/hevc/%.o: CPPFLAGS += -I$(SRC_PATH)/libavcodec/
|
@ -25,7 +25,7 @@
|
||||
#include "libavutil/common.h"
|
||||
|
||||
#include "cabac_functions.h"
|
||||
#include "hevc_data.h"
|
||||
#include "data.h"
|
||||
#include "hevc.h"
|
||||
#include "hevcdec.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "hevc_data.h"
|
||||
#include "data.h"
|
||||
|
||||
const uint8_t ff_hevc_diag_scan4x4_x[16] = {
|
||||
0, 0, 1, 0,
|
@ -22,7 +22,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "hevcdsp.h"
|
||||
#include "dsp.h"
|
||||
|
||||
static const int8_t transform[32][32] = {
|
||||
{ 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64,
|
||||
@ -110,19 +110,19 @@ DECLARE_ALIGNED(16, const int8_t, ff_hevc_qpel_filters)[4][16] = {
|
||||
};
|
||||
|
||||
#define BIT_DEPTH 8
|
||||
#include "hevcdsp_template.c"
|
||||
#include "dsp_template.c"
|
||||
#undef BIT_DEPTH
|
||||
|
||||
#define BIT_DEPTH 9
|
||||
#include "hevcdsp_template.c"
|
||||
#include "dsp_template.c"
|
||||
#undef BIT_DEPTH
|
||||
|
||||
#define BIT_DEPTH 10
|
||||
#include "hevcdsp_template.c"
|
||||
#include "dsp_template.c"
|
||||
#undef BIT_DEPTH
|
||||
|
||||
#define BIT_DEPTH 12
|
||||
#include "hevcdsp_template.c"
|
||||
#include "dsp_template.c"
|
||||
#undef BIT_DEPTH
|
||||
|
||||
void ff_hevc_dsp_init(HEVCDSPContext *hevcdsp, int bit_depth)
|
@ -22,12 +22,12 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef AVCODEC_HEVCDSP_H
|
||||
#define AVCODEC_HEVCDSP_H
|
||||
#ifndef AVCODEC_HEVC_DSP_H
|
||||
#define AVCODEC_HEVC_DSP_H
|
||||
|
||||
#include "libavutil/mem_internal.h"
|
||||
|
||||
#include "get_bits.h"
|
||||
#include "libavcodec/get_bits.h"
|
||||
|
||||
#define MAX_PB_SIZE 64
|
||||
|
||||
@ -137,4 +137,4 @@ void ff_hevc_dsp_init_x86(HEVCDSPContext *c, const int bit_depth);
|
||||
void ff_hevc_dsp_init_mips(HEVCDSPContext *c, const int bit_depth);
|
||||
void ff_hevc_dsp_init_loongarch(HEVCDSPContext *c, const int bit_depth);
|
||||
|
||||
#endif /* AVCODEC_HEVCDSP_H */
|
||||
#endif /* AVCODEC_HEVC_DSP_H */
|
@ -24,7 +24,7 @@
|
||||
#include "hevcdec.h"
|
||||
|
||||
#include "bit_depth_template.c"
|
||||
#include "hevcdsp.h"
|
||||
#include "dsp.h"
|
||||
#include "h26x/h2656_sao_template.c"
|
||||
#include "h26x/h2656_inter_template.c"
|
||||
|
@ -18,8 +18,8 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef AVCODEC_HEVC_H
|
||||
#define AVCODEC_HEVC_H
|
||||
#ifndef AVCODEC_HEVC_HEVC_H
|
||||
#define AVCODEC_HEVC_HEVC_H
|
||||
|
||||
/**
|
||||
* Table 7-1 – NAL unit type codes and NAL unit type classes in
|
||||
@ -160,4 +160,4 @@ enum {
|
||||
};
|
||||
|
||||
|
||||
#endif /* AVCODEC_HEVC_H */
|
||||
#endif /* AVCODEC_HEVC_HEVC_H */
|
@ -43,7 +43,7 @@
|
||||
#include "decode.h"
|
||||
#include "golomb.h"
|
||||
#include "hevc.h"
|
||||
#include "hevc_parse.h"
|
||||
#include "parse.h"
|
||||
#include "hevcdec.h"
|
||||
#include "hwaccel_internal.h"
|
||||
#include "hwconfig.h"
|
@ -20,28 +20,29 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef AVCODEC_HEVCDEC_H
|
||||
#define AVCODEC_HEVCDEC_H
|
||||
#ifndef AVCODEC_HEVC_HEVCDEC_H
|
||||
#define AVCODEC_HEVC_HEVCDEC_H
|
||||
|
||||
#include <stdatomic.h>
|
||||
|
||||
#include "libavutil/buffer.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "bswapdsp.h"
|
||||
#include "cabac.h"
|
||||
#include "dovi_rpu.h"
|
||||
#include "get_bits.h"
|
||||
#include "hevcpred.h"
|
||||
#include "h2645_parse.h"
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavcodec/bswapdsp.h"
|
||||
#include "libavcodec/cabac.h"
|
||||
#include "libavcodec/dovi_rpu.h"
|
||||
#include "libavcodec/get_bits.h"
|
||||
#include "libavcodec/h2645_parse.h"
|
||||
#include "libavcodec/h274.h"
|
||||
#include "libavcodec/progressframe.h"
|
||||
#include "libavcodec/videodsp.h"
|
||||
|
||||
#include "dsp.h"
|
||||
#include "hevc.h"
|
||||
#include "hevc_ps.h"
|
||||
#include "hevc_sei.h"
|
||||
#include "hevcdsp.h"
|
||||
#include "h274.h"
|
||||
#include "progressframe.h"
|
||||
#include "videodsp.h"
|
||||
#include "pred.h"
|
||||
#include "ps.h"
|
||||
#include "sei.h"
|
||||
|
||||
#define SHIFT_CTB_WPP 2
|
||||
|
||||
@ -675,4 +676,4 @@ extern const uint8_t ff_hevc_qpel_extra_before[4];
|
||||
extern const uint8_t ff_hevc_qpel_extra_after[4];
|
||||
extern const uint8_t ff_hevc_qpel_extra[4];
|
||||
|
||||
#endif /* AVCODEC_HEVCDEC_H */
|
||||
#endif /* AVCODEC_HEVC_HEVCDEC_H */
|
@ -19,7 +19,7 @@
|
||||
#include "bytestream.h"
|
||||
#include "h2645_parse.h"
|
||||
#include "hevc.h"
|
||||
#include "hevc_parse.h"
|
||||
#include "parse.h"
|
||||
|
||||
static int hevc_decode_nal_units(const uint8_t *buf, int buf_size, HEVCParamSets *ps,
|
||||
HEVCSEI *sei, int is_nalff, int nal_length_size,
|
@ -26,8 +26,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "hevc_ps.h"
|
||||
#include "hevc_sei.h"
|
||||
#include "ps.h"
|
||||
#include "sei.h"
|
||||
|
||||
int ff_hevc_decode_extradata(const uint8_t *data, int size, HEVCParamSets *ps,
|
||||
HEVCSEI *sei, int *is_nalff, int *nal_length_size,
|
@ -25,9 +25,9 @@
|
||||
|
||||
#include "golomb.h"
|
||||
#include "hevc.h"
|
||||
#include "hevc_parse.h"
|
||||
#include "hevc_ps.h"
|
||||
#include "hevc_sei.h"
|
||||
#include "parse.h"
|
||||
#include "ps.h"
|
||||
#include "sei.h"
|
||||
#include "h2645_parse.h"
|
||||
#include "parser.h"
|
||||
|
@ -22,22 +22,22 @@
|
||||
|
||||
#include "hevcdec.h"
|
||||
|
||||
#include "hevcpred.h"
|
||||
#include "pred.h"
|
||||
|
||||
#define BIT_DEPTH 8
|
||||
#include "hevcpred_template.c"
|
||||
#include "pred_template.c"
|
||||
#undef BIT_DEPTH
|
||||
|
||||
#define BIT_DEPTH 9
|
||||
#include "hevcpred_template.c"
|
||||
#include "pred_template.c"
|
||||
#undef BIT_DEPTH
|
||||
|
||||
#define BIT_DEPTH 10
|
||||
#include "hevcpred_template.c"
|
||||
#include "pred_template.c"
|
||||
#undef BIT_DEPTH
|
||||
|
||||
#define BIT_DEPTH 12
|
||||
#include "hevcpred_template.c"
|
||||
#include "pred_template.c"
|
||||
#undef BIT_DEPTH
|
||||
|
||||
void ff_hevc_pred_init(HEVCPredContext *hpc, int bit_depth)
|
@ -20,8 +20,8 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifndef AVCODEC_HEVCPRED_H
|
||||
#define AVCODEC_HEVCPRED_H
|
||||
#ifndef AVCODEC_HEVC_PRED_H
|
||||
#define AVCODEC_HEVC_PRED_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
@ -43,4 +43,4 @@ typedef struct HEVCPredContext {
|
||||
void ff_hevc_pred_init(HEVCPredContext *hpc, int bit_depth);
|
||||
void ff_hevc_pred_init_mips(HEVCPredContext *hpc, int bit_depth);
|
||||
|
||||
#endif /* AVCODEC_HEVCPRED_H */
|
||||
#endif /* AVCODEC_HEVC_PRED_H */
|
@ -23,7 +23,7 @@
|
||||
#include "libavutil/pixdesc.h"
|
||||
|
||||
#include "bit_depth_template.c"
|
||||
#include "hevcpred.h"
|
||||
#include "pred.h"
|
||||
|
||||
#define POS(x, y) src[(x) + stride * (y)]
|
||||
|
@ -27,8 +27,8 @@
|
||||
#include "libavutil/mem.h"
|
||||
#include "golomb.h"
|
||||
#include "h2645_vui.h"
|
||||
#include "hevc_data.h"
|
||||
#include "hevc_ps.h"
|
||||
#include "data.h"
|
||||
#include "ps.h"
|
||||
#include "refstruct.h"
|
||||
|
||||
static const uint8_t default_scaling_list_intra[] = {
|
@ -26,9 +26,10 @@
|
||||
#include "libavutil/pixfmt.h"
|
||||
#include "libavutil/rational.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "get_bits.h"
|
||||
#include "h2645_vui.h"
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavcodec/get_bits.h"
|
||||
#include "libavcodec/h2645_vui.h"
|
||||
|
||||
#include "hevc.h"
|
||||
|
||||
typedef struct HEVCSublayerHdrParams {
|
@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "put_golomb.h"
|
||||
#include "hevc_ps.h"
|
||||
#include "ps.h"
|
||||
#include "put_bits.h"
|
||||
|
||||
static void write_ptl_layer(PutBitContext *pb, PTLCommon *ptl)
|
@ -24,8 +24,8 @@
|
||||
|
||||
#include "bytestream.h"
|
||||
#include "golomb.h"
|
||||
#include "hevc_ps.h"
|
||||
#include "hevc_sei.h"
|
||||
#include "ps.h"
|
||||
#include "sei.h"
|
||||
|
||||
static int decode_nal_sei_decoded_picture_hash(HEVCSEIPictureHash *s,
|
||||
GetByteContext *gb)
|
@ -25,10 +25,11 @@
|
||||
|
||||
#include "libavutil/buffer.h"
|
||||
|
||||
#include "get_bits.h"
|
||||
#include "libavcodec/get_bits.h"
|
||||
#include "libavcodec/h2645_sei.h"
|
||||
#include "libavcodec/sei.h"
|
||||
|
||||
#include "hevc.h"
|
||||
#include "h2645_sei.h"
|
||||
#include "sei.h"
|
||||
|
||||
|
||||
typedef enum {
|
@ -22,7 +22,7 @@
|
||||
#ifndef AVCODEC_LOONGARCH_HEVCDSP_LASX_H
|
||||
#define AVCODEC_LOONGARCH_HEVCDSP_LASX_H
|
||||
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
|
||||
#define PEL_UNI_W(PEL, DIR, WIDTH) \
|
||||
void ff_hevc_put_hevc_##PEL##_uni_w_##DIR##WIDTH##_8_lasx(uint8_t *dst, \
|
||||
|
@ -23,7 +23,7 @@
|
||||
#ifndef AVCODEC_LOONGARCH_HEVCDSP_LSX_H
|
||||
#define AVCODEC_LOONGARCH_HEVCDSP_LSX_H
|
||||
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
|
||||
#define MC(PEL, DIR, WIDTH) \
|
||||
void ff_hevc_put_hevc_##PEL##_##DIR##WIDTH##_8_lsx(int16_t *dst, \
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "decode.h"
|
||||
#include "h264_parse.h"
|
||||
#include "h264_ps.h"
|
||||
#include "hevc_parse.h"
|
||||
#include "hevc/parse.h"
|
||||
#include "hwconfig.h"
|
||||
#include "internal.h"
|
||||
#include "jni.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
#ifndef AVCODEC_MIPS_HEVCDSP_MIPS_H
|
||||
#define AVCODEC_MIPS_HEVCDSP_MIPS_H
|
||||
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
|
||||
#define MC(PEL, DIR, WIDTH) \
|
||||
void ff_hevc_put_hevc_##PEL##_##DIR##WIDTH##_8_msa(int16_t *dst, \
|
||||
|
@ -18,7 +18,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavcodec/hevcdec.h"
|
||||
#include "libavcodec/hevc/hevcdec.h"
|
||||
#include "libavcodec/bit_depth_template.c"
|
||||
#include "libavcodec/mips/hevcdsp_mips.h"
|
||||
#include "libavutil/mips/mmiutils.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
#ifndef AVCODEC_MIPS_HEVCPRED_MIPS_H
|
||||
#define AVCODEC_MIPS_HEVCPRED_MIPS_H
|
||||
|
||||
#include "libavcodec/hevcpred.h"
|
||||
#include "libavcodec/hevc/pred.h"
|
||||
|
||||
void ff_hevc_intra_pred_planar_0_msa(uint8_t *dst,
|
||||
const uint8_t *src_top,
|
||||
|
@ -18,7 +18,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavcodec/hevcdec.h"
|
||||
#include "libavcodec/hevc/dec.h"
|
||||
#include "libavutil/mips/generic_macros_msa.h"
|
||||
#include "hevcpred_mips.h"
|
||||
|
||||
|
@ -28,8 +28,8 @@
|
||||
#include "nvdec.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "hevcdec.h"
|
||||
#include "hevc_data.h"
|
||||
#include "hevc/hevcdec.h"
|
||||
#include "hevc/data.h"
|
||||
#include "hwaccel_internal.h"
|
||||
|
||||
static void dpb_add(CUVIDHEVCPICPARAMS *pp, int idx, const HEVCFrame *src)
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "config_components.h"
|
||||
|
||||
#include "nvenc.h"
|
||||
#include "hevc_sei.h"
|
||||
#include "hevc/sei.h"
|
||||
#if CONFIG_AV1_NVENC_ENCODER
|
||||
#include "av1.h"
|
||||
#endif
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "libavutil/ppc/cpu.h"
|
||||
#include "libavutil/ppc/util_altivec.h"
|
||||
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
|
||||
#if HAVE_ALTIVEC
|
||||
static const vec_s16 trans4[4] = {
|
||||
|
@ -33,12 +33,13 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "get_bits.h"
|
||||
#include "hevc.h"
|
||||
#include "hevcdec.h"
|
||||
#include "h2645_parse.h"
|
||||
#include "qsv.h"
|
||||
#include "qsvenc.h"
|
||||
|
||||
#include "hevc/hevc.h"
|
||||
#include "hevc/ps.h"
|
||||
|
||||
enum LoadPlugin {
|
||||
LOAD_PLUGIN_NONE,
|
||||
LOAD_PLUGIN_HEVC_SW,
|
||||
|
@ -35,9 +35,10 @@
|
||||
#include "codec_internal.h"
|
||||
#include "h2645data.h"
|
||||
#include "h265_profile_level.h"
|
||||
#include "hevc.h"
|
||||
#include "vaapi_encode.h"
|
||||
|
||||
#include "hevc/hevc.h"
|
||||
|
||||
enum {
|
||||
SEI_MASTERING_DISPLAY = 0x08,
|
||||
SEI_CONTENT_LIGHT_LEVEL = 0x10,
|
||||
|
@ -24,12 +24,13 @@
|
||||
#include <va/va_dec_hevc.h>
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "hevcdec.h"
|
||||
#include "hwaccel_internal.h"
|
||||
#include "vaapi_decode.h"
|
||||
#include "vaapi_hevc.h"
|
||||
#include "h265_profile_level.h"
|
||||
|
||||
#include "hevc/hevcdec.h"
|
||||
|
||||
typedef struct VAAPIDecodePictureHEVC {
|
||||
#if VA_CHECK_VERSION(1, 2, 0)
|
||||
VAPictureParameterBufferHEVCExtension pic_param;
|
||||
|
@ -23,8 +23,8 @@
|
||||
#include <vdpau/vdpau.h>
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "hevc_data.h"
|
||||
#include "hevcdec.h"
|
||||
#include "hevc/data.h"
|
||||
#include "hevc/hevcdec.h"
|
||||
#include "hwaccel_internal.h"
|
||||
#include "vdpau.h"
|
||||
#include "vdpau_internal.h"
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "h264dec.h"
|
||||
#include "hevcdec.h"
|
||||
#include "hevc/hevcdec.h"
|
||||
#include "hwaccel_internal.h"
|
||||
#include "mpegvideo.h"
|
||||
#include "proresdec.h"
|
||||
|
@ -17,9 +17,9 @@
|
||||
*/
|
||||
|
||||
#include "libavutil/mem.h"
|
||||
#include "hevcdec.h"
|
||||
#include "hevc_data.h"
|
||||
#include "hevc_ps.h"
|
||||
#include "hevc/hevcdec.h"
|
||||
#include "hevc/data.h"
|
||||
#include "hevc/ps.h"
|
||||
|
||||
#include "vulkan_decode.h"
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "libavutil/mem_internal.h"
|
||||
#include "libavutil/x86/asm.h"
|
||||
#include "libavutil/x86/cpu.h"
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
#include "libavcodec/x86/hevcdsp.h"
|
||||
#include "libavcodec/x86/h26x/h2656dsp.h"
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "libavcodec/get_bits.h"
|
||||
#include "libavcodec/golomb.h"
|
||||
#include "libavcodec/hevc.h"
|
||||
#include "libavcodec/hevc/hevc.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/mem.h"
|
||||
#include "avc.h"
|
||||
|
@ -19,7 +19,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavcodec/hevc.h"
|
||||
#include "libavcodec/hevc/hevc.h"
|
||||
|
||||
#include "avformat.h"
|
||||
#include "rawdec.h"
|
||||
|
@ -52,7 +52,7 @@
|
||||
#include "libavutil/uuid.h"
|
||||
#include "libavcodec/ac3tab.h"
|
||||
#include "libavcodec/flac.h"
|
||||
#include "libavcodec/hevc.h"
|
||||
#include "libavcodec/hevc/hevc.h"
|
||||
#include "libavcodec/mpegaudiodecheader.h"
|
||||
#include "libavcodec/mlp_parse.h"
|
||||
#include "avformat.h"
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "libavcodec/bytestream.h"
|
||||
#include "libavcodec/defs.h"
|
||||
#include "libavcodec/h264.h"
|
||||
#include "libavcodec/hevc.h"
|
||||
#include "libavcodec/hevc/hevc.h"
|
||||
#include "libavcodec/vvc.h"
|
||||
#include "libavcodec/startcode.h"
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
|
||||
#include "checkasm.h"
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "libavutil/macros.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
|
||||
#include "checkasm.h"
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
|
||||
#include "checkasm.h"
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include "checkasm.h"
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
|
||||
#include "libavcodec/hevcdsp.h"
|
||||
#include "libavcodec/hevc/dsp.h"
|
||||
|
||||
#include "checkasm.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user