Home
last modified time | relevance | path

Searched refs:fhdr (Results 1 – 16 of 16) sorted by relevance

/external/v4l2_codec2/vda/
Dvp9_uncompressed_header_parser.cc648 bool Vp9UncompressedHeaderParser::ReadColorConfig(Vp9FrameHeader* fhdr) { in ReadColorConfig() argument
649 if (fhdr->profile == 2 || fhdr->profile == 3) { in ReadColorConfig()
650 fhdr->bit_depth = reader_.ReadBool() ? 12 : 10; in ReadColorConfig()
652 fhdr->bit_depth = 8; in ReadColorConfig()
655 fhdr->color_space = static_cast<Vp9ColorSpace>(reader_.ReadLiteral(3)); in ReadColorConfig()
656 if (fhdr->color_space != Vp9ColorSpace::SRGB) { in ReadColorConfig()
657 fhdr->color_range = reader_.ReadBool(); in ReadColorConfig()
658 if (fhdr->profile == 1 || fhdr->profile == 3) { in ReadColorConfig()
659 fhdr->subsampling_x = reader_.ReadBool() ? 1 : 0; in ReadColorConfig()
660 fhdr->subsampling_y = reader_.ReadBool() ? 1 : 0; in ReadColorConfig()
[all …]
Dvp8_parser.cc60 Vp8FrameHeader* fhdr) { in ParseFrame() argument
64 memset(fhdr, 0, sizeof(*fhdr)); in ParseFrame()
65 fhdr->data = stream_; in ParseFrame()
66 fhdr->frame_size = bytes_left_; in ParseFrame()
68 if (!ParseFrameTag(fhdr)) in ParseFrame()
71 fhdr->first_part_offset = stream_ - fhdr->data; in ParseFrame()
73 if (!ParseFrameHeader(fhdr)) in ParseFrame()
76 if (!ParsePartitions(fhdr)) in ParseFrame()
81 << ", offsets: to first_part=" << fhdr->first_part_offset in ParseFrame()
82 << ", to macroblock data (in bits)=" << fhdr->macroblock_bit_offset; in ParseFrame()
[all …]
Dvp9_compressed_header_parser.cc66 void Vp9CompressedHeaderParser::ReadTxMode(Vp9FrameHeader* fhdr) { in ReadTxMode() argument
68 if (fhdr->quant_params.IsLossless()) { in ReadTxMode()
75 fhdr->compressed_header.tx_mode = in ReadTxMode()
125 void Vp9CompressedHeaderParser::ReadCoefProbs(Vp9FrameHeader* fhdr) { in ReadCoefProbs() argument
130 tx_mode_to_biggest_tx_size[fhdr->compressed_header.tx_mode]; in ReadCoefProbs()
135 for (auto& ai : fhdr->frame_context.coef_probs[tx_size]) { in ReadCoefProbs()
174 void Vp9CompressedHeaderParser::ReadFrameReferenceMode(Vp9FrameHeader* fhdr) { in ReadFrameReferenceMode() argument
177 if (fhdr->ref_frame_sign_bias[i] != fhdr->ref_frame_sign_bias[1]) in ReadFrameReferenceMode()
181 fhdr->compressed_header.reference_mode = in ReadFrameReferenceMode()
184 fhdr->compressed_header.reference_mode = SINGLE_REFERENCE; in ReadFrameReferenceMode()
[all …]
Dvp9_uncompressed_header_parser.h20 bool Parse(const uint8_t* stream, off_t frame_size, Vp9FrameHeader* fhdr);
25 bool ReadColorConfig(Vp9FrameHeader* fhdr);
26 void ReadFrameSize(Vp9FrameHeader* fhdr);
27 bool ReadFrameSizeFromRefs(Vp9FrameHeader* fhdr);
28 void ReadRenderSize(Vp9FrameHeader* fhdr);
31 void SetupPastIndependence(Vp9FrameHeader* fhdr);
37 bool ReadTileInfo(Vp9FrameHeader* fhdr);
Dvp9_compressed_header_parser.h20 bool Parse(const uint8_t* stream, off_t frame_size, Vp9FrameHeader* fhdr);
23 void ReadTxMode(Vp9FrameHeader* fhdr);
29 void ReadCoefProbs(Vp9FrameHeader* fhdr);
34 void ReadFrameReferenceMode(Vp9FrameHeader* fhdr);
35 void ReadFrameReferenceModeProbs(Vp9FrameHeader* fhdr);
Dvp8_parser.h167 bool ParseFrame(const uint8_t* ptr, size_t size, Vp8FrameHeader* fhdr);
170 bool ParseFrameTag(Vp8FrameHeader* fhdr);
171 bool ParseFrameHeader(Vp8FrameHeader* fhdr);
181 bool ParsePartitions(Vp8FrameHeader* fhdr);
Dvp9_parser.cc355 Vp9FrameHeader* fhdr, in ParseUncompressedHeader() argument
377 *fhdr = curr_frame_header_; in ParseUncompressedHeader()
440 Vp9Parser::Result Vp9Parser::ParseNextFrame(Vp9FrameHeader* fhdr) { in ParseNextFrame() argument
441 DCHECK(fhdr); in ParseNextFrame()
470 if (ParseUncompressedHeader(frame_info, fhdr, &result)) in ParseNextFrame()
486 *fhdr = curr_frame_header_; in ParseNextFrame()
Dvp9_parser.h378 Result ParseNextFrame(Vp9FrameHeader* fhdr);
413 Vp9FrameHeader* fhdr,
/external/tcpdump/
Dprint-forces.c389 #define GET_TOP_TLV(fhdr) ((const struct forces_tlv *)((fhdr) + sizeof (struct forcesh))) argument
1587 register const u_char * pptr, const struct forcesh *fhdr _U_, in forces_type_print()
1679 const struct forcesh *fhdr; in forces_print() local
1685 fhdr = (const struct forcesh *)pptr; in forces_print()
1686 ND_TCHECK(*fhdr); in forces_print()
1687 if (!tom_valid(fhdr->fm_tom)) { in forces_print()
1688 ND_PRINT((ndo, "Invalid ForCES message type %d\n", fhdr->fm_tom)); in forces_print()
1692 mlen = ForCES_BLN(fhdr); in forces_print()
1694 tops = get_forces_tom(fhdr->fm_tom); in forces_print()
1696 ND_PRINT((ndo, "\n\tUnknown ForCES message type=0x%x", fhdr->fm_tom)); in forces_print()
[all …]
/external/vboot_reference/utility/
Dimage_types.c60 const FontArrayHeader *fhdr = buf; in identify_image_type() local
61 if (0 == memcmp(&fhdr->signature, FONT_SIGNATURE, FONT_SIGNATURE_SIZE) && in identify_image_type()
62 fhdr->num_entries > 0) { in identify_image_type()
/external/u-boot/tools/
Dimximage.c115 flash_header_v1_t *fhdr_v1 = &hdr_v1->fhdr; in detect_imximage_version()
116 flash_header_v2_t *fhdr_v2 = &hdr_v2->fhdr; in detect_imximage_version()
303 flash_header_v1_t *fhdr_v1 = &hdr_v1->fhdr; in set_imx_hdr_v1()
329 flash_header_v2_t *fhdr_v2 = &hdr_v2->fhdr; in set_imx_hdr_v2()
400 next_fhdr_v2 = &next_hdr_v2->fhdr; in set_imx_hdr_v2()
454 flash_header_v1_t *fhdr_v1 = &hdr_v1->fhdr; in print_hdr_v1()
482 flash_header_v2_t *fhdr_v2 = &hdr_v2->fhdr; in print_hdr_v2()
540 next_fhdr_v2 = &next_hdr_v2->fhdr; in print_hdr_v2()
/external/python/cpython2/PC/bdist_wininst/
Dextract.c231 struct fhdr *pfhdr; in unzip_archive()
234 pfhdr = (struct fhdr *)&data[pcdir->ofs_local_header + in unzip_archive()
247 + sizeof(struct fhdr) in unzip_archive()
Darchive.h47 struct fhdr { struct
/external/python/cpython3/PC/bdist_wininst/
Dextract.c230 struct fhdr *pfhdr; in unzip_archive()
233 pfhdr = (struct fhdr *)&data[pcdir->ofs_local_header + in unzip_archive()
246 + sizeof(struct fhdr) in unzip_archive()
Darchive.h46 struct fhdr { struct
/external/u-boot/include/
Dimximage.h121 flash_header_v1_t fhdr; member
172 flash_header_v2_t fhdr; member