Lines Matching defs:fragment

294      * numbers corresponds to the fragment indexes 0..15 of the superblock.
469 * This function unpacks all of the superblock/macroblock/fragment coding
557 * unpacking fragment codings */
586 /* if the fragment is in bounds, check its coding status */
604 /* if the fragment is in bounds, check its coding status */
610 /* fragment may or may not be coded; this is the case
611 * that cares about the fragment coding runs */
627 /* not coded; copy this fragment from the prior frame */
700 int plane, i, j, k, fragment;
774 fragment = s->fragment_start[plane] + BLOCK_Y * fragment_width + BLOCK_X;
778 s->all_fragments[fragment].coding_method = coded ? MODE_INTER_NO_MV : MODE_COPY;
982 * Y fragment, then average for the C fragment vectors */
1180 * left in the current fragment range, 3 would be returned so that it could
1250 // Save DC into the fragment structure. DC prediction is
1410 int plane, int eob_tracker[64], int fragment)
1444 s->all_fragments[fragment].dc = coeff;
1605 int fragment, dc_block_type;
1610 fragment = s->fragment_start[plane] + y * s->fragment_width[!!plane] + x;
1612 if (s->all_fragments[fragment].coding_method == MODE_COPY)
1615 if (vp4_unpack_vlcs(s, gb, tables[!!plane], plane, eob_tracker, fragment) < 0)
1618 dc_block_type = vp4_pred_block_type_map[s->all_fragments[fragment].coding_method];
1620 s->all_fragments[fragment].dc +=
1624 this_dc_pred->dc = last_dc[dc_block_type] = s->all_fragments[fragment].dc;
1638 * This function reverses the DC prediction for each coded fragment in
1725 /* for each fragment row... */
1727 /* for each fragment in a row... */
1804 int fragment = s->fragment_start[plane] + ystart * width;
1817 if (s->all_fragments[fragment].coding_method != MODE_COPY) {
1833 * fragments or if right fragment neighbor is also coded
1836 (s->all_fragments[fragment + 1].coding_method == MODE_COPY)) {
1843 * fragments or if bottom fragment neighbor is also coded
1846 (s->all_fragments[fragment + width].coding_method == MODE_COPY)) {
1853 fragment++;
1900 // the actual DC+prediction is in the fragment structure
1947 * Wait for the reference frame of the current fragment.
1950 static void await_reference_row(Vp3DecodeContext *s, Vp3Fragment *fragment,
1957 if (fragment->coding_method == MODE_USING_GOLDEN ||
1958 fragment->coding_method == MODE_GOLDEN_MV)
2074 int x, y, i, j, fragment;
2121 fragment = y * fragment_width + x;
2123 i = fragment_start + fragment;
2134 motion_val[fragment][1],
2148 /* sort out the motion vector if this fragment is coded
2154 motion_x = motion_val[fragment][0];
2155 motion_y = motion_val[fragment][1];
2177 if (vp4_mc_loop_filter(s, plane, motion_val[fragment][0], motion_val[fragment][1], x, y, motion_source, stride, src_x, src_y, temp)) {
2409 /* fragment count covers all 8x8 blocks for all 3 planes */