Home
last modified time | relevance | path

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

123

/third_party/ffmpeg/tests/checkasm/
Dh264pred.c143 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/
Dvl_video_buffer.h53 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);
Dvl_video_buffer.c173 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()
Dvl_stubs.c89 enum pipe_video_chroma_format chroma_format) in vl_video_buffer_template() argument
/third_party/mesa3d/src/gallium/frontends/xvmc/
Dcontext.c47 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/
Ddirac.c42 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()
Dmpegvideo_xvmc.c67 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()
Dmpegvideo_parser.c50 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()
Dvaapi_encode_h265.c254 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()
Dmjpegenc.c240 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()
Ddirac.h84 uint8_t chroma_format; ///< 0: 444 1: 422 2: 420 member
Dspeedhqenc.c251 if (s->chroma_format == CHROMA_444) { in ff_speedhq_encode_mb()
260 } else if (s->chroma_format == CHROMA_422) { in ff_speedhq_encode_mb()
Dcuviddec.c90 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/
Dr600_uvd.c69 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()
Dradeon_uvd.h139 uint8_t chroma_format; member
189 uint8_t chroma_format; member
260 uint32_t chroma_format; member
274 uint8_t chroma_format; member
Dradeon_uvd.c410 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/
Dtestlib.c48 unsigned int chroma_format, in GetPort() argument
81 surface_info[j].chroma_format == chroma_format && in GetPort()
Dtestlib.h56 unsigned int chroma_format,
/third_party/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd.h140 uint8_t chroma_format; member
190 uint8_t chroma_format; member
261 uint32_t chroma_format; member
275 uint8_t chroma_format; member
Dradeon_vcn_dec.h506 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/
Dgstvp9parse.c535 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/
Dradv_nir_lower_ycbcr_textures.c88 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/
Dgstvampeg2dec.c180 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/
Dgstv4l2codecmpeg2dec.c71 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/
Dp_video_codec.h53 enum pipe_video_chroma_format chroma_format; member

123