Maven module :un.storage : codec-vp8 :
Class : un.storage.media.vp8.VP8MacroBlock
Extends/Implements : -
Subclasses : -

A MacroBlock is a YUV block 4:2:0
Y : 16x16
U : 8x8
V : 8x8
Specification :
http://tools.ietf.org/html/rfc6386#page-5
author  Johann Sorel


Variables : frame, coordX, coordY, segment_id, mb_skip_coeff, is_inter_mb, mb_ref_frame_sel1, mb_ref_frame_sel2, mv_mode, mv_split_mode, sub_mv_mode, intra_y_mode, intra_uv_mode, subBlocks
Functions : VP8MacroBlock, read




public VP8Frame frame

public int coordX

public int coordY



public int segment_id

public boolean mb_skip_coeff

public boolean is_inter_mb


mb_ref_frame_sel1 selects the reference frame to be used; last frame (0), golden/alternate (1) */
public boolean mb_ref_frame_sel1


mb_ref_frame_sel2 selects whether the golden (0) or alternate reference frame (1) is used*/
public boolean mb_ref_frame_sel2

public int mv_mode

public int mv_split_mode

public int[] sub_mv_mode

public int intra_y_mode

public int intra_uv_mode

public VP8SubBlock[][] subBlocks




public void VP8MacroBlock (VP8Frame frame, int coordX, int coordY)

public void read (BoolReader ds, VP8FrameHeader header)