Home
last modified time | relevance | path

Searched refs:chroma_format_idc (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dh264_sps_parser.cc76 uint32_t chroma_format_idc = 1; in Parse() local
95 RETURN_FALSE_ON_FAIL(parser.ReadExponentialGolomb(&chroma_format_idc)); in Parse()
96 if (chroma_format_idc == 3) { in Parse()
113 if (chroma_format_idc != 3) { in Parse()
208 if (separate_colour_plane_flag || chroma_format_idc == 0) { in Parse()
211 } else if (!separate_colour_plane_flag && chroma_format_idc > 0) { in Parse()
213 if (chroma_format_idc == 1 || chroma_format_idc == 2) { in Parse()
218 if (chroma_format_idc == 1) { in Parse()
Dh264_bitstream_parser.cc132 uint32_t chroma_format_idc; in ParseSpsNalu() local
133 RETURN_FALSE_ON_FAIL(sps_parser.ReadExponentialGolomb(&chroma_format_idc)); in ParseSpsNalu()
134 if (chroma_format_idc == 3) { in ParseSpsNalu()
153 if (chroma_format_idc != 3) { in ParseSpsNalu()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
DSeqParameterSet.java46 public ChromaFormat chroma_format_idc; field in SeqParameterSet
96 sps.chroma_format_idc = ChromaFormat.fromId(reader in read()
98 if (sps.chroma_format_idc == ChromaFormat.YUV_444) { in read()
114 sps.chroma_format_idc = ChromaFormat.YUV_420; in read()
324 writer.writeUE(chroma_format_idc.getId(), "SPS: chroma_format_idc"); in write()
325 if (chroma_format_idc == ChromaFormat.YUV_444) { in write()
524 ", \n chroma_format_idc=" + chroma_format_idc + in toString()
/external/mesa3d/src/gallium/frontends/va/
Dpicture_hevc_enc.c145 context->desc.h265enc.seq.chroma_format_idc = h265->seq_fields.bits.chroma_format_idc; in vlVaHandleVAEncSequenceParameterBufferTypeHEVC()
264 context->desc.h265enc.seq.chroma_format_idc = vl_rbsp_ue(rbsp); in parseEncSpsParamsH265()
265 if (context->desc.h265enc.seq.chroma_format_idc == 3) in parseEncSpsParamsH265()
Dpicture_hevc.c37 context->desc.h265.pps->sps->chroma_format_idc = hevc->pic_fields.bits.chroma_format_idc; in vlVaHandlePictureParameterBufferHEVC()
/external/v4l2_codec2/accel/
Dh264_parser.cc151 int sub_width_c = chroma_format_idc > 2 ? 1 : 2; in GetVisibleRect()
152 int sub_height_c = chroma_format_idc > 1 ? 1 : 2; in GetVisibleRect()
814 for (int i = 0; i < ((sps->chroma_format_idc != 3) ? 2 : 6); ++i) { in ParseSPSScalingLists()
868 for (int i = 0; i < ((sps.chroma_format_idc != 3) ? 2 : 6); ++i) { in ParsePPSScalingLists()
1039 READ_UE_OR_RETURN(&sps->chroma_format_idc); in ParseSPS()
1040 TRUE_OR_RETURN(sps->chroma_format_idc < 4); in ParseSPS()
1042 if (sps->chroma_format_idc == 3) in ParseSPS()
1063 sps->chroma_format_idc = 1; in ParseSPS()
1070 sps->chroma_array_type = sps->chroma_format_idc; in ParseSPS()
Dh264_parser.h139 int chroma_format_idc; member
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DH264TrackImpl.java114 avcConfigurationBox.setChromaFormat(seqParameterSet.chroma_format_idc.getId()); in parse()
184 chromaArrayType = seqParameterSet.chroma_format_idc.getId(); in readVariables()
189 cropUnitX = seqParameterSet.chroma_format_idc.getSubWidth(); in readVariables()
190 cropUnitY = seqParameterSet.chroma_format_idc.getSubHeight() * mult; in readVariables()
/external/mesa3d/src/gallium/frontends/omx/
Dvid_dec_h264_common.c245 sps->chroma_format_idc = vl_rbsp_ue(rbsp); in seq_parameter_set()
247 if (sps->chroma_format_idc == 3) in seq_parameter_set()
269 if (sps->chroma_format_idc == 3) { in seq_parameter_set()
277 sps->chroma_format_idc = 0; in seq_parameter_set()
279 sps->chroma_format_idc = 1; in seq_parameter_set()
472 if (sps->chroma_format_idc == 3) { in picture_parameter_set()
532 unsigned ChromaArrayType = sps->separate_colour_plane_flag ? 0 : sps->chroma_format_idc; in pred_weight_table()
/external/mesa3d/src/gallium/include/pipe/
Dp_video_state.h297 uint8_t chroma_format_idc; member
448 uint32_t chroma_format_idc; member
528 uint8_t chroma_format_idc; member
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv84_video_bsp.c27 uint32_t chroma_format_idc; // 00 member
141 params.iseqparm.chroma_format_idc = 1; in nv84_decoder_bsp()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd_enc.c83 enc->enc_pic.chroma_format_idc = pic->seq.chroma_format_idc; in radeon_uvd_enc_get_param()
Dradeon_uvd_enc.h348 unsigned chroma_format_idc; member
Dradeon_vcn_enc.c129 enc->enc_pic.chroma_format_idc = pic->seq.chroma_format_idc; in radeon_vcn_enc_get_param()
Dradeon_vcn_enc.h426 unsigned chroma_format_idc; member
Dradeon_vcn_enc_2_0.c142 radeon_enc_code_ue(enc, enc->enc_pic.chroma_format_idc); in radeon_enc_nalu_sps_hevc()
Dradeon_uvd_enc_1_1.c423 radeon_uvd_enc_code_ue(enc, enc->enc_pic.chroma_format_idc); in radeon_uvd_enc_nalu_sps_hevc()
Dradeon_vcn_enc_1_2.c396 radeon_enc_code_ue(enc, enc->enc_pic.chroma_format_idc); in radeon_enc_nalu_sps_hevc()
Dradeon_uvd.c609 result.chroma_format = pic->pps->sps->chroma_format_idc; in get_h265_msg()
Dradeon_vcn_dec.c198 result.chroma_format = pic->pps->sps->chroma_format_idc; in get_h265_msg()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video_vp.c131 unsigned chroma_format_idc : 2; // 31 4..5 member
346 h->chroma_format_idc = 1; in nouveau_vp3_fill_picparm_h264_vp()
/external/mesa3d/src/gallium/frontends/vdpau/
Ddecode.c422 picture->pps->sps->chroma_format_idc = picture_info->chroma_format_idc; in vlVdpDecoderRenderH265()
/external/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_dec_h265.c432 sps->chroma_format_idc = vl_rbsp_ue(rbsp); in seq_parameter_set()
434 if (sps->chroma_format_idc == 3) in seq_parameter_set()