vpx_codec_cx_pkt Struct Reference
[Encoder Algorithm Interface]

Encoder output packet. More...

#include <vpx_encoder.h>

Data Fields

enum vpx_codec_cx_pkt_kind kind
union {
   struct {
      void *   buf
      size_t   sz
      vpx_codec_pts_t   pts
 time stamp to show frame (in timebase units)
      unsigned long   duration
 duration to show frame (in timebase units)
      vpx_codec_frame_flags_t   flags
      int   partition_id
 the partition id defines the decoding order of the partitions. Only applicable when "output partition" mode is enabled. First partition has id 0.
   }   frame
   vpx_fixed_buf_t   twopass_stats
   vpx_fixed_buf_t   firstpass_mb_stats
   struct vpx_psnr_pkt {
      unsigned int   samples [4]
      uint64_t   sse [4]
      double   psnr [4]
   }   psnr
   vpx_fixed_buf_t   raw
   char   pad [128-sizeof(enum vpx_codec_cx_pkt_kind)]
data

Detailed Description

Encoder output packet.

This structure contains the different kinds of output data the encoder may produce while compressing a frame.


Field Documentation

packet variant

compressed data buffer

length of compressed data

flags for this frame

struct { ... } vpx_codec_cx_pkt::frame

data for compressed frame packet

data for two-pass packet

first pass mb packet

unsigned int vpx_codec_cx_pkt::samples[4]

Number of samples, total/y/u/v

uint64_t vpx_codec_cx_pkt::sse[4]

sum squared error, total/y/u/v

PSNR, total/y/u/v

struct { ... } ::vpx_psnr_pkt vpx_codec_cx_pkt::psnr

data for PSNR packet

data for arbitrary packets

fixed sz

union { ... } vpx_codec_cx_pkt::data

packet data


The documentation for this struct was generated from the following file:

Generated on 16 Jun 2017 for WebM Codec SDK by  doxygen 1.6.1