/third_party/ffmpeg/tests/checkasm/ |
D | h264pred.c | 143 int codec, int chroma_format, int bit_depth) in check_pred4x4() argument 145 if (chroma_format == 1) { in check_pred4x4() 164 int codec, int chroma_format, int bit_depth) in check_pred8x8() argument 170 if (check_pred_func(h->pred8x8[pred_mode], (chroma_format == 2) ? "8x16" : "8x8", in check_pred8x8() 183 int codec, int chroma_format, int bit_depth) in check_pred16x16() argument 185 if (chroma_format == 1) { in check_pred16x16() 203 int codec, int chroma_format, int bit_depth) in check_pred8x8l() argument 205 if (chroma_format == 1 && codec_ids[codec] == AV_CODEC_ID_H264) { in check_pred8x8l() 248 int test, codec, chroma_format, bit_depth; in checkasm_check_h264pred() local 254 …for (chroma_format = 1; chroma_format <= (codec_id == AV_CODEC_ID_H264 ? 2 : 1); chroma_format++) { in checkasm_check_h264pred() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_video_buffer.h | 53 enum pipe_video_chroma_format chroma_format, in vl_video_buffer_adjust_size() argument 60 if (chroma_format == PIPE_VIDEO_CHROMA_FORMAT_420) { in vl_video_buffer_adjust_size() 63 } else if (chroma_format == PIPE_VIDEO_CHROMA_FORMAT_422) { in vl_video_buffer_adjust_size() 123 enum pipe_video_chroma_format chroma_format); 140 enum pipe_video_chroma_format chroma_format);
|
D | vl_video_buffer.c | 173 enum pipe_video_chroma_format chroma_format) in vl_video_buffer_template() argument 192 chroma_format, false); in vl_video_buffer_template() 393 enum pipe_video_chroma_format chroma_format) in vl_video_buffer_create_ex() argument 404 usage, 0, chroma_format); in vl_video_buffer_create_ex() 415 usage, 1, chroma_format); in vl_video_buffer_create_ex() 424 usage, 2, chroma_format); in vl_video_buffer_create_ex()
|
D | vl_stubs.c | 89 enum pipe_video_chroma_format chroma_format) in vl_video_buffer_template() argument
|
/third_party/mesa3d/src/gallium/frontends/xvmc/ |
D | context.c | 47 bool *found_port, int *screen, int *chroma_format, in Validate() argument 62 assert(chroma_format); in Validate() 97 *chroma_format = surface_info[l].chroma_format; in Validate() 112 i, port, surface_type_id, max_width, max_height, *chroma_format, in Validate() 186 int chroma_format = 0; in XvMCCreateContext() local 206 &found_port, &scrn, &chroma_format, &mc_type, &surface_flags, in XvMCCreateContext() 214 if (chroma_format != XVMC_CHROMA_FORMAT_420) { in XvMCCreateContext() 252 templat.chroma_format = FormatToPipe(chroma_format); in XvMCCreateContext()
|
/third_party/ffmpeg/libavcodec/ |
D | dirac.c | 42 uint8_t chroma_format; ///< 0: 444 1: 422 2: 420 member 164 dsh->chroma_format = get_interleaved_ue_golomb(gb); in parse_source_parameters() 165 if (dsh->chroma_format > 2U) { in parse_source_parameters() 168 dsh->chroma_format); in parse_source_parameters() 272 dsh->pix_fmt = dirac_pix_fmt[dsh->chroma_format][dsh->pixel_range_index-2]; in parse_source_parameters() 364 dsh->chroma_format = dirac_source_parameters_defaults[video_format].chroma_format; in av_dirac_parse_sequence_header()
|
D | mpegvideo_xvmc.c | 67 const int mb_block_count = 4 + (1 << s->chroma_format); in ff_xvmc_pack_pblocks() 91 const int mb_block_count = 4 + (1 << s->chroma_format); in ff_xvmc_field_start() 289 if (s->chroma_format >= 2) { in ff_xvmc_decode_mb() 290 blocks_per_mb = 4 + (1 << s->chroma_format); in ff_xvmc_decode_mb()
|
D | mpegvideo_parser.c | 50 int chroma_format; in mpegvideo_extract_headers() local 97 chroma_format = (buf[1] >> 1) & 3; in mpegvideo_extract_headers() 98 switch (chroma_format) { in mpegvideo_extract_headers()
|
D | vaapi_encode_h265.c | 254 int chroma_format, bit_depth; in vaapi_encode_h265_init_sequence_params() local 265 chroma_format = 0; in vaapi_encode_h265_init_sequence_params() 268 chroma_format = 1; in vaapi_encode_h265_init_sequence_params() 270 chroma_format = 2; in vaapi_encode_h265_init_sequence_params() 272 chroma_format = 3; in vaapi_encode_h265_init_sequence_params() 302 if (chroma_format == 1) { in vaapi_encode_h265_init_sequence_params() 317 ptl->general_max_422chroma_constraint_flag = chroma_format <= 2; in vaapi_encode_h265_init_sequence_params() 318 ptl->general_max_420chroma_constraint_flag = chroma_format <= 1; in vaapi_encode_h265_init_sequence_params() 319 ptl->general_max_monochrome_constraint_flag = chroma_format == 0; in vaapi_encode_h265_init_sequence_params() 386 sps->chroma_format_idc = chroma_format; in vaapi_encode_h265_init_sequence_params()
|
D | mjpegenc.c | 240 switch (s->chroma_format) { in alloc_huffman() 476 if (s->chroma_format == CHROMA_444) { in ff_mjpeg_encode_mb() 496 if (s->chroma_format == CHROMA_420) { in ff_mjpeg_encode_mb() 505 if (s->chroma_format == CHROMA_444) { in ff_mjpeg_encode_mb() 525 if (s->chroma_format == CHROMA_420) { in ff_mjpeg_encode_mb()
|
D | dirac.h | 84 uint8_t chroma_format; ///< 0: 444 1: 422 2: 420 member
|
D | speedhqenc.c | 251 if (s->chroma_format == CHROMA_444) { in ff_speedhq_encode_mb() 260 } else if (s->chroma_format == CHROMA_422) { in ff_speedhq_encode_mb()
|
D | cuviddec.c | 90 cudaVideoChromaFormat chroma_format; member 161 chroma_444 = format->chroma_format == cudaVideoChromaFormat_444; in cuvid_handle_video_sequence() 251 && ctx->chroma_format == format->chroma_format in cuvid_handle_video_sequence() 278 ctx->chroma_format = format->chroma_format; in cuvid_handle_video_sequence() 281 cuinfo.ChromaFormat = format->chroma_format; in cuvid_handle_video_sequence()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_uvd.c | 69 enum pipe_video_chroma_format chroma_format = in r600_video_buffer_create() local 83 PIPE_USAGE_DEFAULT, 0, chroma_format); in r600_video_buffer_create() 93 PIPE_USAGE_DEFAULT, 1, chroma_format); in r600_video_buffer_create() 104 PIPE_USAGE_DEFAULT, 2, chroma_format); in r600_video_buffer_create()
|
D | radeon_uvd.h | 139 uint8_t chroma_format; member 189 uint8_t chroma_format; member 260 uint32_t chroma_format; member 274 uint8_t chroma_format; member
|
D | radeon_uvd.c | 410 switch (dec->base.chroma_format) { in get_h264_msg() 415 result.chroma_format = 0; in get_h264_msg() 418 result.chroma_format = 1; in get_h264_msg() 421 result.chroma_format = 2; in get_h264_msg() 424 result.chroma_format = 3; in get_h264_msg() 527 result.chroma_format = 1; in get_vc1_msg() 581 result.chroma_format = 0x1; in get_mpeg2_msg()
|
/third_party/mesa3d/src/gallium/frontends/xvmc/tests/ |
D | testlib.c | 48 unsigned int chroma_format, in GetPort() argument 81 surface_info[j].chroma_format == chroma_format && in GetPort()
|
D | testlib.h | 56 unsigned int chroma_format,
|
/third_party/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_uvd.h | 140 uint8_t chroma_format; member 190 uint8_t chroma_format; member 261 uint32_t chroma_format; member 275 uint8_t chroma_format; member
|
D | radeon_vcn_dec.h | 506 unsigned char chroma_format; member 557 unsigned int chroma_format; member 577 unsigned char chroma_format; member 688 unsigned char chroma_format; member 775 unsigned char chroma_format; member 880 unsigned char chroma_format; member
|
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/ |
D | gstvp9parse.c | 535 const gchar *chroma_format = NULL; in gst_vp9_parse_update_src_caps() local 637 chroma_format = "4:2:0"; in gst_vp9_parse_update_src_caps() 640 chroma_format = "4:2:2"; in gst_vp9_parse_update_src_caps() 643 chroma_format = "4:4:0"; in gst_vp9_parse_update_src_caps() 646 chroma_format = "4:4:4"; in gst_vp9_parse_update_src_caps() 648 if (chroma_format) in gst_vp9_parse_update_src_caps() 650 "chroma-format", G_TYPE_STRING, chroma_format, NULL); in gst_vp9_parse_update_src_caps()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_lower_ycbcr_textures.c | 88 enum pipe_video_chroma_format chroma_format = in implicit_downsampled_coords() local 90 const unsigned divisors[2] = {chroma_format <= PIPE_VIDEO_CHROMA_FORMAT_422 ? 2 : 1, in implicit_downsampled_coords() 91 chroma_format <= PIPE_VIDEO_CHROMA_FORMAT_420 ? 2 : 1}; in implicit_downsampled_coords()
|
/third_party/gstreamer/gstplugins_bad/sys/va/ |
D | gstvampeg2dec.c | 180 if (!seq_scalable_ext && (seq_ext && seq_ext->chroma_format == 1)) { in _get_profile() 196 _get_rtformat (GstVaMpeg2Dec * self, GstMpegVideoChromaFormat chroma_format) in _get_rtformat() argument 200 switch (chroma_format) { in _get_rtformat() 211 GST_ERROR_OBJECT (self, "Unsupported chroma format: %d ", chroma_format); in _get_rtformat() 252 seq_ext ? seq_ext->chroma_format : GST_MPEG_VIDEO_CHROMA_420); in gst_va_mpeg2_dec_new_sequence()
|
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/ |
D | gstv4l2codecmpeg2dec.c | 71 guint chroma_format; member 189 switch (self->chroma_format) { in get_pixel_bitdepth() 208 self->chroma_format); in get_pixel_bitdepth() 282 self->height, self->chroma_format)); in gst_v4l2_codec_mpeg2_dec_negotiate() 446 .chroma_format = seq_ext ? seq_ext->chroma_format : 0, in gst_v4l2_codec_mpeg2_dec_new_sequence()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_video_codec.h | 53 enum pipe_video_chroma_format chroma_format; member
|