Lines Matching defs:field
689 * @param field 0/1 initialize the weight for interlaced MBAFF
692 static void implicit_weight_table(const H264Context *h, H264SliceContext *sl, int field)
701 if (field < 0) {
717 cur_poc = h->cur_pic_ptr->field_poc[field];
743 if (field < 0) {
747 sl->pwt.implicit_weight[ref0][ref1][field] = w;
1225 /* Derive top_field_first from field pocs. */
1237 /* Default to top field first when pic_struct_present_flag
1537 * slice in a field (or a frame). It decides whether we are decoding a new frame
1538 * or a second field in a pair and does the necessary setup.
1593 /* See if we have a decoded first field looking for a pair...
1604 /* Mark old field/frame as completed */
1609 /* figure out if we have a complementary field pair */
1611 /* Previous field is unmatched. Don't display it, but let it
1619 /* This and previous field were reference, but had
1620 * different frame_nums. Consider this field first in
1621 * pair. Throw away previous field except for reference
1628 /* Second field in complementary pair */
1634 "Invalid field mode combination %d/%d\n",
1712 /* See if we have a decoded first field looking for a pair...
1720 /* figure out if we have a complementary field pair */
1722 /* Previous field is unmatched. Don't display it, but let it
1732 /* This and the previous field had different frame_nums.
1733 * Consider this field first in pair. Throw away previous
1744 /* Second field in complementary pair */
1749 /* Frame or first field in a potentially complementary pair */
1759 int field = h->picture_structure == PICT_BOTTOM_FIELD;
1761 h->cur_pic_ptr->tf.owner[field] = h->avctx;
1816 /* Set the frame properties/side data. Only done for the second field in
1817 * field coded frames, since some SEI information is present for each field
2212 if (sl->first_mb_addr == 0) { // FIXME better field boundary detection
2214 // this slice starts a new field
2292 "Changing field mode (%d -> %d) between slices is not allowed\n",