Home
last modified time | relevance | path

Searched refs:frame_header (Results 1 – 25 of 25) sorted by relevance

/external/webrtc/modules/video_coding/codecs/multiplex/
Dmultiplex_encoded_image_packer.cc70 MultiplexImageComponentHeader frame_header) { in PackFrameHeader() argument
73 buffer + offset, frame_header.next_component_header_offset); in PackFrameHeader()
77 frame_header.component_index); in PackFrameHeader()
81 frame_header.bitstream_offset); in PackFrameHeader()
85 frame_header.bitstream_length); in PackFrameHeader()
88 ByteWriter<uint8_t>::WriteBigEndian(buffer + offset, frame_header.codec_type); in PackFrameHeader()
92 buffer + offset, static_cast<uint8_t>(frame_header.frame_type)); in PackFrameHeader()
100 MultiplexImageComponentHeader frame_header; in UnpackFrameHeader() local
103 frame_header.next_component_header_offset = in UnpackFrameHeader()
107 frame_header.component_index = in UnpackFrameHeader()
[all …]
/external/libgav1/libgav1/src/
Ddecoder_impl.cc108 void SetSegmentationMap(const ObuFrameHeader& frame_header, in SetSegmentationMap() argument
111 if (!frame_header.segmentation.enabled) { in SetSegmentationMap()
114 } else if (!frame_header.segmentation.update_map) { in SetSegmentationMap()
128 const ObuFrameHeader& frame_header, in DecodeTilesNonFrameParallel() argument
137 for (int row4x4 = 0; row4x4 < frame_header.rows4x4; in DecodeTilesNonFrameParallel()
146 row4x4, block_width4x4, row4x4 + block_width4x4 >= frame_header.rows4x4, in DecodeTilesNonFrameParallel()
216 const ObuFrameHeader& frame_header, in DecodeTilesFrameParallel() argument
229 if (frame_header.enable_frame_end_update_cdf) { in DecodeTilesFrameParallel()
233 SetSegmentationMap(frame_header, prev_segment_ids, current_frame); in DecodeTilesFrameParallel()
244 for (int row4x4 = 0; row4x4 < frame_header.rows4x4; in DecodeTilesFrameParallel()
[all …]
Dbuffer_pool.cc64 bool RefCountedBuffer::SetFrameDimensions(const ObuFrameHeader& frame_header) { in SetFrameDimensions() argument
65 upscaled_width_ = frame_header.upscaled_width; in SetFrameDimensions()
66 frame_width_ = frame_header.width; in SetFrameDimensions()
67 frame_height_ = frame_header.height; in SetFrameDimensions()
68 render_width_ = frame_header.render_width; in SetFrameDimensions()
69 render_height_ = frame_header.render_height; in SetFrameDimensions()
70 rows4x4_ = frame_header.rows4x4; in SetFrameDimensions()
71 columns4x4_ = frame_header.columns4x4; in SetFrameDimensions()
72 if (frame_header.refresh_frame_flags != 0 && in SetFrameDimensions()
73 !IsIntraFrame(frame_header.frame_type)) { in SetFrameDimensions()
Dmotion_vector.cc39 void LowerMvPrecision(const ObuFrameHeader& frame_header, in LowerMvPrecision() argument
41 if (frame_header.allow_high_precision_mv) return; in LowerMvPrecision()
42 if (frame_header.force_integer_mv != 0) { in LowerMvPrecision()
63 const ObuFrameHeader& frame_header = block.tile.frame_header(); in SetupGlobalMv() local
65 const auto& gm = frame_header.global_motion[reference_type]; in SetupGlobalMv()
75 LowerMvPrecision(frame_header, mv); in SetupGlobalMv()
85 if (frame_header.allow_high_precision_mv) { in SetupGlobalMv()
95 LowerMvPrecision(frame_header, mv); in SetupGlobalMv()
112 block.tile.frame_header().global_motion; in SearchStack()
148 block.tile.frame_header().global_motion; in CompoundSearchStack()
[all …]
Dpost_filter.h76 PostFilter(const ObuFrameHeader& frame_header,
154 static bool DoCdef(const ObuFrameHeader& frame_header, in DoCdef() argument
156 return (frame_header.cdef.bits > 0 || in DoCdef()
157 frame_header.cdef.y_primary_strength[0] > 0 || in DoCdef()
158 frame_header.cdef.y_secondary_strength[0] > 0 || in DoCdef()
159 frame_header.cdef.uv_primary_strength[0] > 0 || in DoCdef()
160 frame_header.cdef.uv_secondary_strength[0] > 0) && in DoCdef()
166 static bool DoDeblock(const ObuFrameHeader& frame_header, in DoDeblock() argument
168 return (frame_header.loop_filter.level[0] > 0 || in DoDeblock()
169 frame_header.loop_filter.level[1] > 0) && in DoDeblock()
[all …]
Ddecoder_impl.h56 frame_header(obu->frame_header()), in EncodedFrame()
66 const ObuFrameHeader frame_header; member
194 const ObuFrameHeader& frame_header,
202 const ObuFrameHeader& frame_header,
216 bool MaybeInitializeQuantizerMatrix(const ObuFrameHeader& frame_header);
Dthreading_strategy.cc69 bool ThreadingStrategy::Reset(const ObuFrameHeader& frame_header, in Reset() argument
97 const int tile_count = frame_header.tile_info.tile_count; in Reset()
Dmotion_vector.h51 const ObuFrameHeader& frame_header, const RefCountedBuffer& current_frame,
Dthreading_strategy.h52 LIBGAV1_MUST_USE_RESULT bool Reset(const ObuFrameHeader& frame_header,
Dtile.h73 const ObuFrameHeader& frame_header, RefCountedBuffer* const current_frame, in Create() argument
83 tile_number, data, size, sequence_header, frame_header, current_frame, in Create()
119 const ObuFrameHeader& frame_header() const { return frame_header_; } in frame_header() function
243 const ObuFrameHeader& frame_header, RefCountedBuffer* current_frame,
Dbuffer_pool.h117 bool SetFrameDimensions(const ObuFrameHeader& frame_header);
Dobu_parser.h276 const ObuFrameHeader& frame_header() const { return frame_header_; } in frame_header() function
Dobu_parser.cc2665 const uint8_t* frame_header = nullptr; in ParseOneFrame() local
2745 frame_header = &data[obu_start_position >> 3]; in ParseOneFrame()
2760 memcmp(frame_header, &data[obu_start_position >> 3], fh_size) != in ParseOneFrame()
/external/libgav1/libgav1/src/post_filter/
Dpost_filter.cc141 PostFilter::PostFilter(const ObuFrameHeader& frame_header, in PostFilter() argument
146 : frame_header_(frame_header), in PostFilter()
147 loop_restoration_(frame_header.loop_restoration), in PostFilter()
150 num_64x64_blocks_per_row_(DivideBy64(frame_header.width + 63)), in PostFilter()
151 upscaled_width_(frame_header.upscaled_width), in PostFilter()
152 width_(frame_header.width), in PostFilter()
153 height_(frame_header.height), in PostFilter()
164 inner_thresh_(kInnerThresh[frame_header.loop_filter.sharpness]),
165 outer_thresh_(kOuterThresh[frame_header.loop_filter.sharpness]),
166 needs_chroma_deblock_(frame_header.loop_filter.level[kPlaneU + 1] != 0 ||
[all …]
Ddeblock.cc59 const ObuFrameHeader& frame_header, int segment_id, int level_index, in ComputeDeblockFilterLevelsHelper() argument
62 const int delta = delta_lf[frame_header.delta_lf.multi ? level_index : 0]; in ComputeDeblockFilterLevelsHelper()
63 uint8_t level = Clip3(frame_header.loop_filter.level[level_index] + delta, 0, in ComputeDeblockFilterLevelsHelper()
68 Clip3(level + frame_header.segmentation.feature_data[segment_id][feature], in ComputeDeblockFilterLevelsHelper()
70 if (!frame_header.loop_filter.delta_enabled) { in ComputeDeblockFilterLevelsHelper()
75 assert(frame_header.loop_filter.delta_enabled); in ComputeDeblockFilterLevelsHelper()
79 LeftShift(frame_header.loop_filter.ref_deltas[kReferenceFrameIntra], in ComputeDeblockFilterLevelsHelper()
89 LeftShift(frame_header.loop_filter.ref_deltas[reference_frame] + in ComputeDeblockFilterLevelsHelper()
90 frame_header.loop_filter.mode_deltas[mode_id], in ComputeDeblockFilterLevelsHelper()
/external/webrtc/modules/video_coding/utility/
Divf_file_writer.cc195 uint8_t frame_header[kFrameHeaderSize] = {}; in WriteOneSpatialLayer() local
196 ByteWriter<uint32_t>::WriteLittleEndian(&frame_header[0], in WriteOneSpatialLayer()
198 ByteWriter<uint64_t>::WriteLittleEndian(&frame_header[4], timestamp); in WriteOneSpatialLayer()
199 if (!file_.Write(frame_header, kFrameHeaderSize) || in WriteOneSpatialLayer()
Divf_file_writer_unittest.cc88 uint8_t frame_header[kFrameHeaderSize]; in VerifyDummyTestFrames() local
90 file->Read(frame_header, kFrameHeaderSize)); in VerifyDummyTestFrames()
92 ByteReader<uint32_t>::ReadLittleEndian(&frame_header[0]); in VerifyDummyTestFrames()
95 ByteReader<uint64_t>::ReadLittleEndian(&frame_header[4]); in VerifyDummyTestFrames()
/external/v4l2_codec2/tests/c2_e2e_test/jni/
Dcommon.cpp122 char frame_header[kIVFFrameHeaderSize]; in WriteFrame() local
123 memcpy(&frame_header[0], &data_size, sizeof(data_size)); in WriteFrame()
124 memcpy(&frame_header[4], &timestamp, sizeof(timestamp)); in WriteFrame()
125 output_file_->write(frame_header, kIVFFrameHeaderSize); in WriteFrame()
/external/webrtc/examples/objc/AppRTCMobile/third_party/SocketRocket/
DSRWebSocket.m70 } frame_header; typedef
890 - (void)_handleFrameHeader:(frame_header)frame_header curData:(NSData *)curData; argument
892 assert(frame_header.opcode != 0);
899 …BOOL isControlFrame = (frame_header.opcode == SROpCodePing || frame_header.opcode == SROpCodePong …
901 if (isControlFrame && !frame_header.fin) {
906 if (isControlFrame && frame_header.payload_length >= 126) {
912 _currentFrameOpcode = frame_header.opcode;
916 if (frame_header.payload_length == 0) {
918 [self _handleFrameWithData:curData opCode:frame_header.opcode];
920 if (frame_header.fin) {
[all …]
/external/flac/src/libFLAC/
Dstream_encoder.c150 const FLAC__FrameHeader *frame_header,
3143 FLAC__FrameHeader frame_header; in process_subframes_() local
3162 frame_header.blocksize = encoder->protected_->blocksize; in process_subframes_()
3163 frame_header.sample_rate = encoder->protected_->sample_rate; in process_subframes_()
3164 frame_header.channels = encoder->protected_->channels; in process_subframes_()
3165frame_header.channel_assignment = FLAC__CHANNEL_ASSIGNMENT_INDEPENDENT; /* the default unless the … in process_subframes_()
3166 frame_header.bits_per_sample = encoder->protected_->bits_per_sample; in process_subframes_()
3167 frame_header.number_type = FLAC__FRAME_NUMBER_TYPE_FRAME_NUMBER; in process_subframes_()
3168 frame_header.number.frame_number = encoder->private_->current_frame_number; in process_subframes_()
3231 &frame_header, in process_subframes_()
[all …]
/external/libgav1/libgav1/src/tile/
Dtile.cc372 block.tile.frame_header().rows4x4 - block.height4x4 - block.row4x4; in GetClampParameters()
375 block.tile.frame_header().columns4x4 - block.width4x4 - block.column4x4; in GetClampParameters()
418 const ObuFrameHeader& frame_header, in Tile() argument
430 row_(number_ / frame_header.tile_info.tile_columns), in Tile()
431 column_(number_ % frame_header.tile_info.tile_columns), in Tile()
439 current_quantizer_index_(frame_header.quantizer.base_index),
441 frame_header_(frame_header),
478 row4x4_start_ = frame_header.tile_info.tile_row_start[row_];
479 row4x4_end_ = frame_header.tile_info.tile_row_start[row_ + 1];
480 column4x4_start_ = frame_header.tile_info.tile_column_start[column_];
[all …]
/external/grpc-grpc/src/core/tsi/
Dfake_transport_security.cc267 unsigned char frame_header[TSI_FAKE_FRAME_HEADER_SIZE]; in fake_protector_protect() local
296 frame_header); in fake_protector_protect()
298 result = tsi_fake_frame_decode(frame_header, &written_in_frame_size, frame); in fake_protector_protect()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/
Dfake_transport_security.cc263 unsigned char frame_header[TSI_FAKE_FRAME_HEADER_SIZE]; in fake_protector_protect() local
292 frame_header); in fake_protector_protect()
294 result = tsi_fake_frame_decode(frame_header, &written_in_frame_size, frame); in fake_protector_protect()
/external/libaom/libaom/av1/encoder/
Dbitstream.c3439 uint8_t *frame_header; member
3715 memcpy(data, fh_info->frame_header, fh_info->total_length); in write_tiles_in_tg_obus()
3891 fh_info.frame_header = data; in av1_pack_bitstream()
/external/zstd/doc/
Dzstd_compression_format.md126 2 to 14 Bytes, detailed in [`Frame_Header`](#frame_header).