xine-lib  1.2.9
Data Structures | Macros | Typedefs | Enumerations | Variables
alterh264_decode.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <xine/xine_internal.h>
#include <xine/video_out.h>
#include <xine/buffer.h>
#include <xine/xineutils.h>
#include "accel_vdpau.h"
#include <vdpau/vdpau.h>
#include "alterh264_bits_reader.h"

Go to the source code of this file.

Data Structures

struct  vui_param_t
 
struct  seq_param_t
 
struct  pic_param_t
 
struct  slice_param_t
 
struct  dpb_frame_t
 
struct  slice_t
 
struct  sequence_t
 
struct  vdpau_h264_alter_class_t
 
struct  vdpau_mpeg12_decoder_s
 

Macros

#define LOG_MODULE   "vdpau_h264"
 
#define PICTURE_TOP_DONE   1
 
#define PICTURE_BOTTOM_DONE   2
 
#define PICTURE_DONE   3
 
#define SHORT_TERM_REF   1
 
#define LONG_TERM_REF   2
 

Typedefs

typedef struct vdpau_mpeg12_decoder_s vdpau_h264_alter_decoder_t
 

Enumerations

enum  aspect_ratio {
  ASPECT_UNSPECIFIED = 0, ASPECT_1_1, ASPECT_12_11, ASPECT_10_11,
  ASPECT_16_11, ASPECT_40_33, ASPECT_24_11, ASPECT_20_11,
  ASPECT_32_11, ASPECT_80_33, ASPECT_18_11, ASPECT_15_11,
  ASPECT_64_33, ASPECT_160_99, ASPECT_4_3, ASPECT_3_2,
  ASPECT_2_1, ASPECT_RESERVED, ASPECT_EXTENDED_SAR = 255, ASPECT_UNSPECIFIED = 0,
  ASPECT_1_1, ASPECT_12_11, ASPECT_10_11, ASPECT_16_11,
  ASPECT_40_33, ASPECT_24_11, ASPECT_20_11, ASPECT_32_11,
  ASPECT_80_33, ASPECT_18_11, ASPECT_15_11, ASPECT_64_33,
  ASPECT_160_99, ASPECT_4_3, ASPECT_3_2, ASPECT_2_1,
  ASPECT_RESERVED, ASPECT_EXTENDED_SAR =255
}
 

Variables

static const uint8_t zigzag_4x4 [16]
 
static const uint8_t zigzag_8x8 [64]
 
static const uint8_t default_4x4_intra [16]
 
static const uint8_t default_4x4_inter [16]
 
static const uint8_t default_8x8_intra [64]
 
static const uint8_t default_8x8_inter [64]
 

Macro Definition Documentation

◆ LOG_MODULE

#define LOG_MODULE   "vdpau_h264"

◆ LONG_TERM_REF

#define LONG_TERM_REF   2

◆ PICTURE_BOTTOM_DONE

#define PICTURE_BOTTOM_DONE   2

Referenced by decode_picture(), and decode_poc().

◆ PICTURE_DONE

#define PICTURE_DONE   3

◆ PICTURE_TOP_DONE

#define PICTURE_TOP_DONE   1

Referenced by decode_picture(), and decode_poc().

◆ SHORT_TERM_REF

#define SHORT_TERM_REF   1

Referenced by dec_ref_pic_marking().

Typedef Documentation

◆ vdpau_h264_alter_decoder_t

Enumeration Type Documentation

◆ aspect_ratio

Enumerator
ASPECT_UNSPECIFIED 
ASPECT_1_1 
ASPECT_12_11 
ASPECT_10_11 
ASPECT_16_11 
ASPECT_40_33 
ASPECT_24_11 
ASPECT_20_11 
ASPECT_32_11 
ASPECT_80_33 
ASPECT_18_11 
ASPECT_15_11 
ASPECT_64_33 
ASPECT_160_99 
ASPECT_4_3 
ASPECT_3_2 
ASPECT_2_1 
ASPECT_RESERVED 
ASPECT_EXTENDED_SAR 
ASPECT_UNSPECIFIED 
ASPECT_1_1 
ASPECT_12_11 
ASPECT_10_11 
ASPECT_16_11 
ASPECT_40_33 
ASPECT_24_11 
ASPECT_20_11 
ASPECT_32_11 
ASPECT_80_33 
ASPECT_18_11 
ASPECT_15_11 
ASPECT_64_33 
ASPECT_160_99 
ASPECT_4_3 
ASPECT_3_2 
ASPECT_2_1 
ASPECT_RESERVED 
ASPECT_EXTENDED_SAR 

Variable Documentation

◆ default_4x4_inter

const uint8_t default_4x4_inter[16]
static
Initial value:
= {
10, 14, 14, 20,
20, 20, 24, 24,
24, 24, 27, 27,
27, 30, 30, 34
}

Referenced by parse_scaling_list(), and scaling_list_fallback_A().

◆ default_4x4_intra

const uint8_t default_4x4_intra[16]
static
Initial value:
= {
6, 13, 13, 20,
20, 20, 28, 28,
28, 28, 32, 32,
32, 37, 37, 42
}

Referenced by parse_scaling_list(), and scaling_list_fallback_A().

◆ default_8x8_inter

const uint8_t default_8x8_inter[64]
static
Initial value:
= {
9, 13, 13, 15, 13, 15, 17, 17,
17, 17, 19, 19, 19, 19, 19, 21,
21, 21, 21, 21, 21, 22, 22, 22,
22, 22, 22, 22, 24, 24, 24, 24,
24, 24, 24, 24, 25, 25, 25, 25,
25, 25, 25, 27, 27, 27, 27, 27,
27, 28, 28, 28, 28, 28, 30, 30,
30, 30, 32, 32, 32, 33, 33, 35
}

Referenced by parse_scaling_list(), and scaling_list_fallback_A().

◆ default_8x8_intra

const uint8_t default_8x8_intra[64]
static
Initial value:
= {
6, 10, 10, 13, 11, 13, 16, 16,
16, 16, 18, 18, 18, 18, 18, 23,
23, 23, 23, 23, 23, 25, 25, 25,
25, 25, 25, 25, 27, 27, 27, 27,
27, 27, 27, 27, 29, 29, 29, 29,
29, 29, 29, 31, 31, 31, 31, 31,
31, 33, 33, 33, 33, 33, 36, 36,
36, 36, 38, 38, 38, 40, 40, 42
}

Referenced by parse_scaling_list(), and scaling_list_fallback_A().

◆ zigzag_4x4

const uint8_t zigzag_4x4[16]
static
Initial value:
= {
0, 1, 4, 8,
5, 2, 3, 6,
9, 12, 13, 10,
7, 11, 14, 15
}

Referenced by parse_scaling_list(), scaling_list_fallback_A(), and sps_scaling_list_fallback().

◆ zigzag_8x8

const uint8_t zigzag_8x8[64]
static
Initial value:
= {
0, 1, 8, 16, 9, 2, 3, 10,
17, 24, 32, 25, 18, 11, 4, 5,
12, 19, 26, 33, 40, 48, 41, 34,
27, 20, 13, 6, 7, 14, 21, 28,
35, 42, 49, 56, 57, 50, 43, 36,
29, 22, 15, 23, 30, 37, 44, 51,
58, 59, 52, 45, 38, 31, 39, 46,
53, 60, 61, 54, 47, 55, 62, 63
}

Referenced by parse_scaling_list(), scaling_list_fallback_A(), and sps_scaling_list_fallback().